HashiCorp Terraform Associate
300 practice questions
Last reviewed: April 2026
Written from scratch against the official HashiCorp exam guide
Personal notes and resource links for your study journey
Track your exams, notes, and resources day by day
The HashiCorp Terraform Associate (004) is the foundational certification for infrastructure-as-code with Terraform, the de facto standard tool for declaring and provisioning cloud resources across AWS, Azure, GCP, and dozens of other providers. The 004 exam replaced 003 in January 2026 and refreshes the content to reflect current Terraform usage patterns, including Terraform Stacks, no-code modules, run tasks, drift detection, and Sentinel policy-as-code. It targets cloud engineers, DevOps engineers, and platform teams who use Terraform daily - practitioners who write modules, manage state, and run plans against production infrastructure rather than newcomers to IaC.
Conceptual questions about IaC benefits, declarative vs. imperative approaches, and why teams adopt tools like Terraform. Low weight (5%) and largely common-sense if you have used IaC at all.
Terraform-specific positioning: provider ecosystem, why Terraform vs. cloud-native tools (CloudFormation, ARM, Deployment Manager), HCP Terraform vs. open-source CLI. Light weight (5%).
Provider configuration, initialization, plugin architecture, registry usage, version constraints. About 11% of questions sit here - straightforward if you have run `terraform init` more than a few times.
Tainting, importing existing resources, workspaces, debugging with TF_LOG, console usage. 9% weight; the import workflow trips up candidates who have only ever greenfielded.
Module structure, inputs/outputs, sourcing from registry/Git/local paths, version pinning. 9% weight. Expect questions about when to use modules and how `for_each` interacts with them.
Write β Plan β Apply, plus destroy and refresh semantics. 18% weight - one of the heaviest domains. Know the order of operations and what `-target`, `-replace`, and `-refresh-only` actually do.
Largest tied domain at 19%. Local vs. remote backends, state locking, sensitive data in state, `terraform state` subcommands, migration between backends. The single most common stumbling block on the exam.
Tied largest at 19%. HCL syntax, variables, locals, dynamic blocks, expressions, functions, meta-arguments (`count`, `for_each`, `depends_on`, `lifecycle`). Heavy hands-on familiarity required.
New for 004: HCP Terraform (formerly Terraform Cloud) features - workspaces, VCS integration, run tasks, no-code modules, Sentinel policies, drift detection. 5% weight but expect every question to count.
$105k-$150k-$215k USD annual
Range covers US-based DevOps / platform / SRE roles where Terraform is a required skill. Entry roles and non-coastal markets trend lower; senior platform engineering at FAANG / unicorn companies pushes well above the high end (often $250k-$350k+ TC). The cert alone does not unlock these salaries - it complements demonstrated experience shipping IaC at scale.
Source: levels.fyi 2025-2026 DevOps / platform data, U.S. BLS OEWS May 2024 (15-1244 network/systems administrators, 15-1252 software developers), Glassdoor 2025-2026. Figures are approximate; actual compensation depends on role, region, and experience.
Terraform is the dominant infrastructure-as-code tool - "Terraform" appears in roughly 70%+ of cloud-engineering job postings on Indeed and LinkedIn, making it the closest thing the IaC space has to a universal expectation. The Associate cert functions as the de facto baseline check for IaC fluency: recruiters use it to filter for candidates who can read HCL, reason about state, and discuss module design without ramp-up time. Demand has only intensified since the IBM acquisition closed in February 2025, with enterprises standardizing on Terraform for multi-cloud governance. The cert is most valuable when paired with hands-on portfolio evidence (open-source modules, real provisioning experience); on its own it signals readiness rather than seniority.
There are no formal prerequisites. HashiCorp recommends roughly six months of hands-on Terraform usage - enough time to have written modules, managed remote state, debugged a failing plan, and worked with at least one provider in production-like conditions.
Familiarity with at least one major cloud platform (AWS, Azure, or GCP) is strongly recommended even though the exam is provider-agnostic. Several questions assume you can recognize provider-specific resource types (`aws_instance`, `azurerm_virtual_network`, `google_compute_instance`) and reason about how Terraform interacts with cloud APIs. Candidates who have only ever read about Terraform without running `init`, `plan`, and `apply` against real infrastructure tend to struggle with the state-management and core-workflow domains.
Terraform Associate (004) is considered approachable for engineers with day-to-day Terraform experience and noticeably harder for those who have only studied it conceptually. The exam is 57 questions in 60 minutes and uses a varied question format: multiple-choice, multiple-select, true/false, matching, fill-in-the-blank, and a hands-on lab-lite component - broader than most associate-level cloud exams. It is closed-book with an on-screen scratch area; no console access between lab segments.
Common stumbling blocks include state-management questions (locking, migration, sensitive data handling), workspace vs. module distinctions, sensitive variable handling, and the 003 β 004 differences - particularly the new content on Terraform Stacks, run tasks, no-code modules, drift detection, and Sentinel policy-as-code. Plan on 20-40 hours of study if you use Terraform regularly, 60+ hours otherwise.
Replaced 003. Adds content on Terraform Stacks, no-code modules, run tasks, drift detection, and Sentinel policy-as-code. Exam delivery moved from PSI to Certiverse; $70.50 USD per attempt, online-only via Certiverse secure browser, 2-year validity with re-take available 6 months before expiration. First HashiCorp cert revision under IBM ownership (acquisition closed February 2025).
Refreshed 002 content to align with Terraform 1.x. Retired January 8, 2026 when 004 launched.
Updated for Terraform 0.14+ syntax and HCL2 patterns. Retired April 2023.
Original Terraform Associate exam. Retired March 2021.
It's HashiCorp's associate-level certification for infrastructure as code with Terraform - the core workflow (write, plan, apply), state management, modules, providers, variables, and Terraform Cloud/Enterprise basics. It's aimed at engineers who use Terraform in their day-to-day work. The exam is about an hour of multiple-choice questions; see the Terraform Associate hub for the full objectives.
It's one of the more approachable IT certifications - a single hour of multiple-choice questions on the Terraform workflow, and most people with real Terraform experience pass in one to two weeks of study. The tricky bits are state/backends, module and provider mechanics, and precise command behavior rather than anything conceptually deep. Drilling practice questions is the fastest way to confirm you're ready.
Yes, if you work with infrastructure as code - Terraform is the de facto IaC standard, so the cert is a credible, low-cost signal that's widely recognized for DevOps, platform, and cloud roles. Paired with hands-on experience it's a solid resume addition. See how it compares on our State of Certifications report.
Around 57 questions in 60 minutes - multiple-choice, multiple-select, and true/false. There are no hands-on labs; it's a knowledge exam, not a performance-based one. There's no penalty for wrong answers, so answer every question.
It costs $70.50 USD - one of the cheaper professional cert exams - and no, there's no free version, though HashiCorp Learn provides free study material. Scheduling and ID details are on our Terraform exam info page.
Yes - it's delivered online and remotely proctored (through PSI). You take it from home with a webcam and a clear workspace, and a proctor monitors the session with a check before you start. There's no in-person test-center option; it's online only.
Register through HashiCorp's certification portal, which hands off to PSI to schedule your online proctored slot; you can reschedule through PSI up to 24 hours before the appointment. Our Terraform exam info page covers registration and the system requirements for the online exam.
Get hands-on writing and applying Terraform, follow HashiCorp's free "Terraform Associate" study guide and tutorials, and make sure you're solid on state, modules, providers, and the plan/apply workflow - then drill practice questions. Our Terraform Associate question bank covers every objective with explanations, and the hands-on lab reinforces the real Terraform workflow.
It's valid for 2 years. HashiCorp doesn't offer a renewal assessment - you recertify by retaking the current version of the exam before or after it expires. HashiCorp periodically updates the exam objectives, so a retake also brings you up to the latest version.
HashiCorp versions this exam periodically as Terraform evolves (002 β 003 β 004), and only the current version is offered at any time - you automatically sit whichever is live when you book. The differences between versions are incremental objective updates, so study against the current published exam guide rather than an older one. Always confirm the active version on HashiCorp's certification page before scheduling.
After you pass, HashiCorp issues your certificate and a shareable badge through their credentialing provider (Credly), where you can download the PDF and add the badge to LinkedIn. You'll get an email with the link once results are finalized.
004 (HashiCorp Terraform Associate) is a a moderately difficult exam expecting practical hands-on experience plus solid understanding of best practices Associate-level exam. Most candidates need 80-150 hours of study spread over 6-12 weeks for associate-level exams. Most candidates who score consistently above the passing threshold on practice exams pass on their first attempt.
Most candidates need 80-150 hours of study spread over 6-12 weeks for associate-level exams. Time-to-pass varies widely by prior experience. Engineers with hands-on production experience in the underlying technology typically need less; candidates new to the platform should plan toward the upper end of that range.
Yes - for cloud engineers, architects, and consultants who work with HashiCorp, 004 is generally worth it. It is a recognized credential that signals validated knowledge to employers, recruiters, and clients; whether the time and fee pay off for you depends on your role and goals.
The passing score for 004 is 700 / 1000. The exam contains 57 questions and lasts 1 hr.
The 004 exam fee is $70.50 USD. Fees are set by HashiCorp and may vary by region; always confirm the current price on the official HashiCorp certification page before booking.
HashiCorp Terraform Associate is valid for 2 years. You can re-take starting 6 months before expiration; passing extends the credential by 2 years from the new pass date.
Yes, HashiCorp certifications are delivered online only - there are no in-person test centers. The exam runs in a secure proctored browser; you'll need a quiet private room, webcam, microphone, stable broadband, and a government photo ID.
The 004 exam-simulation mode on CertLabPro mirrors the real exam: 57 questions in 1 hr, with the same 700 / 1000 passing threshold. You also get 15 study modes in total, and Browse mode renders every question with its answer and explanation statically.
$105k-$215k USD is the typical US salary range for roles that value 004, per levels.fyi 2025-2026 DevOps / platform data, U.S. BLS OEWS May 2024 (15-1244 network/systems administrators, 15-1252 software developers), Glassdoor 2025-2026. Actual pay depends on seniority, location, and role - senior and architect positions trend higher, entry-level lower.
Yes - a focused month is realistic for most candidates. Most candidates need 80-150 hours of study spread over 6-12 weeks for associate-level exams. If the HashiCorp platform is new to you, give yourself more time; with hands-on experience you may need less.
Some hands-on experience with HashiCorp helps, but 004 is achievable for motivated beginners who learn the fundamentals first.