HashiCorp Terraform Associate Exam (page: 1)
HashiCorp Certified: Terraform Associate
Updated on: 11-Aug-2025

The terraform.tfstate file always matches your currently built infrastructure.

  1. True
  2. False

Answer(s): B

Explanation:


Reference:

https://www.terraform.io/docs/language/state/index.html



One remote backend configuration always maps to a single remote workspace.

  1. True
  2. False

Answer(s): B

Explanation:


Reference:

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



How is the Terraform remote backend different than other state backends such as S3, Consul, etc.?

  1. It can execute Terraform runs on dedicated infrastructure on premises or in Terraform Cloud
  2. It doesn't show the output of a terraform apply locally
  3. It is only available to paying customers
  4. All of the above

Answer(s): A

Explanation:

If you and your team are using Terraform to manage meaningful infrastructure, we recommend using the remote backend with Terraform Cloud or Terraform
Enterprise.


Reference:

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



What is the workflow for deploying new infrastructure with Terraform?

  1. terraform plan to import the current infrastructure to the state file, make code changes, and terraform apply to update the infrastructure.
  2. Write a Terraform configuration, run terraform show to view proposed changes, and terraform apply to create new infrastructure.
  3. terraform import to import the current infrastructure to the state file, make code changes, and terraform apply to update the infrastructure.
  4. Write a Terraform configuration, run terraform init, run terraform plan to view planned infrastructure changes, and terraform apply to create new infrastructure.

Answer(s): D



A provider configuration block is required in every Terraform configuration.
Example:

  1. True
  2. False

Answer(s): B

Explanation:


Reference:

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



Viewing Page 1 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