Terraform Associate 004

HashiCorp Certified: Terraform Assoc. (004) (Terraform Associate 004) practice exams

290 questions in 5 timed practice tests. Each test has about 62 questions and a 60-minute limit. The pass mark is 70%. Results are split across the 8 exam domains.

Read the Terraform Associate 004 study guide: what the exam covers, a 4-week plan and the topics people miss.

Exam at a glance

Terraform Associate 004 practice exam settings
Practice tests 5
Questions in total 290
Questions per test About 62
Time limit per test 60 minutes
Pass mark 70%
Question types Single answer and multiple answer (26 multiple-answer questions)
Level Associate
Category DevOps & Cloud Native

These are the settings of our practice tests. Check the official HashiCorp exam page for the current exam format before you book.

Domains and weights

Terraform Associate 004 exam domains, weights and question counts
Domain Weight Weight bar Questions in our bank
Infrastructure as Code (IaC) with Terraform 8% 23
Terraform Fundamentals 12% 35
Core Terraform Workflow 17% 49
Terraform Configuration 22% 64
Terraform Modules 10% 29
Terraform State Management 11% 32
Maintain Infrastructure with Terraform 8% 23
HCP Terraform 12% 35

Sample questions

Question 1 of 3, choose 2

A company manages Kubernetes clusters on two clouds plus GitHub repositories and Datadog monitors. Which characteristics of Terraform make a single workflow possible? (Choose two.)

  1. A A requirement that every provider uses the same resource types and arguments
  2. B Automatic sharing of a single API credential across all configured providers
  3. C A dependency graph that can order resources even when they span several providers (correct answer)
  4. D A built-in translator that ports resource definitions from one cloud to another
  5. E A provider ecosystem that exposes many platforms through one configuration language (correct answer)
Why: Terraform uses providers to cover clouds, SaaS tools, and other APIs with one language, and its dependency graph can link resources across providers, for example passing a cluster endpoint into a monitoring resource. Terraform does not translate resources between clouds, each provider has its own resource types and arguments, and every provider uses its own credentials.

Question 2 of 3, choose 2

Which statements about Terraform providers are correct? (Choose two.)

  1. A Only HashiCorp-maintained providers can be installed from the public Terraform Registry
  2. B Each provider adds resource types and data sources that wrap a target platform's API (correct answer)
  3. C Providers are compiled into the Terraform binary, so upgrading Terraform upgrades them
  4. D Providers are plugins that Terraform installs during init, separately from the Terraform binary (correct answer)
  5. E A configuration can use at most one provider from each cloud vendor in a single module
Why: Providers are separate plugins downloaded by terraform init, and each one defines resource and data source types that translate configuration into API calls. They are versioned independently of Terraform core, the public registry hosts official, partner, and community providers, and a module can use multiple providers and multiple configurations of the same provider.

Question 3 of 3

An EC2 instance is unhealthy even though its configuration has not changed. The team wants Terraform to recreate only that instance. Which command is the recommended approach?

  1. A terraform apply -replace="aws_instance.web" (correct answer)
  2. B terraform state rm aws_instance.web followed by terraform plan
  3. C terraform apply -target=aws_instance.web -refresh=false
  4. D terraform taint aws_instance.web followed by terraform refresh
Why: The -replace option on plan or apply forces replacement of a specific instance and shows it in the plan; it supersedes the deprecated taint command, and refresh would not perform a replacement anyway. -target with -refresh=false would find no changes, and state rm makes Terraform forget the instance, leaving the old one running unmanaged while creating a duplicate.

What your score report looks like

Example attempt, Terraform Associate 004 practice test 3

73%

Passed
Pass mark 70%

Score by exam domain
DomainWeightYour score%
Infrastructure as Code (IaC) with Terraform 8%
88
Terraform Fundamentals 12%
81
Core Terraform Workflow 17%
76
Terraform Configuration 22%
58
Terraform Modules 10%
84
Terraform State Management 11%
72

Study next: Terraform Configuration. It is below the pass mark and carries 22% of the exam.

Domains and pass mark from our Terraform Associate 004 practice tests. Scores are an example attempt.

Study plans

Two weeks

  1. Day 1: take practice test 1 in exam mode to get a baseline.
  2. Days 2 to 5: domain mode on Terraform Configuration and Core Terraform Workflow, the two most heavily weighted domains.
  3. Day 6: practice test 2 in exam mode, then the mistakes quiz.
  4. Days 7 to 12: practice tests 3 to 5, one every other day, each followed by its mistakes quiz.
  5. Days 13 and 14: final mode. Book the exam when your readiness stays above the pass mark.

Four weeks

  1. Week 1: one practice test in practice mode, reading every explanation. Note your two lowest domains.
  2. Week 2: domain mode on those two domains, then a second practice test in exam mode.
  3. Week 3: practice tests 3 and 4 in exam mode, with the mistakes and flagged quizzes after each.
  4. Week 4: practice test 5 and final mode until your readiness holds above the pass mark.

Questions about the Terraform Associate 004 practice exams

Are these real Terraform Associate 004 exam questions?
No. We write every question ourselves and map it to the published Terraform Associate 004 exam objectives. We do not use leaked or recalled questions.
Do the time limit and pass mark match the official exam?
They match the settings of our practice tests. Exam providers change their format from time to time, so check the official exam page before you book.
Can I try it before I pay?
Yes. The free mini exam has 15 questions with full explanations and needs no account.
How long do I keep access?
A single-exam purchase gives you 12 months of access. All-Access includes this exam for as long as your subscription runs.
What happens after I finish a test?
You get a score, a pass or fail against the pass mark, a score per domain and every answer with its explanation.

Last updated November 2026. Written and reviewed by the DevOpsCode Lab team.

DevOpsCode Lab is not affiliated with HashiCorp. Terraform Associate 004 and related names are trademarks of their owners.

Related exams
Exam Vendor Level Questions Minutes Price
VOVault Operations HashiCorp Professional 300 90 $14.99
Vault Associate 003HashiCorp Certified: Vault Associate (003) HashiCorp Associate 300 60 $12.99
010-160LPI Linux Essentials 010-200 LPI Foundational 200 60 $9.99
GH-900GitHub Foundations GH-900 GitHub Foundational 300 100 $9.99
AT0-001CompTIA AutoOps+ AT0-001 CompTIA Associate 300 60 $12.99
CAPAArgo CAPA CNCF Associate 300 90 $12.99