Weekend Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale65best

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

Questions 31

You must use different Terraform commands depending on the cloud provider you use.

Options:
A.

True

B.

False

HashiCorp Terraform-Associate-003 Premium Access
Questions 32

You modified your Terraform configuration and run Terraform plan to review the changes. Simultaneously, your teammate manually modified the infrastructure component you are working on. Since you already ran terraform plan locally, the execution plan for terraform apply will be the same.

Options:
A.

True

B.

False

Questions 33

terraform apply is failing with the following error. What next step should you take to determine the root cause of the problem?

Error:

yaml

CopyEdit

Error loading state: AccessDenied: Access Denied

status code: 403, request id: 288766CE5CCA24A0, host id: web.example.com

Options:
A.

Run terraform login to reauthenticate with the provider.

B.

Set TF_LOG=DEBUG.

C.

Review /var/log/terraform.log for error messages.

D.

Review syslog for Terraform error messages.

Questions 34

Where does the Terraform local backend store its state?

Options:
A.

In the terraform file

B.

In the /tmp directory

C.

In the terraform,tfstate file

D.

In the user’s terraform,state file

Questions 35

When using Terraform to deploy resources into Azure, which scenarios are true regarding state files? (Choose two.)

Options:
A.

When you change a Terraform-managed resource via the Azure Cloud Console, Terraform updates the state file to reflect the change during the next plan or apply

B.

Changing resources via the Azure Cloud Console records the change in the current state file

C.

When you change a resource via the Azure Cloud Console, Terraform records the changes in a new state file

D.

Changing resources via the Azure Cloud Console does not update current state file

Questions 36

You have used Terraform lo create an ephemeral development environment in the (loud and are now ready to destroy all the Infrastructure described by your Terraform configuration To be safe, you would like to first see all the infrastructure that Terraform will delete.

Which command should you use to show all of the resources that mil be deleted? Choose two correct answers.

Options:
A.

Run terraform state rm ‘

B.

Run terraform show :destroy

C.

Run terraform destroy and it will first output all the resource that will be deleted before prompting for approval

D.

Run terraform plan .destory

Questions 37

Module version is required to reference a module on the Terraform Module Registry.

Options:
A.

True

B.

False

Questions 38

All modules published on the official Terraform Module Registry have been verified by HasihCorp.

Options:
A.

True

B.

False

Questions 39

Which of the following statements about Terraform modules is not true?

Options:
A.

Modules can call other modules

B.

A module is a container for one or more resources

C.

Modules must be publicly accessible

D.

You can call the same module multiple times

Questions 40

What kind of configuration block will create an infrastructure object with settings specified within the block?

Options:
A.

provider

B.

state

C.

data

D.

resource