HashiCorp
HashiCorp Certified: Terraform Associate (004) validates foundational Terraform knowledge and skills: what infrastructure as code is, how Terraform uses providers and state, the core workflow (init, validate, plan, apply, destroy and fmt), configuration with resources, data sources, variables, outputs, complex types and functions, modules, state management with backends and locking, maintaining infrastructure with import and the CLI, and HCP Terraform. The outline has eight areas and 37 objectives, and the exam tests Terraform 1.12. Version 004 replaces 003 and adds four topics: dependencies with depends_on and the create_before_destroy lifecycle rule, validation with custom conditions, ephemeral values and write-only arguments, and organizing workspaces and projects in HCP Terraform. HashiCorp does not publish a date for the outline; we follow its official exam content list for version 004.
No registration · No credit card
Question bank updated on November 18, 2026
A configuration uses resources from two different providers: resource "random_pet" "petname" { length = 3 } resource "aws_s3_bucket" "sample" { bucket = random_pet.petname.id } What does Terraform do when you apply it?
Your progress
The CertifyDeck Terraform Associate (004) practice test includes 327+ original exam questions written from the official HashiCorp Certified: Terraform Associate (004) skills outline, each with the correct answer explained and available in English and Spanish.
Practice by domain with a free online test, take a timed 60-minute mock exam weighted like the real test and review your mistakes. Start for free, no sign-up or credit card, and try the practice test before deciding.
Terraform Associate (004) sample questions with answers and explanations
Official weighting per domain. Start for free, no sign-up.
Cloud, platform, DevOps and SRE engineers, system administrators and developers starting to manage infrastructure with Terraform. HashiCorp aims it at cloud engineers with foundational Terraform knowledge who can identify Terraform Enterprise features and distinguish them from the Community edition. Prerequisites listed by HashiCorp: basic terminal skills and an understanding of on-premises and cloud architecture; professional experience is recommended, but you can also prepare by practicing the objectives in a personal demo setup.
Terraform Associate is HashiCorp's entry-level certification: it checks that you understand infrastructure as code and can use Terraform day to day, from writing configuration to managing state and working as a team with HCP Terraform. It is not tied to any cloud: the official tutorials use specific providers, but HashiCorp states that provider-specific knowledge is not necessary for the exam. Version 004 tests Terraform 1.12 and replaces 003, which is why recent features such as the moved, removed and import blocks, custom conditions and ephemeral values show up.
The official exam content list has eight areas and 37 objectives: infrastructure as code with Terraform, Terraform fundamentals (providers and state), the core Terraform workflow, Terraform configuration, Terraform modules, Terraform state management, maintaining infrastructure with Terraform, and HCP Terraform. HashiCorp does not publish weights for each area, so do not skip any of them; configuration has the most objectives (eight).
Fundamentals and workflow: what IaC is and its advantages, how Terraform handles multi-cloud and hybrid environments, how providers are installed and versioned with required_providers and the .terraform.lock.hcl dependency lock file, how to use several providers and aliases in one configuration, and what state is for. Then every command in the workflow: init, validate, plan, apply, destroy and fmt, what each one does and in which order. In configuration: resource versus data blocks, cross-resource references, variables and outputs, complex types (list, map, set, object, tuple), expressions, functions and dynamic blocks, implicit and explicit dependencies with depends_on, the create_before_destroy rule, validation rules, preconditions, postconditions and check blocks, and handling sensitive data with sensitive, ephemeral values, write-only arguments and Vault.
Modules, state and HCP Terraform: where Terraform sources modules from (local path, registry, Git), variable scope inside a module and how to pin versions; the local backend, state locking, remote state with the backend block, resource drift with refresh-only mode and refactoring with moved and removed. For maintenance: importing existing infrastructure, inspecting state with terraform state and enabling verbose logging with TF_LOG. Finally, HCP Terraform: workspaces and remote runs, teams, the private registry, policies, dynamic credentials, drift detection, variable sets, projects, run triggers and CLI integration through terraform login and the cloud block.
HashiCorp asks for basic terminal skills and an understanding of on-premises and cloud architecture. With that background, two to four weeks are usually enough: work through the official exam content list, which maps every objective to a page in the Terraform documentation and a tutorial, and do the tutorials in a personal demo setup, because many questions ask what a command does or what happens when you change a line of configuration. If you are coming from version 003, review the four new topics and HCP Terraform first, since that is usually the least practiced part.
Start free to gauge your level and practice by area; the mock exam uses 60 questions in 60 minutes to train your pace, although HashiCorp does not publish how many questions the real exam has. As on the exam, you will find single-answer, multiple-answer and true or false questions. Terraform pairs well with a cloud certification: you can combine it with [AZ-104](/en/certifications/az-104), [SAA-C03](/en/certifications/saa-c03) or [Associate Cloud Engineer](/en/certifications/associate-cloud-engineer), and if you work on deployment pipelines, with [AZ-400](/en/certifications/az-400).
Official source: Official Terraform Associate (004) exam guide
CertifyDeck is an independent study platform and is not affiliated with, endorsed by, or sponsored by HashiCorp. Terraform Associate (004) and its related marks belong to their respective owner.
It lasts 1 hour and uses true or false, multiple-choice and multiple-answer questions, where the question tells you how many answers to choose. HashiCorp does not publish the number of questions. Our mock exam uses 60 questions in 60 minutes to practice pacing, but that is not the official count.
HashiCorp does not publish the passing score. In our practice tests we use 70% correct answers as a benchmark, which is our own target, not a HashiCorp figure.
USD 70.50 plus locally applicable taxes and fees, and a free retake is not included. CertifyDeck does not sell the exam, only the preparation: you can start free and full access is a one-time payment.
English only, taken online with remote proctoring. On CertifyDeck every question and explanation is available in English and Spanish.
No prior certification is required. HashiCorp lists basic terminal skills and an understanding of on-premises and cloud architecture; professional experience is recommended, but you can also prepare by practicing the exam objectives in a personal demo setup.
Two years. To renew it you can pass the 004 exam again starting six months before expiration, or pass the Terraform Infrastructure Engineer Professional or Terraform Authoring and Operations Advanced exam, which extend the expiration date of your Associate credentials.
The current version is 004, which replaced 003. According to HashiCorp, it adds four topics: 4f, depends_on and the create_before_destroy lifecycle rule; 4g, validating configuration with custom conditions; 4h, ephemeral values and write-only arguments; and 8c, organizing and using HCP Terraform workspaces and projects. It also tests Terraform 1.12 and includes HCP Terraform content. Our bank follows the 004 objectives.
No. They are original questions written from the official exam content list and the public Terraform documentation.
Yes. You can start for free with no sign-up or card: Terraform Associate (004) practice questions with explanations, a free online test by domain and published sample questions with answers. Full access to the whole bank and the timed mock exam is a one-off payment.
Start for free, no sign-up or credit card.
Start free, no card
Start free, no card