HashiCorp Certified: Terraform Infrastructure Engineer Professional (002) practice exam and study path
A free, timed 60-question 002 practice exam in 90 minutes, scored by domain, with every option explained after you submit. Also 220 practice questions you can check one at a time, a page for every task in the exam guide, and a study path. No sign-up.
$11.99for 12 months
For engineers who run Terraform in production: scalable configuration and modules, remote state and drift, upgrades across environments, CI/CD and dynamic credentials, secrets and policy as code, module contracts and tests, and HCP Terraform operations.
The exam
- Exam code
- 002
- Questions
- Not yet published
- Time
- 90 minutes
- Passing score
- Not published
- Exam fee
- $200 (USD)
- Question types
- multiple choice, multiple response
A 90-minute, online-proctored multiple-choice exam in English that tests Terraform 1.15, launched in October 2026. On November 7, 2026 the certification page offered registration and gave the price as $200 USD, plus locally applicable taxes and fees; a free retake is not included. The credential is valid for 2 years and is renewed by passing the exam again from 6 months before it expires, or by passing a Terraform Authoring and Operations Advanced exam. HashiCorp strongly recommends the Terraform Associate (or equivalent experience) and requires experience with Terraform in production. It publishes neither the number of questions nor a passing score; our forms hold 60 questions, a count of ours, and the seven objectives are weighted by their number of sub-objectives because HashiCorp publishes no weights.
From HashiCorp's certification page and exam guide, checked Nov 7, 2026.
Domains and weights
Domain 1: Scalable Terraform Configuration Design
20%
Domain 2: Terraform State and Backend Operations
13%
Domain 3: Infrastructure Lifecycle and Operations
22%
Domain 4: CI/CD and Automation Workflows
10%
Domain 5: Terraform Security and Governance
13%
Domain 6: Advanced Module Usage and Registry Practices
10%
Domain 7: HCP Terraform / Enterprise Operations
12%
On our roadmap this comes after Terraform Associate. See every certification.
Practice
220 original practice questions, every option explained with the HashiCorp documentation page that proves it. Free, no sign-up; progress stays on this device.
220 questions · practice mode
All domains
Every sample question for this exam, in domain order.
44 questions · practice mode
Topic quiz — Domain 1: Scalable Terraform Configuration Design
A topic quiz on domain 1 (20% of the exam).
28 questions · practice mode
Topic quiz — Domain 2: Terraform State and Backend Operations
A topic quiz on domain 2 (13% of the exam).
49 questions · practice mode
Topic quiz — Domain 3: Infrastructure Lifecycle and Operations
A topic quiz on domain 3 (22% of the exam).
22 questions · practice mode
Topic quiz — Domain 4: CI/CD and Automation Workflows
A topic quiz on domain 4 (10% of the exam).
28 questions · practice mode
Topic quiz — Domain 5: Terraform Security and Governance
A topic quiz on domain 5 (13% of the exam).
22 questions · practice mode
Topic quiz — Domain 6: Advanced Module Usage and Registry Practices
A topic quiz on domain 6 (10% of the exam).
27 questions · practice mode
Topic quiz — Domain 7: HCP Terraform / Enterprise Operations
A topic quiz on domain 7 (12% of the exam).
60 questions · 90 min · timed
Free practice exam
The real exam's pace, no feedback until you submit.
60 questions · 90 min · timed · exam pack
Practice exam 1
Included in the Terraform Infrastructure Engineer Professional exam pack.
60 questions · 90 min · timed · exam pack
Practice exam 2
Included in the Terraform Infrastructure Engineer Professional exam pack.
60 questions · 90 min · timed · exam pack
Practice exam 3
Included in the Terraform Infrastructure Engineer Professional exam pack.
More practice exams
The lessons, the sample questions on every task page and the first full practice exam are free and stay free. A pack adds the further timed 002 practice exams.
Terraform Infrastructure Engineer Professional exam pack
$11.99for 12 months
- Every paid 002 practice exam, timed, with every option explained
- The next version of this exam included when it changes within your 12 months
- 12 months of access. One payment, nothing renews by itself.
- 14-day refund, no conditions
- 14-day refund, no conditions: ask within 14 days of buying and you get the whole payment back.
- No pass guarantee. These are practice exams written by us from the exam guide and the HashiCorp documentation; a score here does not predict your result on the real exam.
Study path
One module per exam domain. Lessons that already exist on BytePatterns are linked; the rest are being written.
Module 1: Scalable Terraform Configuration Design
1From requirements to code: typed inputs, maps of named things and module callsTask 1.1
Lesson coming
2Predictable configuration: stable keys, file layout, providers outside modules, moved blocksTask 1.2
Lesson coming
3Tracing values: variables, locals, conditionals, splats and module outputsTask 1.3
Lesson coming
4for_each instances: keys, each.value and the addresses state printsTask 1.4
Lesson coming
5Predicting function results: collections, strings, numbers, try and canTask 1.5
Lesson coming
6Advanced configuration: for expressions, dynamic blocks, checks and lifecycleTask 1.6
Lesson coming
7Providers at scale: requirements, aliases in modules and the lock fileTask 1.7
Lesson coming
8AI coding agents with the Terraform MCP serverTask 1.8
Lesson coming
Module 2: Terraform State and Backend Operations
9Remote backends, partial configuration, migration and terraform_remote_stateTask 2.1
Lesson coming
10Why state needs a lock: concurrent runs against one stateTask 2.1
Partly covered by: Race Conditions
11Drift: refresh-only plans and deciding which side winsTask 2.2
Lesson coming
12Dependency chains: the graph Terraform walks and the order it impliesTask 2.3
Partly covered by: Topological Sort
13Cycles in the dependency graph and how to break themTask 2.3
Partly covered by: Cycles in a Directed Graph
14Upgrading Terraform environment by environmentTask 2.4
Lesson coming
15Reading state: state list, state show and terraform show -jsonTask 2.5
Lesson coming
Module 3: Infrastructure Lifecycle and Operations
16Splitting projects by blast radius, ownership and stateTask 3.1
Lesson coming
17Plans as review artifacts: modes, targeting, exclusion and saved plansTask 3.2
Lesson coming
18Applying safely: locks, partial failures and provisionersTask 3.3
Partly covered by: Locks and Mutexes
19Importing existing infrastructure in wavesTask 3.4
Partly covered by: Migration: The 7 Rs, TCO & Waves
20Lifecycle changes: replace, removed, moved and destroyTask 3.5
Lesson coming
21Recovering from a bad change: state versions and backupsTask 3.5
Partly covered by: Disaster Recovery: RPO & RTO
22Environments from shared code: root modules, backends and workspacesTask 3.6
Lesson coming
23Troubleshooting runs: validate, logs, timeouts and state repairTask 3.7
Partly covered by: Observability Basics
24Data between projects: outputs, remote state and data sourcesTask 3.8
Lesson coming
25Provider and module versions: constraints, upgrades and the lock fileTask 3.9
Lesson coming
Module 4: CI/CD and Automation Workflows
26Terraform pipelines: plan on pull request, apply the saved planTask 4.1
Lesson coming
27Rolling change through environments without downtimeTask 4.2
Partly covered by: Scheduling & Rolling Updates
28Automation settings: environment variables, CLI configuration and stale locksTask 4.2
Lesson coming
29Dynamic provider credentials for many teams, projects and workspacesTask 4.3
Partly covered by: Shared Responsibility & IAM
30Which value wins: .tfvars, .auto.tfvars, -var and TF_VAR_Task 4.4
Lesson coming
Module 5: Terraform Security and Governance
31Secrets in Terraform: sensitive, ephemeral and write-only valuesTask 5.1
Partly covered by: ConfigMaps, Secrets & Env
32Encrypting state and plan files with keys you holdTask 5.1
Partly covered by: KMS, Envelope Encryption & Private CA
33Rotating secrets with write-only versions and ephemeral resourcesTask 5.2
Lesson coming
34Least-privilege pipeline identities and tokensTask 5.3
Partly covered by: Shared Responsibility & IAM
35Organization guardrails and team policies as codeTask 5.4
Partly covered by: Organizations, SCPs & Control Tower
36Risky plans: replacements, destroys and the lifecycle rules that stop themTask 5.5
Lesson coming
Module 6: Advanced Module Usage and Registry Practices
37When a module earns its keep, and moving resources into oneTask 6.1
Lesson coming
38The module contract: inputs, outputs, providers and breaking changesTask 6.2
Lesson coming
39Registry modules: sources, versions and private registriesTask 6.3
Lesson coming
40terraform test: run blocks, assertions, expected failures and mocksTask 6.4
Lesson coming
Module 7: HCP Terraform / Enterprise Operations
41Operating HCP Terraform: run workflows, health assessments and StacksTask 7.1
Lesson coming
42Resource usage and cost estimationTask 7.2
Partly covered by: AWS Cost Levers
43Environments as workspaces in projects with variable setsTask 7.3
Lesson coming
44Upgrading Terraform versions across workspacesTask 7.4
Lesson coming
45Policy as code in the run: policy sets, enforcement levels and overridesTask 7.5
Lesson coming
Every task in the exam guide
The exam guide splits each domain into task statements. Each one has a page with a short summary, the lessons that teach it and open sample questions.
Domain 1: Scalable Terraform Configuration Design
- 1.1Translate business requirements into infrastructure code6 sample questions
- 1.2Predictable and secure Terraform configuration5 sample questions
- 1.3Trace input variables, local values, and outputs to identify the source of a configuration issue6 sample questions
- 1.4Trace dynamic resources created with for_each5 sample questions
- 1.5Predict the value of an expression that uses a Terraform function6 sample questions
- 1.6Implement advanced configurations5 sample questions
- 1.7Configure Terraform providers6 sample questions
- 1.8Use the Terraform MCP server to enhance development with AI coding agents5 sample questions
Domain 2: Terraform State and Backend Operations
- 2.1Create and manage Remote Backend and Remote State Configuration6 sample questions
- 2.2Manage state and remediate drift6 sample questions
- 2.3Identify dependency chains before upgrades5 sample questions
- 2.4Upgrade Terraform versions across environments5 sample questions
- 2.5Inspect Terraform state6 sample questions
Domain 3: Infrastructure Lifecycle and Operations
- 3.1Manage and scale infrastructure projects5 sample questions
- 3.2Plan changes to infrastructure6 sample questions
- 3.3Apply changes to infrastructure6 sample questions
- 3.4Import existing infrastructure to an infrastructure project5 sample questions
- 3.5Manage infrastructure lifecycle6 sample questions
- 3.6Manage multiple infrastructure environments5 sample questions
- 3.7Troubleshoot deployment issues6 sample questions
- 3.8Input and output data from infrastructure projects5 sample questions
- 3.9Manage provider and module versions5 sample questions
Domain 4: CI/CD and Automation Workflows
Domain 5: Terraform Security and Governance
- 5.1Identify best practices for secrets6 sample questions
- 5.2Use secret rotation and integration with secrets management tools5 sample questions
- 5.3Secure CI/CD pipeline identities and access5 sample questions
- 5.4Establish core compliance/policy rules along with Team/Project specific policies6 sample questions
- 5.5Identify and mitigate risky infrastructure changes6 sample questions
Domain 6: Advanced Module Usage and Registry Practices
Domain 7: HCP Terraform / Enterprise Operations
How these questions are made
- Written by us from the exam guide's task statements and the HashiCorp documentation — never from real exam content.
- Every option carries its own explanation and a link to the HashiCorp page that proves it.
- A question enters a timed exam only after an independent check; until then it is a practice question.
- Results are a plain percentage, per domain too — not an imitation of HashiCorp's scaled score.
Questions about the 002 practice exam
- Is the 002 practice exam free?
- Yes. The full practice exam (60 questions, 90 minutes) is free with no sign-up, and so are the 220 practice questions, the task pages and the study path. Your attempts are saved in this browser, on this device.
- How many questions does it have, and is it timed?
- 60 questions in 90 minutes: the real 002 pace, scaled to this form. When the time runs out, the exam is submitted as it stands.
- Are the answers explained?
- After you submit, not during: like the real exam, the timed exam gives no feedback until the end. Then you get your score overall and per exam domain, and every question with each option explained and a link to the HashiCorp documentation page behind it. In practice mode an answer is explained as soon as you check it.
- What does the Terraform Infrastructure Engineer Professional exam pack add?
- 3 more timed practice exams (Practice exam 1: 60 questions, 90 minutes; Practice exam 2: 60 questions, 90 minutes; Practice exam 3: 60 questions, 90 minutes), each scored and explained the same way, and the next version of this exam if it changes within your 12 months. 12 months of access. One payment, nothing renews by itself. Everything above stays free. See the pack.
- Can I get a refund?
- Yes, with no conditions: ask within 14 days of buying and you get the whole payment back. The details are in the terms.
- Is this an official HashiCorp practice exam?
- No. BytePatterns is not affiliated with, endorsed or sponsored by HashiCorp. Every question is written by us from the public exam guide and the HashiCorp documentation, never from real exam content, and a score here does not predict your result on the real exam. HashiCorp lists its own preparation resources on its certification page.