Study guide
1.1 Current Exam Facts
HashiCorp Certified: Terraform Associate 004
Track your progress as you read
Finished sections get a check mark.
1 Introduction & Exam Overview
1.1 Current Exam Facts 1.2 Format, Delivery, Retakes, and Recertification 1.3 004 Changes, Terraform 1.12, and Study Plan
2 Infrastructure as Code with Terraform
2.1 What Infrastructure as Code Is 2.2 Advantages of IaC Patterns 2.3 Multi-Cloud, Hybrid, and Service-Agnostic Workflows
3 Terraform Fundamentals: Providers & State
3.1 Install and Version Terraform Providers 3.2 How Terraform Uses Providers 3.3 Configuration with Multiple Providers 3.4 How Terraform Uses and Manages State
4 Core Terraform Workflow: Init & Validate
4.1 The Terraform Write–Plan–Apply Workflow 4.2 Initialize a Working Directory 4.3 Validate a Configuration
5 Plan, Apply, Destroy, and Formatting
5.1 Generate and Review an Execution Plan 5.2 Apply Changes to Infrastructure 5.3 Destroy Terraform-Managed Infrastructure 5.4 Formatting and Style Adjustments
6 Resources, Data Sources, and References
6.1 Resource Blocks vs Data Blocks 6.2 Resource Attributes and Cross-Resource References 6.3 Resource Addressing and Interpolation Patterns
7 Variables, Outputs, and Complex Types
7.1 Input Variables, tfvars, and Precedence 7.2 Output Values 7.3 Complex Types: list, map, object, tuple, set
8 Dynamic Configuration and Dependencies
8.1 Expressions, count, for_each, and dynamic Blocks 8.2 Built-in Functions 8.3 Dependencies, depends_on, and Lifecycle Rules
9 Conditions, Secrets, and Sensitive Data
9.1 Custom Conditions: validation, precondition, postcondition, check 9.2 Sensitive Data Handling 9.3 Vault, Ephemeral Values, and Write-Only Arguments
10 Terraform Modules
10.1 How Terraform Sources Modules 10.2 Variable Scope within Modules 10.3 Using Modules in Configuration 10.4 Managing Module Versions
11 Terraform State Management
11.1 The Local Backend 11.2 State Locking 11.3 Remote State and the backend Block 11.4 Resource Drift and State Operations
12 Maintain Infrastructure with Terraform
12.1 Import Existing Infrastructure 12.2 Inspect State with the CLI 12.3 Verbose Logging and Diagnostics
13 HCP Terraform
13.1 Create Infrastructure with HCP Terraform 13.2 Collaboration and Governance Features 13.3 Workspaces and Projects 13.4 HCP Terraform Integrations
1.1 Current Exam Facts
Key Takeaways Explain This Topic AI
HashiCorp Certified: Terraform Associate (004) tests Terraform 1.12 in a 1-hour, English, online-proctored multiple-choice exam.
The published price is $70.50 USD plus locally applicable taxes and fees, and a free retake is not included.
HashiCorp does not publish an official 004 question count or passing score; do not treat third-party 57-question or 70% figures as HashiCorp facts.
There are no mandatory prerequisites; HashiCorp recommends basic terminal skills, understanding of on-premises and cloud architecture, and professional experience.
The credential expires in 2 years, and the intended audience is Cloud Engineers who can distinguish Terraform Enterprise features from Community edition.
Last updated: August 2026
Why 004 logistics matter on this exam
Before you memorize depends_on or HCP Terraform projects, lock the HashiCorp Certified: Terraform Associate (004) facts that HashiCorp actually publishes. Those facts decide which product version you study, how long you have in the seat, what you pay, and which blog numbers you must ignore. The 004 exam is a multiple-choice assessment delivered as an online-proctored appointment. It is not a lab. It is not the four-hour Terraform Authoring and Operations Professional exam. Candidates lose hours when they study a stale 003 outline, treat third-party "57 questions / 70 percent" tables as official, or confuse Community edition with HCP Terraform (the current name for the hosted service formerly called Terraform Cloud) and Terraform Enterprise .
HashiCorp's source of record for this section is the Infrastructure Automation certification page at developer.hashicorp.com/certifications/infrastructure-automation . Use that page, not a vendor dump or an older exam-meta row, when a number is in dispute.
Official 004 facts you can quote
HashiCorp currently lists these logistics for Terraform Associate (004):
Fact Official 004 value Exam-day use
Credential name HashiCorp Certified: Terraform Associate (004) Register for 004, not a retired 002/003 appointment
Product version tested Terraform 1.12 Read 1.12 language docs; do not study 0.12 or Professional's 1.6 as the Associate baseline
- Assessment type Multiple choice Expect selected-response items, not a live terraform apply lab
- Format Online proctored Plan ID, webcam, private room, and a compatible machine
- Duration 1 hour Budget time across eight objective groups; there is no published break
Price $70.50 USD plus locally applicable taxes and fees Budget tax on top of $70.50; one purchase is one appointment
- Free retake Not included A fail or a missed appointment requires another purchase
- Language English The Associate exam is offered in English only
- Credential expiration 2 years Recertify before the badge expires
- Official question count Not published Do not memorize a 57-question figure as a HashiCorp fact
- Official passing score Not published HashiCorp's passing-score article says scores are not published
Those rows are the entire published logistics set. HashiCorp's Zendesk article "What is the passing score?" states that HashiCorp does not publish passing scores. The certification page also does not publish how many items appear on 004. Third-party sites still repeat 57 questions and a 70% cut score from older Associate folklore. Those numbers are not HashiCorp 004 facts. If a practice test uses 57 items, treat that as a vendor design choice, not the real exam length.
A one-hour clock is short. You will not have time to re-derive HCL from first principles on every item. The published duration is why this guide later pushes a write-plan-apply workflow you can run from memory, plus a separate HCP Terraform vocabulary pass. The published price is also a study constraint: because a free retake is not included, a rushed first attempt is a second $70.50 plus tax.
Audience HashiCorp is testing
HashiCorp says you should take this exam if you are a Cloud Engineer with foundational Terraform knowledge and skills who can identify Terraform Enterprise features and distinguish them from Community edition . The official 004 learning path adds that the credential is for cloud engineers who know fundamental Terraform Community Edition and HCP Terraform concepts and skills. That sentence is the product map for the whole guide:
Community edition is the Terraform CLI and language you install and run yourself. You write HashiCorp Configuration Language ( HCL ), initialize providers, plan, apply, and store state in a backend you choose.
HCP Terraform is HashiCorp's hosted Terraform service. It stores state, runs remote operations, and adds workspaces, projects, collaboration, and governance features that Community edition does not provide by itself.
Terraform Enterprise is the self-hosted enterprise product. The Associate exam does not ask you to install Enterprise, but it does expect you to recognize Enterprise-class features and contrast them with Community edition.
If your only Terraform experience is clicking Apply in a hosted workspace, you still need Community edition CLI skills: terraform init , plan , apply , destroy , fmt , validate , state inspection, and provider versioning. If your only experience is a laptop local backend, you still need HCP Terraform workspace, project, and integration vocabulary.
Prerequisites: recommended, not mandatory
HashiCorp lists no mandatory prerequisites . You do not need a prior HashiCorp badge, a paid HCP Terraform organization, or a documented number of production years. The official recommended preparation is:
Basic terminal skills — change directories, edit files, run the Terraform binary, and read command output.
Understanding of on-premises and cloud architecture — compute, networking, identity, and the idea that the same HCL can target more than one platform through providers.
Professional experience recommended — HashiCorp says professional experience is recommended, and the learning path says you are best prepared if you have used Terraform in production. The same pages say you can also prepare by practicing the exam objectives in a personal demo setup.
That last clause is the honest study path for career-changers: stand up a throwaway cloud account or local providers, write real configuration, and break state on purpose. The exam still assumes you have seen a real workflow, not only slides.
How to use these facts while you study
Treat unpublished items as unpublished. Do not convert a blog's 70% into a personal "need 40 of 57" target. HashiCorp's Associate results report shows performance on each exam objective and does not share a score percentage or scoring threshold. Study every lettered objective in the eight 004 groups instead of overweighting a guessed domain percentage.
Treat the product version as a filter. Documentation URLs for this exam should be the Terraform 1.12 language and CLI pages. Features that exist only in later unreleased versions are out of scope. Deprecated paths are a different trap: terraform taint still exists on 1.12, but its own documentation tells you to add the -replace option to terraform apply instead. The current CLI replace path is terraform apply -replace .
Treat the audience sentence as a content warning. A question that asks which capability requires Terraform Enterprise or HCP Terraform rather than Community edition is in scope even if you have never paid for either product. You must know what Community edition can do alone and what requires the hosted or enterprise products.
Common 004 logistics traps:
Studying a 003 outline and missing 1.12 topics HashiCorp added for 004.
Memorizing a vendor question count or passing percentage as if HashiCorp published it.
Showing up expecting a lab or a four-hour Professional seat.
Assuming the $70.50 price includes a second attempt.
Using a retired hosted-product name instead of HCP Terraform .
Skipping HCP Terraform because you only use the Community edition CLI.
The rest of this chapter covers how the appointment, retake clock, and recertification rules work, then how 004 changed from 003 and how to sequence the eight official objective groups.