Terraform MCQ For Freshers & Experienced

  • Question 1) What is the file format of Terraform code files?
  • Question 2) Two things you need to connect to your AWS infrastructure using Terraform code (in terms of credentials)
  • Question 3) Resource names in Terraform are provider specific.
  • Question 4) Which is easier to code?
  • Question 5) Which of the following files are processed by terraform?
  • Question 6) _______ files are processed last.
  • Question 7) Terraform is a ___________ language.
  • Question 8) Terraform works based on master-less and agent-less architectural design.
  • Question 9) Command to delete all the cloud resources built by previous terraform apply commands.
  • Question 10) which of the following isn't indicative of anything in the output of terraform plan?
  • Question 11) What is releasing year of terraform?
  • Question 12) Terraform is a
  • Question 13) Terraform is developed by
  • Sharad Jaiswal
  • 12th Mar, 2020
  • 591 Followers

Terraform MCQ
Updated ON

12th Mar, 2020

No. of Questions

15

Posted In

MCQ

Author

Sharad Jaiswal

Q1. What is the file format of Terraform code files?

  • JSON
  • XML
  • YAML
  • HTML
View Answer
File format of Terraform code files is YAML.

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

  • Access key ID, Secret access key and root username
  • Access key ID and Secret access key
  • Access key ID only
  • Secret access key only
View Answer
Secret access key only

Q3. Resource names in Terraform are provider specific.

  • True
  • False
View Answer
False, resource names in Terraform aren't provider specific.

Q4. Which is easier to code?

  • Terraform
  • Cloudformation
  • Both 1 and 2
  • None of these
View Answer
Terraform is easier to code.

Q5. Which of the following files are processed by terraform?

  • .tf and .tf.json
  • .tf only
  • .tm only
  • all text files
View Answer
.tf and .tf.json

Q6. _______ files are processed last.

  • xml
  • git
  • override
  • json
View Answer
override files are processed last.

Q7. Terraform is a ___________ language.

  • Objective
  • Declarative
  • Descriptive
  • Functional
View Answer
Terraform is a functional language.

Q8. Terraform works based on master-less and agent-less architectural design.

  • True
  • False
View Answer
True, terraform works based on master-less and agent-less architectural design.

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

  • terraform undo
  • terraform remove
  • terraform destroy
  • terraform delete
View Answer
terraform remove

Q10. 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
View Answer
+ to show what will be added isn't indicative of anything in the output of terraform plan.

Q11. What is releasing year of terraform?

  • July 28, 2014
  • May 16, 2011
  • March 15, 2010
  • July 24, 2013
View Answer
July 28, 2014 is the releasing year of terraform.

Q12. Terraform is a

  • IAC
  • PaaS
  • IaaS
  • SaaS
View Answer
Terraform is a IAC.

Q13. Terraform is developed by

  • Google
  • Amazon
  • HashiCorp
  • Adobe
View Answer
Terraform is developed by HashiCorp.

Q14. Terraform is written in

  • Go Progrmming
  • Angular
  • C Programming
  • Java Programming
View Answer
Terraform is written in Go programming.

Q15. Terraform is Licensed under

  • Opensource
  • Mozilla Public License v2.0
  • Apache License 2.0
  • GPL
View Answer
Mozilla Public License v2.0.

About Author :

  • Author of Terraform MCQ

    Sharad Jaiswal

    Sharad Jaiswal is Sr. Web Developer from Noida area. He have rich experience in PHP, Angular Js, React, javascript and Node .If you any query or project on these programming you can drop your enquiry in comment section.

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.