Terraform MCQs

Terraform MCQs

These Terraform multiple-choice questions and their answers will help you strengthen your grip on the subject of Terraform. You can prepare for an upcoming exam or job interview with these 20 Terraform MCQs.
So scroll down and start answering.

1: Terraform is a .............

A.   Code Software

B.   Text Editor

C.   Programming Language

D.   Photo Editor

2: Terraform is developed by ..............

A.   Google

B.   Microsoft

C.   HashiCorp

D.   None of above

3: Terraform was first released in ............

A.   2013

B.   2014

C.   2015

D.   2018

4: Terraform is written in which language ..................

A.   Java

B.   Python

C.   Perl

D.   Go

5: The Terraform supports which of the following operating system?

A.   Linux

B.   MacOs

C.   Windows

D.   All of the Above

6: The latest version of terraform is ..............

A.   0.14.6

B.   0.14.7

C.   0.14.8

D.   0.14.10

7: Terraform supports a number of cloud infrastructure providers such as ................

A.   Amazon web services

B.   IBM Cloud

C.   Microsoft Azure

D.   All of the Above

8: Terraform has ............ major commands.

A.   2

B.   3

C.   4

D.   6

9: Terraform uses declarative configuration to describe the desired final state.

A.   True

B.   False

10: Does Terraform codify cloud APIs into declarative configuration files.

A.   Yes

B.   No

11: The Terraform language is Terraform's ............... user interface.

A.   Primary

B.   Secondry

C.   Both Primary & Secondry

D.   None of above

12: The Terraform language supports .............. syntaxe for comments.

A.   #

B.   //

C.   /*

D.   All of the Above

13: Terraform configuration files must always be UTF-8 encoded.

A.   True

B.   False

14: Code in the Terraform language is stored in plain text files with the ........... file extension

A.   .tf

B.   .py

C.   .hcl

D.   None of above

15: Terraform relies on plugins called ........... to interact with remote systems.

A.   Sliders

B.   Providers

C.   Modules

D.   None of above

16: Can the Terraform Module Versions be locked anyhow?

A.   Yes

B.   No

17: Is Terraform cloud-agostic?

A.   Yes

B.   No

18: What is the command to create infrastructure?

A.   Terraform plan

B.   Terraform apply

C.   Terraform show

D.   None of above

19: Terraform supports both cloud and on-premises infrastructure platforms. Is this true?

A.   True

B.   False

20: Does Terraform continue if state locking fails?

A.   Yes

B.   No

21: Terraform is a tool for .................. infrastructure safely and efficiently.

A.   Building

B.   Changing

C.   Versioning

D.   All of the above