Terraform MCQ

Terraform MCQ

  • Sharad Jaiswal
  • 25th Nov, 2021

We have listed here the best Terraform MCQ Questions for your basic knowledge of Terraform. The test contains 25 Terraform MCQ questions with answers. You have to select the right answer to Terraform MCQ with answers.

Terraform MCQ Questions

1) What is the file format of Terraform code files?

  • A. JSON
  • B.XML
  • C.YAML
  • D.HTML

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

  • A. Access key ID, Secret access key and root username
  • B.Access key ID and Secret access key
  • C.Access key ID only
  • D.Secret access key only

3) Resource names in Terraform are provider specific.

  • A. True
  • B.False

4) Which is easier to code?

  • A. Terraform
  • B.Cloudformation
  • C.Both 1 and 2
  • D.None of these

5) Which of the following files are processed by terraform?

  • A. .tf and .tf.json
  • B..tf only
  • C..tm only
  • D.all text files

6) _______ files are processed last.

  • A. xml
  • B.git
  • C.override
  • D.json

7) Terraform is a ___________ language.

  • A. Objective
  • B.Declarative
  • C.Descriptive
  • D.Functional

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

  • A. True
  • B.False

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

  • A. terraform undo
  • B.terraform remove
  • C.terraform destroy
  • D.terraform delete

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

  • A. + to show what will be added
  • B.= to show what will remain unchanged
  • C.- to show what will be removed
  • D.~ to show what will be modified

11) What is releasing year of terraform?

  • A. July 28, 2014
  • B.May 16, 2011
  • C.March 15, 2010
  • D.July 24, 2013

12) Terraform is a

  • A. IAC
  • B.PaaS
  • C.IaaS
  • D.SaaS

13) Terraform is developed by

  • A. Google
  • B.Amazon
  • C.HashiCorp
  • D.Adobe

14) Terraform is written in

  • A. Go Progrmming
  • B.Angular
  • C.C Programming
  • D.Java Programming

15) Terraform is Licensed under

  • A. Opensource
  • B.Mozilla Public License v2.0
  • C.Apache License 2.0
  • D.GPL

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.