Free Terraform Associate Exam Braindumps
HashiCorp Certified: Terraform Associate Questions 121–125 (page: 26)

Updated On: 10-Feb-2026

Which of the following does terraform apply change after you approve the execution plan? (Choose two.)

  1. Cloud infrastructure
  2. The .terraform directory
  3. The execution plan
  4. State file
  5. Terraform code

Answer(s): A



A Terraform backend determines how Terraform loads state and stores updates when you execute ___________.

  1. apply
  2. taint
  3. destroy
  4. All of the above
  5. None of the above

Answer(s): D



What does Terraform use .terraform.lock.hcl file for?

  1. Tracking provider dependencies
  2. There is no such file
  3. Preventing Terraform runs from occurring
  4. Storing references to workspaces which are locked

Answer(s): A



You've used Terraform to deploy a virtual machine and a database. You want to replace this virtual machine instance with an identical one without affecting the database. What is the best way to achieve this using Terraform?

  1. Use the terraform state rm command to remove the VM from state file
  2. Use the terraform taint command targeting the VMs then run terraform plan and terraform apply
  3. Use the terraform apply command targeting the VM resources only
  4. Delete the Terraform VM resources from your Terraform code then run terraform plan and terraform apply

Answer(s): B



How do you specify a module's version when publishing it to the public Terraform Module Registry?

  1. The module's configuration page on the Terraform Module Registry
  2. Terraform Module Registry does not support versioning modules
  3. The release tags in the associated repo
  4. The module's Terraform code

Answer(s): C



Viewing page 26 of 71
Viewing questions 126 - 130 out of 356 questions


Post your Comments and Discuss HashiCorp Terraform Associate exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!