HashiCorp TA-002-P Exam
HashiCorp Certified: Terraform Associate (Page 10 )

Updated On: 7-Feb-2026

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


Reference:

https://www.terraform.io/enterprise/admin/infrastructure/backup-restore



Where does the Terraform local backend store its state?

  1. In the /tmp directory
  2. In the terraform.tfvars file
  3. In the terraform.tfstate file
  4. In the user's .terraformrc 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
https://www.terraform.io/language/state



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): A


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:

"Overuse of dynamic blocks can make configuration hard to read and maintain, so we recommend using them only when you need to hide details in order to build a clean user interface for a re-usable module. Always write nested blocks out literally where possible."


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 10 of 91
Viewing questions 46 - 50 out of 449 questions



Post your Comments and Discuss HashiCorp TA-002-P exam prep with other Community members:

Join the TA-002-P Discussion