HashiCorp Terraform Associate (004) Cheat Sheet

Review a compact HashiCorp Terraform Associate (004) cheat sheet for IaC, workflow, configuration, modules, state, maintenance, and HCP Terraform before IT Mastery practice.

Use this cheat sheet before a Terraform Associate (004) practice set. Most questions reward disciplined infrastructure-as-code reasoning: know the workflow phase, state boundary, configuration object, and team-control feature before choosing an answer.

Open Terraform practice when you are ready for the free diagnostic, topic drills, timed mocks, and the full IT Mastery question bank.

Exam snapshot

ItemTerraform cue
VendorHashiCorp
CertificationHashiCorp Certified: Terraform Associate (004)
Time60 minutes
Main practice behaviorworkflow, configuration, modules, state, and HCP Terraform judgment
IT Mastery statuslive practice available

Objective checklist

Objective areaWeightWhat to knowCommon trap
Infrastructure as Code with Terraform8%declarative configuration, drift, reproducibility, provider-managed infrastructuretreating Terraform as an imperative script runner
Terraform fundamentals11%providers, resources, data sources, variables, outputs, versionsconfusing provider configuration with resource declaration
Core Terraform workflow19%init, validate, plan, apply, destroy, import, refresh, reviewskipping plan review before change execution
Terraform configuration22%HCL, expressions, dependencies, lifecycle, variables, outputstracing runtime changes before checking configuration validity
Terraform modules11%root modules, child modules, inputs, outputs, versioning, reuseusing modules as a substitute for state or workspace isolation
Terraform state management11%state files, remote backends, locking, workspaces, moved resourcesediting state manually when workflow commands are safer
Maintain infrastructure with Terraform8%drift, imports, refactors, version upgrades, safe change controlapplying a change before understanding drift or dependency impact
HCP Terraform10%remote runs, VCS workflow, policies, workspace variables, private modulesmixing local CLI behavior with hosted team controls

Must-know distinctions

  • terraform init prepares providers, modules, and backends; it does not propose infrastructure changes.
  • terraform plan previews changes; terraform apply executes an approved change plan.
  • Provider blocks configure platform access; resources declare managed objects.
  • Modules package reusable configuration; state records managed object mappings.
  • Remote state centralizes state; workspaces separate state instances.
  • Variables pass values into configuration; outputs expose selected values out of a module or run.
  • HCP Terraform adds collaboration controls; it does not remove the need to understand core workflow.

Common traps

  • Choosing apply for initialization, backend, or provider-install problems.
  • Treating local state as acceptable when a team workflow needs shared state and locking.
  • Confusing a module source with a provider source.
  • Ignoring the risk of manual state edits.
  • Assuming a successful validate means the change is safe to deploy.

Practice strategy

For every miss, label it by workflow phase: initialize, validate, plan, apply, state, module, or hosted workflow. If you cannot say which phase the question is testing, return to focused drills before taking another timed mixed set.

Revised on Sunday, May 24, 2026