HashiCorp logo

HashiCorp Certified: Terraform Associate (004) study guide

4 min read · Updated July 19, 2026 · AI-assisted, editorially reviewed

004AssociateIntermediate

How to use this guide

The provider publishes no percentage split, so treat every domain as fair game and let per-domain practice scores tell you where to spend extra time.

The fastest feedback loop: read one domain’s focus areas, take a practice run, review every explanation for the questions you missed, and only then move on. Explanations teach the concept — skipping them is the most common way to plateau.

1. Terraform state management

Know these cold:

  • Why state exists, and what breaks without it
  • Remote backends, state locking, and why local state fails a team
  • Moving and importing resources — terraform state mv, and import blocks
  • Reading state safely, and why secrets in state matter

2. Core Terraform workflow

Know these cold:

  • write → init → plan → apply, and what each step actually does
  • Reading a plan and predicting create, update, replace and destroy
  • terraform fmt and validate in a real workflow
  • Targeted operations and -replace (which supersedes the older taint)

3. Terraform configuration

Know these cold:

  • Variables, locals, outputs, and precedence when a value is set twice
  • Expressions, functions, and dynamic blocks
  • count versus for_each — and why for_each is usually safer
  • Resource dependencies, implicit and explicit

4. Terraform modules

Know these cold:

  • Writing and calling modules, with inputs and outputs
  • Sourcing from the public registry and from private sources
  • Version constraints and why pinning matters
  • Structuring a repository so modules stay reusable

5. Infrastructure as Code (IaC) with Terraform

Know these cold:

  • What IaC solves — repeatability, review, and drift
  • Declarative versus imperative provisioning
  • Terraform's multi-cloud, provider-based model
  • Idempotency, and what it means for a rerun

6. Terraform fundamentals

Know these cold:

  • Providers, provider versions, and the dependency lock file
  • Installing Terraform and the purpose of terraform init
  • Resources versus data sources
  • Provisioners, and why they are the last resort

7. Maintain infrastructure with Terraform

Know these cold:

  • Detecting and reconciling drift
  • Upgrading providers and Terraform versions safely
  • Refactoring with moved blocks instead of destroy-and-recreate
  • Managing resource lifecycle — prevent_destroy, ignore_changes

8. HCP Terraform

Know these cold:

  • Workspaces, and how remote runs differ from local ones
  • Remote state sharing across workspaces
  • Policy as code with Sentinel, and the private module registry
  • VCS-driven workflows and team access

Common mistakes

  • Studying from 002 or 003 material. The retired exams teach commands and patterns that 004 no longer treats as correct — taint being the clearest example.
  • Reaching for count when the scenario describes resources that get added and removed. Changing a count re-indexes everything after it; for_each does not.
  • Underestimating state. It is where most real Terraform pain lives, and the exam reflects that.
  • Confusing terraform plan's output symbols — create, update in place, destroy and replace each have distinct consequences.
  • Treating provisioners as a normal tool. HashiCorp documents them as a last resort, and the exam expects you to know why.
  • Ignoring HCP Terraform because you only use the CLI. It is one of the eight published objectives.

Exam-day tips

  • Sixty minutes is short. Do not stall on any single item.
  • Read code snippets for the one line that differs between options rather than tracing the whole configuration.
  • When two answers both work, prefer the one that keeps state consistent and avoids destroying resources.
  • Watch for questions describing team workflows — those are usually pointing at remote state and locking.
  • Answer everything. There is no published penalty for a wrong answer, and a blank certainly scores nothing.
  • If a question mentions a version, check whether the behaviour it describes still applies in 1.12.

How to know you’re ready

One good practice score can be luck. The signal that holds up: consistently at or above the real pass mark (Not published by HashiCorp) across multiple full-length sets, with no single domain dragging far below the rest. Kwizza tracks your per-domain readiness automatically as you practice.

Free, full-length, weighted to the official blueprint — every answer explained.

Start the Terraform Associate practice exam →

Written against HashiCorp’s officially published exam objectives; last reviewed July 19, 2026. AI-assisted and editorially reviewed — see how our exams are made.

Kwizza is an independent study tool and is not affiliated with, endorsed by, or sponsored by HashiCorp. HashiCorp names, logos and certification marks are the property of their respective owners and are used here only to identify the exam described. Practice questions are original, written against the publicly published exam objectives — no real exam content is reproduced.