HashiCorp · Associate

HashiCorp Certified: Terraform Associate (004) (Terraform Associate) practice exam & study guide

The HashiCorp Certified: Terraform Associate is HashiCorp’s foundational certification for Terraform, the infrastructure-as-code tool. It validates the ability to understand IaC concepts, use the core Terraform workflow, write and read HCL configuration, work with modules and providers, and manage Terraform state.

Terraform Associate is a vendor-neutral IaC credential in the sense that Terraform provisions across AWS, Azure, Google Cloud, and many other providers. It is practical: questions describe a configuration or workflow situation and ask what Terraform does or which command or syntax is correct.

This free hub gives you everything you need to prepare: a breakdown of the exam’s objective areas, realistic practice questions with teacher-style explanations, a glossary of the Terraform terminology the exam relies on, and full-length timed mock exams that mirror the real testing experience.

57
Questions
60 min
Time limit
70%
Mock pass %
8
Domains

Start studying Terraform Associate

New here? Follow the three steps below in order. Everything is free and needs no account.

  1. 1
    Learn the plan

    See all 8 domains in exam-weight order.

    Open study path
  2. 2
    Drill by domain

    Practice one topic at a time with explained answers.

    Start with the first domain
  3. 3
    Sit a timed mock

    57 questions · 60 min · 70% to pass our mock.

    Take the mock exam

All Terraform Associate study resources

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 domainExam weightPractice
Infrastructure as Code (IaC) with Terraform12%Practice this topic
Terraform Fundamentals12%Practice this topic
Core Terraform Workflow13%Practice this topic
Terraform Configuration13%Practice this topic
Terraform Modules13%Practice this topic
Terraform State Management13%Practice this topic
Maintain Infrastructure with Terraform12%Practice this topic
HCP Terraform12%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.

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.