HashiCorp Terraform Associate Exam (page: 9)
HashiCorp Certified: Terraform Associate
Updated on: 25-Dec-2025

What features does the hosted service Terraform Cloud provide? (Choose two.)

  1. Automated infrastructure deployment visualization
  2. Automatic backups
  3. Remote state storage
  4. A web-based user interface (UI)

Answer(s): C,D

Explanation:


Reference:

https://www.terraform.io/docs/enterprise/admin/automated-recovery.html https://www.terraform.io/docs/language/state/remote.html



Where does the Terraform local backend store its state?

  1. In the /tmp directory
  2. In the terraform file
  3. In the terraform.tfstate file
  4. In the user's terraform.state file

Answer(s): C

Explanation:

The local backend stores state on the local filesystem, locks that state using system APIs, and performs operations locally.


Reference:

https://www.terraform.io/docs/language/settings/backends/local.html



Which option can not be used to keep secrets out of Terraform configuration files?

  1. A Terraform provider
  2. Environment variables
  3. A -var flag
  4. secure string

Answer(s): D

Explanation:


Reference:

https://secrethub.io/blog/secret-management-for-terraform/



What is one disadvantage of using dynamic blocks in Terraform?

  1. They cannot be used to loop through a list of values
  2. Dynamic blocks can construct repeatable nested blocks
  3. They make configuration harder to read and understand
  4. Terraform will run more slowly

Answer(s): C

Explanation:


Reference:

https://github.com/hashicorp/terraform/issues/19291



Only the user that generated a plan may apply it.

  1. True
  2. False

Answer(s): B



Viewing Page 9 of 71



Share your comments for HashiCorp Terraform Associate exam with other users:

DN 9/4/2023 11:19:00 PM

question 14 - run terraform import: this is the recommended best practice for bringing manually created or destroyed resources under terraform management. you use terraform import to associate an existing resource with a terraform resource configuration. this ensures that terraform is aware of the resource, and you can subsequently manage it with terraform.
Anonymous


YK 12/11/2023 1:10:00 AM

good one nice
JAPAN


Mn8300 11/9/2023 8:53:00 AM

nice questions
Anonymous