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.
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
Share of scored content per domain. Every sitting draws questions by these weights.
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.
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.
20 questions · 24 min, same weights, all scored. A daily check.
20 questions aimed at your weakest domains, missed concepts and due reviews.
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 practiceOne domain, up to 20 questions.
What IaC is, its advantages, and how Terraform handles multi-cloud, hybrid and service-agnostic workflows.
Practice domain 1 →Installing and versioning providers, how Terraform uses providers, multiple providers and aliases, and the purpose of state.
Practice domain 2 →Write, plan, apply; init, validate, plan, apply, destroy and fmt.
Practice domain 3 →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 →Module sources, variable scope, calling modules and module versions.
Practice domain 5 →The local backend, state locking, remote backends and managing drift.
Practice domain 6 →Importing existing infrastructure, inspecting state with the CLI and verbose logging.
Practice domain 7 →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.
Two of this exam's original questions, with the explanation you get after every answer.
Which statement BEST describes infrastructure as code (IaC)?
Correct: B. IaC describes infrastructure in code that can be versioned, reviewed and applied repeatedly, instead of configuring resources by hand.
Which are advantages of managing infrastructure with code? (Select TWO.)
Correct: C, D. IaC brings software practices, such as version control, code review and reuse, to infrastructure and reduces configuration drift between environments.