Aptitude Reasoning English GK Computer Knowledge Programming Skill Banking Software Testing



Question - 1

What is the file format of Terraform code files?

  • JSON
  • XML
  • YAML
  • HTML
Solutions
Question - 2

Which of the following files are processed by terraforming?

  • .tf and .tf.json
  • .tf only
  • .tm only
  • all text files
Solutions
Question - 3

_______ files are processed last.

  • xml
  • git
  • override
  • json
Solutions
Question - 4

Terraform is a ____________ language.

  • Objective
  • Declarative
  • Functional
  • Descriptive
Solutions
Question - 5

Command to delete all the cloud resources built by previous terraform apply commands.

  • terraform delete
  • terraform destroy
  • terraform remove
  • terraform undo
Solutions
Question - 6

Terraform is licensed under_____________.

  • Mozilla Public License v2.0
  • GPL
  • Apache License 2.0
  • Opensource
Solutions
Question - 7

What is the name of the terraform state file?

  • terraform.firststate
  • terraform.tfstate
  • Both A and B
  • None of these
Solutions
Question - 8

You configure Multiple Provider Instances with the help of _______.

  • method
  • version
  • alias
  • All of the above
Solutions
Question - 9

Terraform is written in ________.

  • Angular
  • C/C++
  • Go Programming
  • Python
Solutions
Question - 10

Terraform is developed by ______.

  • Adobe
  • HashiCorp
  • Google
  • Amazon
Solutions
Question - 11

What environment variable lets Terraform know it's running in an automation context?

  • TF_AUTO_YES
  • TF_IN_AUTOMATION
  • TF_AUTOMATION
  • TF_AUTOMATION_TRUE
Solutions
Question - 12

Which option tells Terraform to use a local directory for plugins?

  • -plugin-dir=
  • -plugin-local=
  • -plugin-source=
  • -init-dir=
Solutions
Question - 13

Why would you use the option "-input=false" when running terraform init?

  • It disables the use of variable files for input.
  • It ensures that Terraform only generates output.
  • It prevents Terraform from import files.
  • It prevents Terraform from prompting the user for input.
Solutions
Question - 14

Where can you find official modules to use with Terraform?

  • You have to request them from Hashicorp
  • On the provider’s website
  • On the Terraform module repository
  • You must create your own
Solutions
Question - 15

What command must be run to configure the backend in Terraform?

  • terraform fmt
  • terraform plan
  • terraform init
  • terraform backend
Solutions
Question - 16

which of the following isn't indicative of anything in the output of terraform plan?

  • + to show what will be added
  • = to show what will remain unchanged
  • - to show what will be removed
  • ~ to show what will be modified
Solutions
Question - 17

What is releasing year of Terraform?

  • July 28, 2014
  • March 15, 2010
  • July 24, 2013
  • May 17, 2011
Solutions
Question - 18

Terraform is a__________.

  • IaaS
  • PaaS
  • IAC
  • Saas
Solutions
Question - 19

Two things you need to connect to your AWS infrastructure using Terraform code (in terms of credentials):

  • Secret access key only
  • Access key ID only
  • Access key ID and Secret access key
  • Access key ID, Secret access key and root username
Solutions
Question - 20

Which is easier to code?

  • Cloudformation
  • Terraform
  • Both A and B
  • None of these
Solutions
Tags:
Terraform MCQ (Multiple Choice Questions), Advanced Terraform MCQ, Terraform MCQ Online test,Terraform MCQ Questions and answers PDF, Terraform Interview Questions With Answers, Terraform Technical Questions with full explanation