HashiCorp certification practice

Free Terraform-Associate-004 Practice Test

10 free Terraform-Associate-004 exam-style questions for HashiCorp Certified: Terraform Associate (004), with answers, explanations and source references.

Last updated

Full set: 360 questions

Terraform-Associate-004 is the exam for the HashiCorp Certified: Terraform Associate (004) credential. It suits people who have basic terminal skills and understand on-premises and cloud architecture, and it covers using Terraform to manage infrastructure as code. This version tests Terraform 1.12 and includes HCP Terraform. It is a one-hour, multiple-choice exam taken online with a proctor, in English, and the certification is valid for two years.

HashiCorp lists eight objective areas: infrastructure as code with Terraform, Terraform fundamentals, the core Terraform workflow, Terraform configuration, modules, state management, maintaining infrastructure with Terraform, and HCP Terraform. HashiCorp does not publish a weight for each area, so give every area study time. Version 004 adds topics that were not in 003, so if you are using older material, compare it with the official 004 content list first.

Answer each free practice question before you check the result. Read the explanation for every question, including the ones you got right, so you know why each option is correct or wrong. Note which objective each missed question belongs to, then review that area and try those questions again.

You should run terraform fnt to rewrite all Terraform configurations within the current working directory to conform to Terraform-style conventions.
Answer options
Module variable assignments are inherited from the parent module and you do not need to explicitly set them.
Answer options
terraform validate confirms thesyntaxof Terraform files.
Answer options
Using the terraform state rm command against a resource will destroy it.
Answer options
Variables declared within a module are accessible outside of the module.
Answer options
terraform init retrieves and caches the configuration for all remote modules.
Answer options
terraform validate uses provider APIs to verify your infrastructure settings.
Answer options
Module version is required to reference a module on the Terraform Module Registry.
Answer options
You can access state stored with the local backend by using terraform_remote_state data source.
Answer options
In a Terraform Cloud workspace linked to a version control repository, speculative plan runs start automatically when you merge or commit changes to version control.
Answer options
Question 1 of 10
Browse HashiCorp exams

About the exam

Terraform-Associate-004 exam at a glance

Key facts for the HashiCorp Certified: Terraform Associate (004) exam, taken from the official exam page.

Exam code004 (tests Terraform 1.12)
Time allowed60 minutes
Question typesMultiple choice
Exam price$70.50 USD, plus locally applicable taxes and fees (free retake not included)
DeliveryOnline Proctored
LanguagesEnglish
PrerequisitesBasic terminal skills; understanding of on-premises and cloud architecture (professional experience recommended, or practice the exam objectives in a personal demo setup)
Validity and renewal2 years; renew by passing the Terraform Infrastructure Engineer Professional exam, the AWS or Azure version of the Terraform Authoring and Operations Advanced exam, or the 004 Terraform Associate exam starting 6 months before expiration

Source: official Terraform-Associate-004 exam page. Verified . Prices and policies can change, so confirm with the provider before booking.

Exam objectives

What the Terraform-Associate-004 exam covers

The Terraform-Associate-004 exam is organized into 8 official domains. Weight shows the share of the exam each domain represents, so spend your study time in proportion.

  1. Infrastructure as Code (IaC) with Terraform
  2. Terraform fundamentals
  3. Core Terraform workflow
  4. Terraform configuration
  5. Terraform modules
  6. Terraform state management
  7. Maintain infrastructure with Terraform
  8. HCP Terraform

Domains and weights from the official Terraform-Associate-004 exam outline.

Quick answers

Terraform-Associate-004 exam FAQ

How many questions are on the Terraform-Associate-004 exam?

The Terraform-Associate-004 exam gives you 60 minutes to finish. Question types include multiple choice.

How much does the Terraform-Associate-004 exam cost?

The Terraform-Associate-004 exam costs $70.50 USD, plus locally applicable taxes and fees (free retake not included). Check the official exam page for the price in your country.

How long is the Terraform-Associate-004 certification valid?

2 years; renew by passing the Terraform Infrastructure Engineer Professional exam, the AWS or Azure version of the Terraform Authoring and Operations Advanced exam, or the 004 Terraform Associate exam starting 6 months before expiration.

Source context

How this practice set is maintained

Maintained by the CertMage content team, this page loads questions from the exam dataset connected to its preparation resource. When an answer includes a supporting reference, it is shown with that answer so you can review the underlying vendor documentation.

Certification objectives, interfaces, and vendor services can change. Verify important details against the provider's current exam guide and documentation before your exam.

Reviewed by AZ-104, AZ-305, AWS SAA-C03, GCP Professional Cloud Architect, DP-900

Scroll to Top