100+ Free Terraform Pro Practice Questions
Pass your HashiCorp Certified: Terraform Authoring & Operations Professional exam on the first try — instant access, no signup required.
In HCL, which meta-argument creates multiple instances of a resource indexed by strings rather than integers?
Key Facts: Terraform Pro Exam
4 hrs
Exam Duration
HashiCorp
Lab-based
Format
Hands-on practical
$295
Exam Fee
HashiCorp
2 years
Validity
HashiCorp
Associate
Prerequisite
TF Associate (003)
PSI Online
Delivery
HashiCorp
IMPORTANT: The actual Terraform Pro exam is a 4-hour hands-on, lab-based practical exam combining ~12 multiple-choice questions with 4 real Terraform lab scenarios (write/debug/run code in a remote environment), NOT a standard multiple-choice test. Our 100 free practice questions cover the underlying knowledge (HCL, modules, state, HCP Terraform, Sentinel/OPA, imports, moved/removed blocks) that the labs test against. Exam fee is $295 USD, delivered by PSI online proctored. Certification is valid for 2 years. Candidates must pass the Terraform Associate (003) before attempting the Professional exam.
Sample Terraform Pro Practice Questions
Try these sample questions to test your Terraform Pro exam readiness. Each question includes a detailed explanation. Start the interactive quiz above for the full 100+ question experience with AI tutoring.
1In HCL, which meta-argument creates multiple instances of a resource indexed by strings rather than integers?
2Which block in Terraform 1.5+ declaratively imports existing infrastructure into state during plan and apply?
3A team renames a module instance from module.network to module.vpc without destroying resources. Which construct should they use?
4Which Terraform backend supports built-in state locking without any extra configuration?
5What is the purpose of the sensitive = true argument on a variable?
6Which feature in HCP Terraform (Terraform Cloud) lets you enforce custom organizational policies during plan?
7Which Sentinel enforcement level allows an HCP Terraform admin to override a policy failure?
8Which Terraform command moves a resource to a new address in the state without re-creating it?
9Which block allows assertions during plan or apply without defining a resource?
10Which Terraform workflow stage does Sentinel policy checking run in (HCP Terraform)?
About the Terraform Pro Exam
The Terraform Authoring & Operations Professional (TF Pro) is HashiCorp's advanced credential for practitioners with extensive production Terraform experience. Unlike the multiple-choice Associate exam, the Professional exam is a 4-hour hands-on lab-based assessment with roughly 12 multiple-choice questions and 4 lab-based scenarios where candidates write, debug, and run real Terraform code in a remote environment. It validates advanced HCL authoring, module design, state management, and HCP Terraform operations.
Questions
16 scored questions
Time Limit
240 minutes
Passing Score
70% (approximate)
Exam Fee
$295 USD (HashiCorp / PSI Online Proctored)
Terraform Pro Exam Content Outline
Advanced HCL Authoring
for_each/count, dynamic blocks, optional object attributes, validation blocks, check blocks, lifecycle (precondition/postcondition, replace_triggered_by), splat expressions, for expressions
Module Authoring & Versioning
Module structure (main.tf, variables.tf, outputs.tf), semantic versioning, Terraform Registry, provider aliases, configuration_aliases, terraform test
State Management & Refactoring
Remote backends (S3+DynamoDB, HCP Terraform), state locking, state migration, import blocks, moved blocks, removed blocks, terraform_remote_state
HCP Terraform Operations
Workspaces, teams, VCS integration, agents, run pipeline (plan, cost estimation, policy check, apply), run tasks, run triggers, drift detection, dynamic provider credentials
Policy as Code & CI/CD
Sentinel (advisory/soft-mandatory/hard-mandatory, tfplan/tfconfig/tfstate imports), OPA with Rego, Atlantis, GitHub Actions integration
How to Pass the Terraform Pro Exam
What You Need to Know
- Passing score: 70% (approximate)
- Exam length: 16 questions
- Time limit: 240 minutes
- Exam fee: $295 USD
Keys to Passing
- Complete 500+ practice questions
- Score 80%+ consistently before scheduling
- Focus on highest-weighted sections
- Use our AI tutor for tough concepts
Terraform Pro Study Tips from Top Performers
Frequently Asked Questions
What format is the Terraform Pro exam?
The Terraform Authoring & Operations Professional exam is a 4-hour hands-on practical exam. It combines roughly 12 multiple-choice questions with 4 lab-based scenarios where you write, debug, and run actual Terraform code in a pre-provisioned remote environment. This is dramatically different from the multiple-choice Associate exam.
Do these practice questions simulate the lab format?
No. The actual exam is hands-on labs, which cannot be faithfully reproduced in multiple-choice format. Our 100 practice questions target the underlying knowledge (HCL features, module patterns, state operations, HCP Terraform semantics, Sentinel/OPA, imports, refactoring) that the lab scenarios test. Use them alongside hands-on lab practice in your own environment or HCP Terraform.
What are the prerequisites for the Terraform Pro exam?
Candidates must pass the Terraform Associate (003) certification before attempting the Professional. HashiCorp also strongly recommends extensive production Terraform experience (authoring modules, managing state, running HCP Terraform, writing Sentinel policies).
How much does the Terraform Pro exam cost?
The Terraform Authoring & Operations Professional exam fee is $295 USD. It is delivered via PSI online proctoring. Certification is valid for 2 years from the exam date.
How should I prepare for the Terraform Pro exam?
Plan 80-120+ hours of hands-on work over 2-3 months. Build several modules end-to-end, practice state migrations, use HCP Terraform workspaces with VCS integration, write Sentinel policies, use dynamic credentials, and do the official HashiCorp Learning Path including the practical labs. Pass rates are lower than the Associate because the hands-on format rewards real experience.
What jobs can I get with Terraform Pro certification?
Terraform Pro supports senior roles: Platform Engineer, Staff/Principal DevOps, Cloud Infrastructure Architect, Senior SRE, and Terraform Specialist. It signals you can design, maintain, and operate production Terraform at enterprise scale.