Terraform

How to Pass the Terraform Associate (004) Exam: A 6-Week Study Plan

A complete six-week study plan for the HashiCorp Terraform Associate (004) exam — the nine exam objectives, the new version-004 material (custom conditions, ephemeral values, HCP Terraform projects), and a week-by-week preparation framework.

August 24, 2026by Hiiragi Team
terraformhashicorpterraform-associateinfrastructure-as-codeiaccertificationstudy-plan
How to Pass the Terraform Associate (004) Exam: A 6-Week Study Plan

What Is the HashiCorp Terraform Associate Certification?

The HashiCorp Certified: Terraform Associate is the industry's foundational credential for infrastructure as code. Version 004 launched on January 8, 2026, replacing the 003 exam and aligning the objectives with Terraform 1.12.

A detail that trips up many candidates: this exam is provider-agnostic. It does not test AWS, Azure, or GCP specifics — it tests Terraform itself: its language, its workflow, and its state model. Candidates whose entire background is with a single cloud provider are not at a disadvantage, since the exam never assumes provider-specific knowledge.

The certification also functions as a prerequisite step toward HashiCorp's hands-on professional-level certification, making it a natural entry point for anyone building a broader HashiCorp credential path.


Exam Basics

DetailValue
Cost$70.50 USD
Time limit1 hour
Number of questions57–60
Question typesMultiple choice, multiple select
Hands-on labsNone
DeliveryOnline, proctored via Certiverse (quiet room, webcam, system check, photo ID)
Credential validity2 years
Exam tip: No hands-on labs appear on the exam itself, but that does not mean hands-on practice is optional during preparation. The questions are scenario-based and reward candidates who have actually run Terraform commands and watched how they behave, not just read about them.

Is It Worth Taking?

At roughly $70, the return on investment is difficult to argue against.

  • Junior and mid-level engineers gain a recognized signal that they understand how modern infrastructure is actually built — a credential that stands out on a resume independent of any single cloud vendor.
  • Senior engineers benefit by formalizing skills they already use day to day, turning informal expertise into a verifiable credential.
  • Everyone pursuing HashiCorp's broader certification track benefits, since this exam is the required prerequisite for the professional-level certification.

What Changed in Version 004

Candidates who studied from material published before January 2026 are working from a stale blueprint. The 004 exam is not a cosmetic refresh — it re-anchors the objectives to Terraform 1.12 and expands several areas to match how teams run Terraform in production today. Four areas stand out as the biggest shifts.

1. Lifecycle Behavior

The exam now explicitly tests depends_on and the create_before_destroy lifecycle rule. Knowing the syntax is not enough — candidates need to understand:

  • When Terraform's implicit dependency graph is not enough, requiring an explicit depends_on to capture a relationship Terraform cannot infer from configuration references alone
  • Why create_before_destroy matters, specifically how it prevents downtime when replacing a resource that other resources depend on, by provisioning the replacement before the original is torn down

2. Custom Conditions

Terraform allows configuration authors to validate their own assumptions directly in code:

  • Variable validation blocks — reject invalid input before a plan is even generated
  • precondition blocks — assert an assumption must hold before a resource or data source is evaluated
  • postcondition blocks — assert a guarantee about the result after it is evaluated

The 004 exam expects candidates to read these blocks, write them from scratch, and know precisely when each one runs during the plan/apply cycle.

3. Sensitive Data Handling

Beyond simply marking a variable as sensitive, the 004 material covers ephemeral values and write-only arguments — mechanisms for passing secrets through Terraform configuration without those values ever being written to the state file. This is a meaningful shift, since state files have historically been the soft underbelly of Terraform security, often containing plaintext secrets even when careful practices were followed everywhere else.

4. HCP Terraform (formerly Terraform Cloud)

Coverage of HCP Terraform expands to include projects — the organizing layer used to group and manage workspaces at scale, sitting one level above individual workspaces in the platform's hierarchy.

Key insight: Everything studied under the older 003 blueprint — the core workflow, state, modules, provisioners — still matters under 004. But these four areas are where current candidates separate themselves from those studying outdated material.

The Nine Exam Objectives

The official exam blueprint is organized into nine objectives. Each is summarized below along with what the questions are typically probing for. This section functions best as a checklist — any item that cannot be confidently explained is where study time should go next.

#ObjectiveWhat It Covers
1Understand Infrastructure as CodeRepeatability, versioning, peer review, disaster recovery; contrasting manual provisioning with declarative code
2Terraform's purpose vs. other toolsMulti-cloud/provider-agnostic design; provisioning (Terraform) vs. configuration management (Ansible); the role of the state file
3Terraform basicsInstalling Terraform and providers; providers as plugins fetched during init; the dependency lock file; version constraint syntax like the pessimistic operator ~>
4Using Terraform outside the happy pathterraform import; state subcommands (list, show, mv, rm); debugging with TF_LOG; lifecycle nuances
5ModulesCalling a module, passing inputs, reading outputs; module sources (registry, Git, local path); module versioning
6Core workflowwriteplanapply; plan as a dry run; applying a saved plan file; what destroy actually does
7StateWhy state exists; local vs. remote backends; state locking; secrets stored in plain text within state
8The languageVariable precedence; outputs; locals; data sources vs. resources; count vs. for_each; built-in functions; custom conditions
9HCP TerraformWorkspaces, remote runs, the private registry, Sentinel policy-as-code, and projects

Objective Notes Worth Highlighting

  • Objective 3 (Basics): Version constraint questions are a perennial favorite. Know how the pessimistic operator (~> 1.2) restricts allowable versions compared to a bare >= constraint.
  • Objective 5 (Modules): A classic trap — variables declared inside a child module are not automatically visible to the root module. Inputs and outputs must be wired explicitly between the two.
  • Objective 7 (State): Expect scenario questions about teams stepping on each other's state without locking, and why storing secrets in plaintext state is precisely the problem that ephemeral values and write-only arguments (new in 004) are designed to solve.
  • Objective 8 (The Language): This is the largest objective by question share, so it deserves proportionately more study time than any other. Variable precedence is a recurring theme: command-line flags override .tfvars files, which override environment variables, which override defaults.
  • Objective 9 (HCP Terraform): Even candidates who only use open-source Terraform at work should not skip this section. It represents a meaningful slice of the exam, and unprepared candidates consistently lose marks here.

The Core Workflow Loop

A minimal but complete configuration — a single S3 bucket with a random-suffix name, plus an output reporting the bucket name — illustrates the entire core workflow that Objective 6 tests.

CommandWhat It Does
terraform initReads the required_providers block, downloads the necessary providers as plugins, and writes the dependency lock file. Also initializes the backend and downloads any referenced modules.
terraform fmtStandardizes configuration formatting.
terraform validateChecks that the configuration is syntactically valid and internally consistent. It does not contact any cloud provider — a detail the exam frequently tests.
terraform planRefreshes Terraform's view of the world, compares desired configuration against recorded state, and proposes changes. Nothing is created yet — a plan is always safe to run.
terraform applyDisplays the plan, waits for confirmation, then builds a dependency graph and creates resources in the correct order (e.g., a random ID before the bucket that depends on it). Can also apply a previously saved plan file directly.
terraform state listShows resources currently tracked in state.
terraform destroyRemoves all managed resources in reverse dependency order.
Exam tip: If just this loop — initplanapply → inspect → destroy — can be recited along with what each command will and will not do, a substantial share of the exam's pass mark is already secured.

The 6-Week Study Plan

The following schedule assumes roughly one hour of study per day and no prior Terraform experience. Candidates already using Terraform at work can typically compress this to three or four weeks.

WeekFocusActivities
1–2Fundamentals by doingWork through HashiCorp's official "Get Started" tutorials on the developer site — free, and written by the people who author the exam. Build small configurations, break them intentionally, and read plan output until it stops feeling like noise.
3The languageVariables, outputs, locals, functions, expressions, count and for_each. Write at least one validation block and one precondition block by hand — reading about custom conditions is not the same as writing one.
4State and collaborationMigrate a local state file to a remote backend. Deliberately import an existing resource with terraform import. Run the state subcommands until they become muscle memory. Create a free HCP Terraform account and run a plan remotely.
5Modules + new 004 materialPublish a small module to a Git repository and consume it. Practice create_before_destroy scenarios. Read the official documentation pages on ephemeral values — they are short, and new enough that many practice-exam providers have not caught up yet.
6RehearsalTake the official sample questions first, then full-length practice exams. Target a consistent score above 85% before booking. Review every wrong answer until the correct choice can be explained, not just recognized — that explanation step is where the actual learning happens.
Key insight: Candidates who study concepts alone without real hands-on time fail this exam at a notably high rate. The questions are scenario-based and reward people who have actually experienced how Terraform behaves in practice, not just memorized definitions.

Exam-Day Tips

  • Book a quiet time slot. Certiverse's proctoring requires a system check, a room scan, and a photo ID — schedule the exam for a moment when the home environment will be genuinely quiet.
  • Run the system check the day before, not five minutes before the exam starts.
  • Clear the desk completely. Even notes that would never be consulted can cause a proctoring flag.
  • Pace is generous. One hour for roughly 60 questions works out to about a minute per question, and most questions are quick — there is time to read each one slowly.
  • Watch for the plausible-but-wrong answer. The exam's favorite trap is an option that ignores a lifecycle or state implication. When a scenario feels ambiguous, ask: "What does the state file think is true here?" That single question untangles most of the harder items.
  • Flag and move on. The review screen at the end allows a return to any uncertain question.
  • Multi-select questions state how many answers to choose. Trust that number rather than second-guessing it.
  • A failed attempt is not a crisis. After the required waiting period, a retake is simply another $70.50 and another appointment — not a significant setback.

Related Reading


Put the Concepts Into Practice

Reading through the nine objectives builds familiarity, but real retention comes from answering scenario-based questions under exam-like conditions and correcting mistakes as they happen.

Start a free mock exam on Hiiragi — practice questions modeled on the real exam format help confirm readiness before booking the official Terraform Associate (004) exam.

Test your knowledge now

Our adaptive mock exams target exactly what you just read. Take a practice test and lock in the concepts.

Start Mock Exam