Halloween Sale Special - 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: big75certs

Ace Your Terraform-Associate-004 Terraform Associate Exam

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Questions and Answers

Question 81

What does the import block do?

Options:

A.

Migrate resources from one Terraform state file to another.

B.

Combine Terraform state files.

C.

Install a module.

D.

Import existing resources into Terraform state.

Question 82

When you initialize Terraform, where does it cache modules from the public Terraform Registry?

Options:

A.

In the /tmp directory.

B.

In the .terraform sub-directory.

C.

In memory.

D.

They are not cached.

Question 83

You have a simple Terraform configuration containing one VM (virtual machine) in a cloud provider. You run terraform apply and the VM is created successfully. What will happen if you run terraform apply again immediately afterwards 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.

Terraform will take no action.

Question 84

You much initialize your working directory before running terraform validate.

Options:

A.

True

B.

False