Spring Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70track

Free HashiCorp Terraform-Associate-003 Practice Exam with Questions & Answers | Set: 3

Questions 21

What is the Terraform style convention for indenting a nesting level compared to the one above it?

Options:
A.

With two spaces.

B.

With four spaces.

C.

With three spaces.

D.

With a tab.

HashiCorp Terraform-Associate-003 Premium Access
Questions 22

You add a new provider to your configuration and immediately run terraform apply in the CD using the local backend. Why does the apply fail?

Options:
A.

The Terraform CD needs you to log into Terraform Cloud first

B.

Terraform requires you to manually run terraform plan first

C.

Terraform needs to install the necessary plugins first

D.

Terraform needs you to format your code according to best practices first

Questions 23

Which of these are features of HCP Terraform/Terraform Cloud? (Pick the 2 correct responses)

Options:
A.

Automatic backups of configuration and state.

B.

Remote state storage.

C.

Automated infrastructure deployment visualization.

D.

A web-based user interface (UI).

Questions 24

You have just developed a new Terraform configuration for two virtual machines with a cloud provider. You would like to create the infrastructure for the first time.

Which Terraform command should you runfirst?

Options:
A.

terraform apply

B.

terraform init

C.

terraform plan

D.

terraform show

Questions 25

Which task does terraform init not perform?

Options:
A.

Validates all required variables are present

B.

Sources any modules and copies the configuration locally

C.

Connects to the backend

D.

Sources all providers used in the configuration and downloads them

Questions 26

Changing the Terraform backend from the default "local" backend to a different one after performing your first terrafom apply is:

Options:
A.

Optional

B.

Impossible

C.

Mandatory

D.

Discouraged

Questions 27

Which command lets you experiment with terraform expressions?

Options:
A.

Terraform console

B.

Terraform validate

C.

Terraform env

D.

Terraform test

Questions 28

Which of the following should you put into the required_providers block?

Options:
A.

version >= 3.1

B.

version = “>= 3.1”

C.

version ~> 3.1

Questions 29

You have a simple Terraform configuration containing one virtual machine (VM) in a cloud provider. You run terraform apply and the VM is created successfully. What will happen if you terraform apply again immediately afterward without changing any Terraform code?

Options:
A.

Terraform will terminate and recreate the VM.

B.

Terraform will create another duplicate VM.

C.

Terraform will apply the VM to the state file.

D.

Nothing

Questions 30

Which backend does the Terraform CU use by default?

Options:
A.

Depends on the cloud provider configured

B.

HTTP

C.

Remote

D.

Terraform Cloud

E.

Local