Free TERRAFORM-INFRASTRUCTURE-ENGINEER-PROFESSIONAL – HashiCorp Certified: Terraform Infrastructure Engineer Professional (002) Practice Test Question

Free demo downloads

Loading demo links...

Showing 1–10 of 10 questions

Question 1 (Scalable Terraform Configuration Design)

A retailer requires 99.95% availability for checkout, data residency in two regions, and a recovery time under 15 minutes. How should this be translated into a Terraform design?

Select an option, then click Submit answer.

  • ○ Design reusable modules parameterized by region, deploy them through separate state per region, and automate failover outside a single apply
  • ○ Create one workspace that deploys all resources in a single region and rely on the provider to replicate them
  • ○ Hard-code both regions into one root module with count on every resource so a single state controls failover
  • ○ Store both regions in one state file and use terraform taint to force failover when needed

Ask AI for More Explanation

— your own AI account, opens inside the app

About the TERRAFORM-INFRASTRUCTURE-ENGINEER-PROFESSIONAL Free Practice Test

This page holds a free practice test for the HashiCorp Certified: Terraform Infrastructure Engineer Professional (002) (TERRAFORM-INFRASTRUCTURE-ENGINEER-PROFESSIONAL) certification from HashiCorp. You will find 10 free questions, drawn from the full Study4Pass practice set of 84 questions for this exam. The questions follow the same topic balance as the real exam: Scalable Terraform Configuration Design; Terraform State and Backend Operations; Infrastructure Lifecycle and Operations; CI/CD and Automation Workflows; Terraform Security and Governance; Advanced Module Usage and Registry Practices; HCP Terraform and Terraform Enterprise Operations.

How to use this TERRAFORM-INFRASTRUCTURE-ENGINEER-PROFESSIONAL free practice test

Pick an answer for each question and check it straight away — the correct answer and a full explanation appear under the question. There is no time limit and nothing to sign up for. When an explanation is not enough, use Ask AI: this is an AI-Enabled practice test, and Ask AI explains the concept behind the question in plain language. Ready for more? The full 84-question set adds a timed Exam Simulation mode, topic training for your weak areas, and a flagged-question review.

What to study for each TERRAFORM-INFRASTRUCTURE-ENGINEER-PROFESSIONAL domain

Scalable Terraform Configuration Design

This area covers turning business requirements into infrastructure code and writing predictable, secure configuration. It includes tracing variables, locals, and outputs to find the source of a configuration issue, tracing resources created with for_each, predicting the results of Terraform functions, implementing advanced configurations, configuring providers, and using the Terraform MCP server with AI coding agents.

Key skills

Requirements translation, secure configuration patterns, variable/local/output tracing, for_each tracing, function evaluation, advanced configuration techniques, provider configuration, Terraform MCP server

Terraform State and Backend Operations

This area covers creating and managing remote backends and remote state, managing state day to day, and remediating drift when real infrastructure no longer matches configuration. It also covers identifying dependency chains before upgrades, upgrading Terraform versions across environments, and inspecting state to answer operational questions.

Key skills

Remote backend configuration, state management commands, drift detection and remediation, dependency analysis, version upgrades, terraform state inspection

Infrastructure Lifecycle and Operations

This area covers managing and scaling infrastructure projects, planning and applying changes, and importing existing infrastructure into a project. It also covers lifecycle management, running multiple environments, troubleshooting deployment issues, passing inputs and outputs between projects, and managing provider and module versions.

Key skills

Project scaling, plan and apply workflows, import blocks and terraform import, lifecycle rules, multi-environment layouts, troubleshooting, input/output data flow, version management

CI/CD and Automation Workflows

This area covers managing CI/CD pipeline functionality for Terraform, understanding deployment strategies such as progressive and gated rollouts, managing multiple sets of dynamic provider credentials across teams, projects, and workspaces, and overwriting variables using .tfvars and auto.tfvars files in automated runs.

Key skills

Pipeline design, deployment strategies, dynamic provider credentials, workspace credential scoping, tfvars precedence in automation

Terraform Security and Governance

This area covers best practices for handling secrets in Terraform workflows, using secret rotation and integration with secrets management tools, and securing CI/CD pipeline identities and access. It also covers establishing core compliance and policy rules alongside team- and project-specific policies, and identifying and mitigating risky infrastructure changes before they are applied.

Key skills

Secrets handling, secret rotation, Vault integration, pipeline identity security, policy design, risky-change review

Advanced Module Usage and Registry Practices

This area covers knowing when to refactor a configuration into a module, understanding the contract of a Terraform module (its inputs, outputs, and guarantees), and using the Terraform Registry to build or update a configuration. It also covers validating modules with Terraform unit tests written with the terraform test framework.

Key skills

Module refactoring judgement, module contracts, public and private registry usage, terraform test unit testing

HCP Terraform and Terraform Enterprise Operations

This area covers operating HCP Terraform and Terraform Enterprise, tracking resource usage and cost across workspaces, and implementing multi-environment configuration. It also covers upgrading Terraform versions across workspaces and defining policy as code inside a CI/CD pipeline using Sentinel.

Key skills

HCP Terraform operations, usage and cost tracking, multi-environment design, workspace upgrades, Sentinel policy as code

TERRAFORM-INFRASTRUCTURE-ENGINEER-PROFESSIONAL practice test — quick questions

Is this TERRAFORM-INFRASTRUCTURE-ENGINEER-PROFESSIONAL practice test free?

Yes — the 10 questions on this page are completely free, with no signup and no payment details needed.

How many questions are in the full TERRAFORM-INFRASTRUCTURE-ENGINEER-PROFESSIONAL set?

84 questions. The 10 free questions above are a sample of that full set, in the same style and topic balance.

Does the free test show the answers?

Yes — every question shows the correct answer with an explanation, and Ask AI can explain the concept behind a question in plain words if you want to go deeper.

Practice Tests Related to TERRAFORM-INFRASTRUCTURE-ENGINEER-PROFESSIONAL