Search Header Logo

Terraform

Authored by Sharique Kamal

Professional Development

Professional Development

Used 17+ times

Terraform
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is NOT a Terraform command?

plan

destroy

remove

init

apply

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are not examples of Providers in Terraform?

AWS

Heroku

Puppet

DigitalOcean

remote-exec

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Benefits of using an Infrastructure as Code software are....

Version Control of your Infrastructure

Automatic Deployment and Documentation

Consistent Environments

Reusability

All of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select among the below which applies the most with respect to typical Terraform workflow:

Plan ->  Init   -> Apply  -> Destroy

Init ->  Apply -> Plan  -> Destroy

Init ->  Plan   -> Apply  -> Destroy

None of the above

All of the above

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following options are true in context of comparison between Terraform & CloudFormation?

CloudFormation is typically used to provision resources in AWS, however Terraform supports almost all the major Cloud and non-cloud vendors via “providers”.

CloudFormation supports Windows and as well as Unix based platform however Terraform only supports Linux and Unix Platform.

CloudFormation Templates are written either in JSON or YAML syntax. Whereas Terraform config files are written in HCL (Hashicorp Configuration Language)

All of the above

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Terraform uses  imperative approach to deploy infrastructure as Code.

True

False

Answer explanation

Terraform is an example of declarative approach to deploy infrastructure as code.

Declarative approach is more concerned about “WHAT” you want and rest is up to the software to manage and get to that desired state.

In case of imperative approach, the emphasize is more on “HOW” to get to the desired state thus system expects the steps provided by the user to be able to achieve the desired state.

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

“_______” are the most important element in the Terraform language wherein each block describes one or more infrastructure objects to be provisioned such as virtual network, compute instances, db instances etc

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Professional Development