Terraform Associate exam domains
The Terraform Associate exam is weighted across 8 domains. Pick any domain below to drill it — or read the full breakdown in the FAQ.
| Exam domain | Exam weight | Practice |
|---|---|---|
| Infrastructure as Code (IaC) with Terraform | 12% | Practice this topic |
| Terraform Fundamentals | 12% | Practice this topic |
| Core Terraform Workflow | 13% | Practice this topic |
| Terraform Configuration | 13% | Practice this topic |
| Terraform Modules | 13% | Practice this topic |
| Terraform State Management | 13% | Practice this topic |
| Maintain Infrastructure with Terraform | 12% | Practice this topic |
| HCP Terraform | 12% | Practice this topic |
Sample Terraform Associate questions
A sample of the Terraform Associate questions on this hub. Each links through to the full question, the correct answer, and an explanation of why every other option is wrong.
- A team wants an output that displays a custom DNS name when the variable custom_dns is set to a non-empty string, but otherwise falls back to the auto…View question
- A team wants an aws_cloudwatch_metric_alarm to be created only when a boolean variable named enable_monitoring is set to true. When enable_monitoring…View question
- A developer runs 'terraform destroy' to tear down a temporary test environment. Later that day, they need the exact same environment back. The configu…View question
- A developer has finished editing a Terraform configuration and wants to provision the infrastructure. They have not saved a plan file. Which single co…View question
- A new engineer clones your Terraform repository containing several .tf files that reference the AWS provider. They immediately run 'terraform plan' an…View question
- A junior engineer has finished writing a new Terraform configuration that adds several resources and modifies an existing security group. Before makin…View question
- A developer manages three AWS S3 buckets in a single Terraform configuration. To decommission just one bucket, they delete its resource block from the…View question
- You are writing HCL to create three EC2 instances from a variable named `instance_names`, which is a list of strings. You want each instance's `Name`…View question
- Your team must always deploy EC2 instances using the most recent official Ubuntu AMI, which changes frequently. You do not manage the AMI itself with…View question
- A DevOps engineer writes Terraform configuration to provision three EC2 instances. After running 'terraform apply' successfully, a teammate runs 'terr…View question
Key Terraform Associate terms
Start with these terms, then explore the full glossary. Each links to a plain-English definition written for the Terraform Associate exam.
Terraform Associate frequently asked questions
What is the Terraform Associate certification?+
HashiCorp positions the Terraform Associate as verifying the foundational knowledge and skills to use Terraform in production. The current exam (004) tests Terraform 1.12 and covers IaC concepts, the write-plan-apply workflow, HCL configuration, modules, providers, and state management.
It expects you to reason about how Terraform behaves — what terraform plan shows, how state maps configuration to real resources, how modules take inputs and produce outputs — rather than only memorising commands.
What topics are on the Terraform Associate exam?+
The exam is organised into eight objective areas. HashiCorp does not publish percentage weightings for these objectives, so the near-even percentages shown here are our own editorial split to guide study time — they are NOT official HashiCorp weightings. Cover all eight areas.
Infrastructure as Code (IaC) with Terraform (12%)
Covers what infrastructure as code is and its advantages — consistency, versioning, automation, and repeatability — and the idea of declarative, idempotent infrastructure that can target multiple providers.
Terraform Fundamentals (12%)
Covers what Terraform is and how it differs from other IaC tools, the role of providers and the Terraform Registry, provider installation and version constraints, and how Terraform uses state to map configuration to real infrastructure.
Core Terraform Workflow (13%)
Covers the core workflow (write, init, plan, apply, destroy), what terraform init does, reading plan output, understanding apply versus destroy, and resource dependencies both implicit and explicit with depends_on.
Terraform Configuration (13%)
Covers writing HCL — resources, data sources, variables (types, defaults, validation), outputs, and locals — plus built-in functions and expressions, resource meta-arguments (count, for_each, depends_on, lifecycle), and dynamic blocks.
Terraform Modules (13%)
Covers using modules from the public registry, passing inputs and reading outputs, module versioning and sources, and writing and structuring your own modules for reuse.
Terraform State Management (13%)
Covers local versus remote state and backends, state locking and why it matters, sensitive data in state, and state commands like list, show, mv, and rm, plus handling drift.
Maintain Infrastructure with Terraform (12%)
Covers commands and practices for maintaining infrastructure — terraform import to adopt existing resources, CLI workspaces for multiple states, terraform taint/replace and refresh, and debugging with TF_LOG.
HCP Terraform (12%)
Covers HCP Terraform, HashiCorp’s hosted service — remote state storage and locking, run workflows (plan/apply), workspaces and variable sets, and the private module registry at a high level.
Is the Terraform Associate hard?+
Terraform Associate is a foundational exam and is approachable for people who have used Terraform, but it does test exact behaviours — what a command does, how state works, how count and for_each differ — so hands-on practice matters.
The most common stumbling blocks are state management and the finer points of configuration (meta-arguments, functions, module inputs). Practising by actually writing and applying configuration is the most effective preparation.
How many questions are on the Terraform Associate exam and how long is it?+
HashiCorp publishes a 1-hour duration for the Terraform Associate; the exact question count can vary between exam versions, so we do not state a fixed number as official. The exam is delivered online with remote proctoring.
Our full-length practice mock uses a 57-question, 60-minute session that matches the published 1-hour duration so you can rehearse pacing — the question count is ours.
What score do you need to pass the Terraform Associate?+
HashiCorp does not publicly publish a passing score for the Terraform Associate exam, so we do not state one as fact. Because there is no published number, our practice mock uses a 70% threshold purely as a study checkpoint — aim comfortably above it and focus on consistent strength across all eight objective areas.
How much does the Terraform Associate exam cost?+
The Terraform Associate exam fee is set by HashiCorp; check HashiCorp’s certification page for current pricing. The certification is valid for two years. Everything on this hub is free.
Who should take the Terraform Associate?+
The Terraform Associate is aimed at cloud engineers, DevOps and platform engineers, systems administrators, and developers who use or want to use Terraform to provision infrastructure.
HashiCorp lists only basic prerequisites — basic terminal skills and a basic understanding of on-premises and cloud architecture — but hands-on experience writing and applying Terraform configuration makes the exam far more approachable.
What jobs and salaries can the Terraform Associate lead to?+
Terraform Associate is relevant to roles such as DevOps engineer, platform engineer, cloud engineer, and site reliability engineer, where provisioning infrastructure as code is part of the job. Terraform skills are widely applicable because the tool is provider-agnostic.
How much any certification moves compensation depends heavily on geography, seniority, and hands-on experience, so treat any single salary figure with caution. The Terraform Associate is best viewed as a way to demonstrate practical IaC skills rather than a guaranteed raise on its own.
How long does it take to study for the Terraform Associate?+
Candidates with Terraform experience often need only a few weeks; those newer to it should budget longer and spend time writing and applying real configuration. The most efficient path is to learn the objective areas while practising in a terminal, then shift to timed question practice.
A good rhythm is to study one objective area at a time and take its topic quiz immediately, then move to full-length mocks in the final stretch — reviewing every explanation, including for questions you answered correctly, because Terraform distractors are built from plausible but incorrect syntax or behaviour. Use the per-domain results here to find your weakest area.
How should you prepare for the Terraform Associate?+
Study the eight objective areas above and drill practice questions area by area. Every MockAPI question reveals a full explanation and tells you why each wrong answer is wrong — essential for an exam that hinges on precise Terraform behaviour. Read the Terraform documentation alongside these questions.
When you can answer topic drills comfortably, move to a full-length timed mock to rehearse pacing, and pair this with hands-on practice writing HCL, using modules, and managing state. Use the glossary to nail terminology, and treat our mock threshold as a checkpoint, not the official bar.
Can you take the Terraform Associate exam online?+
Yes. HashiCorp delivers the Terraform Associate exam online with remote proctoring through its testing partner. It requires a private, quiet room, a clear workspace, a webcam and microphone, a stable connection, and government-issued photo ID, with a proctor monitoring the session.
Check HashiCorp’s certification pages for the current retake policy and scheduling details. Once earned, the Terraform Associate is valid for two years, after which you recertify by taking the current version of the exam.
What certification should you take after the Terraform Associate?+
After the Associate, HashiCorp offers the Terraform Authoring and Operations Professional certification for deeper, hands-on Terraform skills, along with associate and professional certifications for other HashiCorp tools such as Vault and Consul.
Beyond HashiCorp’s own tracks, Terraform pairs naturally with cloud-provider certifications (AWS, Azure, Google Cloud). Pairing any of these with real infrastructure-as-code experience is what turns a certificate into a career.