Exam Simulator Cloud · Security · Linux · IT
HashiCorpTA-004AssociateInfrastructure as Code · Associate · Terraform 1.12Available

HashiCorp Certified: Terraform Associate (004)

Infrastructure as code with Terraform 1.12: providers, workflow, configuration, modules, state and HCP Terraform.

Independent practice — not affiliated with or endorsed by HashiCorp. TA-004 is used only to identify the exam. Trademark notices

Questions
50
Scored · unscored
50 · 0
Time
60 min
Passing score
70 on 0–100
ESL accommodation
—

Domain weights

Share of scored content per domain. Every sitting draws questions by these weights.

  1. D1Infrastructure as Code (IaC) with Terraform8 %4 concepts
  2. D2Terraform fundamentals11 %6 concepts
  3. D3Core Terraform workflow19 %10 concepts
  4. D4Terraform configuration21 %11 concepts
  5. D5Terraform modules11 %5 concepts
  6. D6Terraform state management11 %5 concepts
  7. D7Maintain infrastructure with Terraform8 %4 concepts
  8. D8HCP Terraform11 %6 concepts

Your progress

No attempts yet. Take a full sitting to get a readiness rating; results are kept in this browser. Join your class to keep them on every device.

Choose a mode

Recommended

Full exam simulation

50 questions · 60 minutes, 0 unscored and not identified. One question per screen, flag and strike-out, a review screen and a score report per domain — no answers until you finish.

Quick 20

20 questions · 24 min, same weights, all scored. A daily check.

Weak spots

20 questions aimed at your weakest domains, missed concepts and due reviews.

Practice builder

Pick domains, topics, how many questions and which pool (new, wrong, due, low confidence). Spaced repetition with confidence ratings, flashcards and a mistake book.

Open practice

Domain drill

One domain, up to 20 questions.

What's on the exam

  1. Domain 1: Infrastructure as Code (IaC) with Terraform

    8 %

    What IaC is, its advantages, and how Terraform handles multi-cloud, hybrid and service-agnostic workflows.

    Practice domain 1 →
  2. Domain 2: Terraform fundamentals

    11 %

    Installing and versioning providers, how Terraform uses providers, multiple providers and aliases, and the purpose of state.

    Practice domain 2 →
  3. Domain 3: Core Terraform workflow

    19 %

    Write, plan, apply; init, validate, plan, apply, destroy and fmt.

    Practice domain 3 →
  4. Domain 4: Terraform configuration

    21 %

    Resources and data sources, references, variables and outputs, complex types, expressions and functions, dependencies and lifecycle, custom conditions, and sensitive data including ephemeral values and Vault.

    Practice domain 4 →
  5. Domain 5: Terraform modules

    11 %

    Module sources, variable scope, calling modules and module versions.

    Practice domain 5 →
  6. Domain 6: Terraform state management

    11 %

    The local backend, state locking, remote backends and managing drift.

    Practice domain 6 →
  7. Domain 7: Maintain infrastructure with Terraform

    8 %

    Importing existing infrastructure, inspecting state with the CLI and verbose logging.

    Practice domain 7 →
  8. Domain 8: HCP Terraform

    11 %

    Creating infrastructure with HCP Terraform, collaboration and governance (policies, run tasks), workspaces and projects, and the cloud block integration.

    Practice domain 8 →

Domain names and weights come from the official TA-004 exam objectives (checked 2026-10-26). Always check it for the authoritative scope.

Sources · checked 2026-10-26

Sample questions

Two of this exam's original questions, with the explanation you get after every answer.

Sample 1Select one

Which statement BEST describes infrastructure as code (IaC)?

  • AClicking through a cloud console and taking screenshots
  • BDefining and managing infrastructure through machine-readable configuration files instead of manual processes
  • CDocumenting servers in a spreadsheet
  • DWriting application code that runs on servers and creates the infrastructure it needs by calling cloud APIs directly at start-up
Show answer & explanation

Correct: B. IaC describes infrastructure in code that can be versioned, reviewed and applied repeatedly, instead of configuring resources by hand.

Sample 2Select 2

Which are advantages of managing infrastructure with code? (Select TWO.)

  • AIt makes every resource free
  • BInfrastructure no longer needs any monitoring
  • CThe same configuration can create consistent environments repeatedly
  • DChanges can be reviewed and tracked in version control
  • EIt removes the need for cloud provider accounts
Show answer & explanation

Correct: C, D. IaC brings software practices, such as version control, code review and reuse, to infrastructure and reduces configuration drift between environments.

Exam Simulator

Independent practice exams for cloud, security, Linux and IT certifications, built for a classroom. No email, no ads, no third-party trackers.

Svenska
Privacy: results stay in this browser unless you join a class; then your display name, results and basic usage logs (never raw IP addresses) are stored for your teacher.
Trademark notices

Not affiliated with, endorsed by or sponsored by Amazon Web Services, Linux Professional Institute, CompTIA, Microsoft, HashiCorp, Google Cloud, CNCF / Linux Foundation, ISC2, PeopleCert (ITIL). AWS and the AWS exam names are trademarks of Amazon.com, Inc. or its affiliates. LPI, Linux Essentials and LPIC are trademarks of the Linux Professional Institute. Linux is a registered trademark of Linus Torvalds. CompTIA, A+, Network+, Security+, CySA+ and Linux+ are trademarks of CompTIA, Inc. Microsoft, Azure, Microsoft Entra, Microsoft Defender, Microsoft Sentinel, Microsoft Purview and Microsoft Foundry are trademarks of the Microsoft group of companies. HashiCorp, Terraform and HCP are trademarks of HashiCorp, an IBM company. Google Cloud, Gemini and Vertex AI are trademarks of Google LLC. Kubernetes, KCNA and CNCF are trademarks of The Linux Foundation. ISC2, CC and Certified in Cybersecurity are trademarks of ISC2, Inc. ITIL and PRINCE2 are registered trademarks of PeopleCert. Practice questions are original and not endorsed by PeopleCert. Exam names are used here only to identify the exams. Questions are original practice material, not real exam content.