Free Terraform Associate Exam Braindumps
HashiCorp Certified: Terraform Associate Questions 181–185 (page: 38)

Updated On: 10-Feb-2026

When should Terraform configuration files be written when running terraform import on existing infrastructure?

  1. Infrastructure can be imported without corresponding Terraform code
  2. Terraform will generate the corresponding configuration files for you
  3. You should write Terraform configuration files after the next terraform import is executed
  4. Terraform configuration should be written before terraform import is executed

Answer(s): D



Which command lets you experiment with Terraform's built-in functions?

  1. terraform env
  2. terraform console
  3. terraform test
  4. terraform validate

Answer(s): B

Explanation:


Reference:

https://www.terraform.io/language/functions



Why does this backend configuration not follow best practices?

  1. You should not store credentials in Terraform Configuration
  2. You should use the local enhanced storage backend whenever possible
  3. An alias meta-argument should be included in backend blocks whenever possible
  4. The backend configuration should contain multiple credentials so that more than one user can execute terraform plan and terraform apply

Answer(s): A



Open source Terraform can only import publicly-accessible and open-source modules.

  1. True
  2. False

Answer(s): B



What does terraform destroy do?

  1. Destroy all infrastructure in the Terraform state file
  2. Destroy all Terraform code files in the current directory while leaving the state file intact
  3. Destroy all infrastructure in the configured Terraform provider
  4. Destroy the Terraform state file while leaving infrastructure intact

Answer(s): A



Viewing page 38 of 71
Viewing questions 186 - 190 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!