Terraform Associate (004) Exam Guide 2026: Study Plan

Terraform Associate (004) Exam Guide 2026: Domains, Study Plan and Tips

Introduction

The HashiCorp Certified: Terraform Associate is the entry-level credential for infrastructure as code, and in 2026 it changed in a way that matters. The old exam version, 003, retired on 7 January 2026. The current version, 004, was first delivered on 8 January 2026, and it tests Terraform 1.12 with a reorganised set of eight objectives — including a whole domain on HCP Terraform, new objectives on lifecycle rules, custom conditions and ephemeral values, and a heavier emphasis on writing and reading configuration. Anyone studying from a 003 guide is preparing for an exam that no longer exists.

This guide covers the 004 exam as it stands on 30 November 2026: what it costs, how long it lasts, what it tests across its eight objectives, how to study for it in six weeks, and what to do on exam day. Every fact HashiCorp publishes comes from its own certification pages or the official exam content list, checked on 30 November 2026. Two things HashiCorp does not publish — the number of questions and the passing score — are flagged as such wherever they appear. If you have not written Terraform before, start with our Terraform Tutorial for Beginners; for interview preparation, our Terraform Interview Questions and Answers covers the same ground in question form.

The short version, for readers in a hurry: the exam costs $70.50, lasts one hour, is multiple choice and online proctored, tests Terraform 1.12 across eight objectives, has no prerequisites, and the credential is valid for two years. Six weeks of hands-on practice — writing real configuration, not just reading about it — is enough for most candidates with basic terminal skills. The rest of this guide is the detail behind those sentences.

Terraform Associate 004 at a Glance — Exam Facts

The Terraform Associate is a single exam for a single certification: pass it and you are HashiCorp Certified: Terraform Associate. There are no prerequisites. HashiCorp states that candidates should have basic terminal skills and an understanding of on-premises and cloud architecture, and says you can prepare by practising the exam objectives in a personal demo setup. In practice, candidates who pass comfortably have spent a few weeks actually running terraform plan and terraform apply against real infrastructure, even if that is a free-tier cloud account.

Fact Detail
Exam code Terraform Associate 004
Certification HashiCorp Certified: Terraform Associate
Level Associate (entry-level)
Terraform version tested 1.12
Price (US) $70.50 plus applicable taxes
Exam time 60 minutes
Question count Not published by HashiCorp (commonly estimated at around 57)
Passing score Not published by HashiCorp (commonly estimated at around 70%)
Question types True/false, single-select multiple choice, multi-select
Delivery Online proctored
Language English
Prerequisites None; basic terminal skills and cloud architecture understanding expected
Validity 2 years
Previous version 003 retired 7 January 2026; 004 first delivered 8 January 2026
Free retake Not included

The price is the US list price — taxes may apply on top, so check the price shown at booking for your country. The fee does not include a retake, so a failed attempt costs another $70.50. Results are pass or fail, given immediately, with an objective-level report within 48 hours that shows how you did in each domain — useful if you need to retake.

Two facts are most often misstated online. First, HashiCorp does not publish the number of questions or a numeric passing score: "57 questions" and "70% to pass" repeat an estimate circulating since the 003 exam, and you should plan on the one-hour limit, not a question count. Second, HashiCorp does not publish weights for the eight objectives — percentages in third-party guides are those guides' own estimates, not HashiCorp's.

The Eight Objectives, in Exam Order

HashiCorp publishes eight objectives with 37 sub-objectives for the 004 exam, and a content list mapping each one to the documentation that demonstrates it. Study from the official content list rather than a printed book: the exam was refreshed in January 2026, and older material teaches the wrong structure.

Objective What it covers
1. Infrastructure as Code (IaC) with Terraform What IaC is, the advantages of IaC patterns, multi-cloud, hybrid cloud and service-agnostic workflows
2. Terraform fundamentals Installing and versioning providers, how Terraform uses providers, multi-provider configuration, how state is used and managed
3. Core Terraform workflow Write, plan, apply: initialising a working directory, validating configuration, generating and reviewing a plan, applying and destroying, formatting and style
4. Terraform configuration Resource and data blocks, cross-resource references, variables and outputs, complex types, expressions and functions, resource dependencies, lifecycle rules, custom conditions, sensitive data
5. Terraform modules Sourcing modules, variable scope, using modules in configuration, managing module versions
6. Terraform state management The local backend, state locking, configuring remote state with the backend block, managing resource drift
7. Maintain infrastructure with Terraform Importing existing infrastructure, inspecting state from the CLI, verbose logging
8. HCP Terraform Creating infrastructure through HCP Terraform, collaboration and governance features, organising work with workspaces and projects

Objectives 1–3 — IaC Concepts, Fundamentals and the Core Workflow

Objective 1 is the conceptual foundation: what infrastructure as code is, why it beats manual provisioning, and how Terraform manages multi-cloud and hybrid-cloud workflows. The exam asks you to recognise the advantages — consistency, repeatability, version control, reviewable changes — and to understand that Terraform is cloud-agnostic: the same workflow provisions AWS, Azure, Google Cloud and on-premises resources, because the provider plugins do the cloud-specific work.

Objective 2 covers the fundamentals: providers, and state as a concept. A provider is a plugin that translates Terraform configuration into API calls against a specific platform, and the exam tests installing and versioning them. Know the required_providers block, the version constraint syntax (~> 5.0 means any 5.x release), and the dependency lock file (.terraform.lock.hcl), which records the exact provider versions and checksums so a later terraform init reproduces the same set. Know that a configuration can use multiple providers, including multiple instances of the same provider with aliases — the classic case is deploying to two AWS regions. And know what state is conceptually: the JSON record mapping your configuration to real resource IDs, which Terraform consults on every run to decide what has changed. State's mechanics are objective 6; here, the exam wants the concept.

Objective 3 is the core workflow, and the most practical of the eight: write, plan, apply. The cycle is terraform init to initialise a working directory and download providers, terraform validate to check the configuration is valid and internally consistent, terraform plan to preview the changes, terraform apply to make them, and terraform destroy to remove them. Know what each command does and does not do. validate checks syntax and references, not whether the resources will actually create — a configuration can validate cleanly and still fail on apply. plan is the review step: in a team, the plan is the artifact reviewed like a code change, not the apply. fmt is the formatter — run it before every commit, because the exam tests formatting and style conventions. And know the difference between terraform plan and terraform apply -auto-approve: the first previews, the second applies without asking.

Objective 4 — Terraform Configuration, the Heart of the Exam

Objective 4 is where the exam spends its time, and where hands-on practice pays off most. It covers the language itself: resource and data blocks, cross-resource references, variables and outputs, complex types, expressions and functions, resource dependencies, lifecycle rules, custom conditions and sensitive data. The official Terraform language documentation is the study source here, and it is worth reading in full rather than through summaries.

Start with the blocks. A resource block declares something Terraform should create and manage; a data block reads something that already exists. The distinction matters: if you need the ID of a VPC another team created, read it with a data source — do not declare it as a resource and try to manage it. Variables are inputs, outputs are results, and locals are named expressions for values used more than once. Know the variable types — string, number, bool, list, set, map, object, tuple — and that complex types let you pass a whole structured value, such as a list of subnet definitions, as a single variable. Know how references work: aws_vpc.main.id is the ID of the VPC resource, and using a reference creates an implicit dependency, so Terraform orders the resources correctly without being told.

Dependencies come in two forms, and the exam tests both. Implicit dependencies come from references, as above. Explicit dependencies come from depends_on, used when the dependency is real but invisible to Terraform — for example, when a resource depends on another resource's side effect rather than its output. The 004 exam added depends_on with create_before_destroy as a new lifecycle topic (4f), so know the lifecycle block as a whole: create_before_destroy creates the replacement before destroying the old one, right for resources that cannot have downtime and wrong where two instances cannot coexist; prevent_destroy blocks accidental deletion; ignore_changes tells Terraform to stop managing an argument.

Custom conditions (4g) are the 004 exam's validation mechanism. A precondition block checks something before Terraform acts, and a postcondition checks something after — for example, that a variable is within an allowed range, or that a created resource has a particular attribute. They test whether you can make a configuration fail loudly with a clear message instead of silently producing something wrong. Ephemeral values and write-only arguments (4h) are the other new 004 topic: ephemeral resources and variables hold values Terraform uses during a run but never writes to state — passwords, tokens and other secrets that should not be persisted. The exam angle is clear: the answer to "how do I pass a secret without storing it in state" is an ephemeral value, not a sensitive variable, because a sensitive variable is still written to state, just hidden from the output.

Objectives 5–7 — Modules, State and Maintenance

Modules are Terraform's reuse mechanism, and objective 5 tests how to use them rather than how to write complex ones. A module is a folder of configuration with inputs (variables) and outputs, called from a root module. Know how to source a module — from a local path, from a Git repository, or from the Terraform Registry — and that the source string determines where the code comes from and how it is versioned. Registry modules are versioned with constraints, and the convention is ~> 5.0, which accepts patch releases within the 5.x line. Know variable scope: variables declared inside a module are local to it, and the calling configuration passes values in through arguments; a variable set at the root does not leak into a child module unless passed explicitly. That scoping rule is the exam's favourite module question.

State is objective 6, and it separates candidates who have run Terraform from those who have only read about it. State is a JSON file mapping configuration to real resources, and it must be stored remotely, locked during applies, and treated as sensitive — it can contain secrets in plain text. Know the local backend (the default terraform.tfstate file, suitable for learning and unsuitable for teams) and the remote backends, configured with a backend block — most commonly an S3 bucket, an Azure storage account, or HCP Terraform. Know state locking: it prevents two applies running against the same state at once, and native S3 locking is the current mechanism, replacing the older separate DynamoDB table. Know drift: when someone changes a resource outside Terraform, the next plan detects the difference and proposes to put it back.

Objective 7 is maintenance: importing existing infrastructure, inspecting state from the CLI, and verbose logging. Importing brings a resource that already exists under Terraform management, and the 004 exam tests both methods — the terraform import command and the newer import block in configuration, which HashiCorp now recommends because it is reviewable and repeatable. Know terraform state list (what is in the state), terraform state show (the details of one resource) and terraform state mv (renaming a resource in state without recreating it). Know TF_LOG for verbose logging and its levels, least to most verbose — ERROR, WARN, INFO, DEBUG, TRACE — because the exam asks which level to use when debugging a provider problem, and the answer is DEBUG or TRACE, not INFO.

Objective 8 — HCP Terraform, and What Changed from 003

Objective 8 is the 004 exam's biggest structural change: HCP Terraform is now a domain of its own, not a side topic. HCP Terraform is HashiCorp's managed service for running Terraform — remote state, remote runs, workspaces, team collaboration and policy enforcement — and the exam tests it as a product you understand, not a service you have necessarily used.

The core concepts are workspaces and projects. A workspace maps a configuration to a set of resources: one workspace, one state file, one set of variables. Projects organise workspaces into groups — by team, by environment, by application — and the 004 exam added an explicit objective (8c) on organising and using them. Know the workspace workflow: code is connected from version control, a run is triggered by a pull request or a manual queue, the plan is reviewed in the HCP Terraform UI, and the apply runs remotely rather than on your laptop. Know the collaboration features: team permissions control who can approve applies, variable sets share values across workspaces, and run tasks and policy checks (Sentinel or OPA) can block an apply that violates a rule. And know the difference between the CLI-driven workflow, where you run Terraform locally against remote state, and the VCS-driven workflow, where HCP Terraform runs everything.

Study Plan — Six Weeks, Hands-On First

A realistic study plan for the Terraform Associate 004, for someone working full-time with basic terminal skills, is six weeks at about five hours a week — longer if you have never used a cloud console, shorter if you already write Terraform at work. The plan below follows the exam's own objective order, and every week has a hands-on task, because the exam rewards people who have run the commands, not people who have read about them.

Week 1: concepts and the workflow. Work through the official 004 learning path on HashiCorp Developer, and install Terraform 1.12 locally. Build a first configuration against a free-tier cloud account or the local provider: a resource, a variable, an output. Run the full cycle — init, validate, plan, apply, destroy — until the commands are automatic, and be able to explain, in your own words, why version-controlled infrastructure beats manual provisioning.

Week 2: configuration. Write configuration every day: resources and data sources, variables of every type, locals, outputs, for_each and count, functions and expressions. Practise the new 004 topics deliberately: add a precondition that rejects an invalid variable value, use an ephemeral variable for a secret, and set a lifecycle block with create_before_destroy. Break things on purpose — a bad reference, a circular dependency, a missing variable — and read the error messages, because the exam's questions are often about recognising what went wrong.

Week 3: modules and state. Convert your week 2 configuration into a module and call it twice with different inputs. Then move the state to a remote backend — an S3 backend, or the free tier of HCP Terraform — and run an apply against it. Practise terraform state list, terraform state show and terraform state mv, and simulate drift by changing a resource in the cloud console and watching the next plan detect it. Read our Terraform State Explained this week.

Week 4: maintenance and HCP Terraform. Import an existing resource with an import block. Practise verbose logging with TF_LOG=DEBUG and read a real debug log until you can find the provider call in it. Then read the HCP Terraform concepts documentation — workspaces, projects, runs, variable sets, permissions — and be able to describe the VCS-driven workflow end to end without having used it. If you have a free account, connect a repository and watch a speculative plan run on a pull request.

Week 5: practice questions and weak spots. Take timed practice questions under exam conditions — one hour, no notes — and study every wrong answer, including why the right answer is right. Re-read the official content list and check off each of the 37 sub-objectives: if you cannot explain one in your own words, that is the next thing to study. Rebuild your module from scratch without looking at your notes, paying particular attention to the four new 004 topics and to state.

Week 6: consolidate and book. Take a full practice assessment, review the objective-level results, and spend the remaining days only on the weakest objectives. Book the exam for the end of this week, before you feel fully ready — the date is the motivator, and the one-hour format is a small commitment. The day before, check your environment: a quiet room, a webcam, a clean desk, and the system test the proctoring service asks for. On the day, read each question twice — the questions are scenario-driven, so the detail in the stem is usually the detail that decides the answer.

Booking, Retakes and What Comes After

Booking is through HashiCorp's certification platform, and the exam is delivered online with a proctor. You need a quiet room, a webcam and a clean desk — the proctor checks the room on camera, so read the rules before the day and do a system test in advance. The exam is one hour, and the question types are true/false, single-select multiple choice and multi-select. For multi-select questions, read the stem carefully: it says how many answers to choose.

Passing earns the HashiCorp Certified: Terraform Associate credential, valid for two years, with a digital badge issued through Credly for a LinkedIn profile or a resume. Recertification is by retaking the current exam when the credential expires — there is no renewal assessment, so plan to retake against whatever version is current then. Failing costs another $70.50, since no free retake is included, but the objective-level report within 48 hours tells you exactly which objectives to study before the next attempt.

What comes after depends on where you are going. Inside the HashiCorp track, the next step is the Terraform Authoring and Operations Professional, a four-hour lab-based exam on authoring modules and operating Terraform at production scale; it costs $295 and includes a free retake. Outside the track, the Associate pairs well with a cloud certification — the AWS Solutions Architect Associate or the Azure Administrator Associate — because this exam proves you can write infrastructure as code, and the cloud exam proves you know what infrastructure to write. Our Terraform Interview Questions and Answers is the bridge: the exam tests whether you know Terraform, and the interview tests whether you can explain it to a team.

FAQ

How much does the Terraform Associate 004 exam cost, and how long is it?

The exam costs $70.50 plus applicable taxes, and lasts 60 minutes. The fee does not include a retake. Results are pass or fail, given immediately, with an objective-level report within 48 hours.

How many questions are there, and what is the passing score?

HashiCorp does not publish either figure. Guides commonly estimate around 57 questions and a pass mark around 70%, but both numbers are unofficial estimates, not HashiCorp figures. Plan your time on the one-hour limit, and treat any pass mark you see elsewhere as unofficial.

What changed from the 003 exam to the 004 exam?

The 003 exam retired on 7 January 2026 and 004 was first delivered on 8 January 2026. The 004 exam tests Terraform 1.12, reorganises the objectives from nine to eight, adds four new topics (lifecycle rules with depends_on and create_before_destroy, custom conditions, ephemeral values and write-only arguments, and HCP Terraform workspaces and projects), and makes HCP Terraform a full objective of its own.

How long is the Terraform Associate valid?

Two years. You recertify by retaking the current exam when the credential expires. There is no renewal assessment, and the credential you retake against will be whatever version is current at that time.

Do I need experience with HCP Terraform to pass?

You need to understand it conceptually — workspaces, projects, runs, variable sets, permissions and the VCS-driven workflow — but the exam's HCP questions are about concepts, not about having used the service. Reading the HCP Terraform concepts documentation is enough preparation for this objective.

Conclusion

The Terraform Associate 004 is a one-hour, $70.50 exam testing Terraform 1.12 across eight objectives — from IaC concepts and the core workflow, through configuration, modules and state, to maintenance and HCP Terraform. It has no prerequisites, it is valid for two years, and it is among the cheapest major infrastructure certifications to sit. Six weeks of hands-on study, built around real configuration and the official learning path, is enough for most candidates, and the reward is a credential hiring teams recognise immediately.

Start with the workflow, spend the most time on configuration and state, and give the four new 004 topics the attention they deserve — they are the questions your 003-era study material will not have. Then follow the path this guide points to: our Terraform Tutorial for Beginners for the hands-on foundations, our Terraform State Explained for the objective candidates underestimate most, and our Terraform Interview Questions and Answers for turning exam knowledge into interview answers.

Sources checked 30 Nov 2026: HashiCorp Developer, Terraform Associate 004 exam content list (8 objectives, 37 sub-objectives; new topics 4f depends_on and create_before_destroy lifecycle rules, 4g custom conditions, 4h ephemeral values and write-only arguments, 8c HCP Terraform workspaces and projects; tests Terraform 1.12; includes HCP Terraform content); HashiCorp-citing guides checked 30 Nov 2026 (003 retired 7 Jan 2026, 004 first delivered 8 Jan 2026; $70.50 plus taxes; 60 minutes; online proctored; true/false, single-select and multi-select; no prerequisites; valid 2 years; no free retake; immediate pass/fail with objective-level report within 48 hours; digital badge via Credly). NOT VERIFIED on an official page and therefore not stated as fact above: the number of questions (commonly estimated at around 57 — unofficial); the passing score (commonly estimated at around 70% — unofficial); domain weights (HashiCorp publishes none); the Terraform Authoring and Operations Professional price and format ($295, four hours, lab-based, free retake included — from a third-party guide, re-check on HashiCorp's certification page before booking). External references: HashiCorp Developer — Terraform Associate 004 exam content list · HashiCorp Developer — Terraform language documentation.

—

Scroll to Top