HashiCorp Terraform Associate 003 Exam
HashiCorp Certified: Terraform Associate (Page 13 )

Updated On: 9-Feb-2026

When does terraform apply reflect changes in the cloud environment?

  1. Immediately
  2. However long it takes the resource provider to fulfill the request
  3. After updating the state file
  4. Based on the value provided to the -refresh command line argument
  5. None of the above

Answer(s): B



How would you reference the "name" value of the second instance of this fictitious resource?

  1. element(aws_instance.web, 2)
  2. aws_instance.web[1].name
  3. aws_instance.web[1]
  4. aws_instance.web[2].name
  5. aws_instance.web.*.name

Answer(s): B

Explanation:


Reference:

https://www.terraform.io/docs/configuration-0-11/interpolation.html



A Terraform provider is not responsible for:

  1. Understanding API interactions with some service
  2. Provisioning infrastructure in multiple clouds
  3. Exposing resources and data sources based on an API
  4. Managing actions to take based on resource differences

Answer(s): B

Explanation:


Reference:

https://www.terraform.io/docs/configuration-0-11/providers.html



Terraform provisioners can be added to any resource block.

  1. True
  2. False

Answer(s): A

Explanation:


Reference:

https://www.terraform.io/docs/language/resources/provisioners/syntax.html



What is terraform refresh intended to detect?

  1. Terraform configuration code changes
  2. Empty state files
  3. State file drift
  4. Corrupt state files

Answer(s): C

Explanation:


Reference:

https://www.hashicorp.com/blog/detecting-and-managing-drift-with-terraform






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

Join the Terraform Associate 003 Discussion