The Terraform Associate (004) Exam
The HashiCorp Certified: Terraform Associate (004) exam tests foundational knowledge of Terraform and HCP Terraform. This lesson describes the exam, its objectives and the version of Terraform it tests.
Learning outcomes
After completing this lesson, you will be able to:
- Describe the format, question types and Terraform version of the Terraform Associate (004) exam.
- Identify the eight exam objectives and the sub-objectives added in version 004.
- Explain why this guide teaches Terraform 1.12 behaviour where later releases differ.
Who the exam is for
HashiCorp describes the Terraform Associate as a certification for cloud engineers with foundational Terraform knowledge and skills, who can identify the features of HCP Terraform and Terraform Enterprise and distinguish them from Terraform Community Edition. Candidates are expected to have basic terminal skills and to understand on-premises and cloud architecture. Professional experience helps, but HashiCorp states that practising the objectives in a personal demo setup is also a valid way to prepare, which is what the labs on this site provide.
The exam is provider-neutral. Questions use examples from AWS, Azure or Google Cloud, but they test Terraform behaviour, not the details of a cloud service. You do not need to know what every argument of aws_instance does; you need to know how Terraform plans, references and stores it.
Exam facts
The following figures summarise the exam as published by HashiCorp. Check the official exam page before booking, because prices and policies can change.
1hour
Exam duration
1.12
Terraform version tested
$70.50USD
Price, plus local taxes and fees
2years
Credential validity
The exam is delivered online with a remote proctor, in English. Questions are true or false, multiple choice with one correct answer, and multiple answer, where the question states how many options to select. HashiCorp publishes neither the number of questions nor the passing score; candidates commonly report about 57 questions, and the practice exams on this site use 57 questions in 60 minutes. Results are pass or fail.
The eight objectives
HashiCorp organises the exam into eight objectives with lettered sub-objectives, from 1a to 8d, 37 in total. On this site each objective is a domain and each sub-objective a numbered skill area, so sub-objective 1a appears as 1.1, 4h as 4.8 and 8d as 8.4. HashiCorp does not publish weights. The following table lists the objectives with the number of sub-objectives in each and the share used by this site's practice exams, which is proportional to that number.
| Objective | Sub-objectives | Practice exam share |
|---|---|---|
| 1. Infrastructure as Code (IaC) with Terraform | 1a-1c (3) | 8% |
| 2. Terraform fundamentals | 2a-2d (4) | 11% |
| 3. Core Terraform workflow | 3a-3g (7) | 19% |
| 4. Terraform configuration | 4a-4h (8) | 22% |
| 5. Terraform modules | 5a-5d (4) | 11% |
| 6. Terraform state management | 6a-6d (4) | 11% |
| 7. Maintain infrastructure with Terraform | 7a-7c (3) | 8% |
| 8. HCP Terraform | 8a-8d (4) | 10% |
Objectives 3 and 4, the core workflow and the configuration language, make up about 40% of the material. They are also the foundation for every other objective, so time spent on them pays off twice.
What changed from the 003 exam
Version 004 replaced version 003 in January 2026. It tests Terraform 1.12 instead of 1.x releases from before 2023, includes HCP Terraform content throughout, and adds four sub-objectives that did not exist before.
- 4f: resource dependencies, including
depends_onand thecreate_before_destroylifecycle rule. - 4g: validating configuration with custom conditions: variable validation, preconditions, postconditions and check blocks.
- 4h: ephemeral values and write-only arguments, alongside sensitive data and Vault.
- 8c: organising HCP Terraform workspaces and projects.
Terraform 1.12 rules apply
Terraform releases continue after 1.12, and later versions relax some rules. For example, Terraform 1.15 allows variables in module source and version arguments, 1.16 allows import blocks inside child modules, and 1.17 allows variables in provider requirements. The exam tests 1.12 behaviour, so this guide teaches the 1.12 rules and notes newer behaviour only where it helps to avoid confusion.
New in the 004 exam
Planning study time
A cloud engineer who has written a few Terraform configurations at work has four weeks before the exam. They have never used HCP Terraform or written a custom condition. How should they plan?
The decisive facts are the objectives that are new to them and the weight of objectives 3 and 4.
A sensible plan spends the first week reviewing the workflow and language modules quickly, doing the labs to confirm that their habits match documented behaviour, such as variable precedence and lock file handling. The second week covers the new 004 topics in depth, custom conditions and ephemeral values, which day-to-day work may never have touched. The third week covers state management, import and HCP Terraform, using a free HCP Terraform organisation for the labs. The final week is for timed practice exams and revisiting weak domains.
Which version of Terraform does the 004 exam test?
Show answer
Terraform 1.12. Later releases relax some rules, such as allowing variables in module sources, but the exam expects 1.12 behaviour.
Exam Tips
Remember for the exam
- The exam tests Terraform 1.12 and HCP Terraform; it is provider-neutral.
- Question types are true/false, multiple choice and multiple answer.
- New in 004: 4f dependencies, 4g custom conditions, 4h ephemeral values and write-only arguments, 8c projects.
- HashiCorp publishes no weights; objectives 3 and 4 hold the most sub-objectives.