HashiCorp Certified: Terraform Associate

HASHICORP_TERRAFORM_ASSOCIATE
AssociateVersion 004Official exam guide โ†—

Ready to test yourself?

A timed, blueprint-proportional exam drawn fresh from this bank โ€” with a per-domain score report.

๐Ÿ”’ Unlock the simulation โ†’

๐Ÿ”“ Free preview: showing 10 of 60 questions. Unlock the full bank โ€” every question, explanation, and reference.

Unlock all 60 questions โ†’

10 questions across 5 topics. Choose an answer for each question, then check it to see the correct answer and explanation.

Filter by topic

All 10 questions

FUNDAMENTALS

Terraform & Infrastructure as Code Fundamentals

10 questions in topic

Declarative vs. imperative IaC, providers, resources, data sources, HCL, and the Terraform Registry.

1
Single choice~60s

Which statement accurately distinguishes a Terraform resource from a Terraform data source?

2
Single choice~60s

Why is Infrastructure as Code generally considered to reduce human error compared to manual infrastructure changes?

3
Single choice~60s

A team uses the same Terraform configuration, with only a few input differences, to create their development, staging, and production environments. Which IaC benefit does this best illustrate?

4
Single choice~60s

Which statement best describes why storing Terraform configuration files in a version control system (such as Git) is considered a core IaC practice?

5
Single choice~60s

What role does the Terraform Registry play in a typical Terraform workflow?

6
Single choice~60s

A configuration declares a provider block with credentials and a region, followed by several resource blocks that reference resource types from that provider. What is the relationship between the provider and the resources here?

7
Single choice~60s

A team maintains a Terraform configuration that provisions virtual machines, and separately uses a configuration management tool to continuously enforce package versions on those same machines after they boot. One engineer proposes replacing the configuration management tool entirely with more frequent terraform apply runs against slightly modified machine resource definitions. What is the most accurate assessment of this proposal, given Terraform's typical paradigm?

8
Single choice~60s

Two engineers each write a configuration to reach the same desired end state for a small environment: one lists an explicit ordered sequence of provider API calls to run, and the other writes an HCL configuration describing only the resources that should exist. Both configurations, when fully executed, produce an identical set of infrastructure objects. Which statement correctly classifies the two approaches?

9
Single choice~60s

A configuration includes both a resource block managing a database instance and a data source block referencing a security group that was created outside of Terraform by another team. Terraform is then run with a plan that only touches the database resource. What happens to the security group referenced by the data source during this run?

10
Single choice~60s

A JSON-syntax Terraform configuration file (.tf.json) and an HCL configuration file (.tf) both live in the same module directory, and each defines a different resource. Which statement about this setup is accurate?