Courseiva
Free · No account needed · No credit card

HashiCorp Certified: Terraform Authoring and Operations Professional (AWS provider) (AWS provider) Practice Test

278 questions with instant explanations, domain breakdown, and wrong-answer analysis. Built for the real exam.

Instant feedback after each answer
Full explanations included
Domain score breakdown

Sample questions with explanations

This is exactly what you see during practice — question, options, and a full explanation after you answer.

Q1Collaborative Workflowsmedium
Full explanation →

You are using HCP Terraform agents. Why would you choose to use an agent instead of the public HCP Terraform execution environment?

ATo increase execution speed
To access resources in a private networkCorrect
CTo bypass OPA policies
DTo avoid paying for HCP Terraform

HCP Terraform agents run Terraform operations inside your own infrastructure, so they can reach private endpoints such as internal VPCs, on-prem databases, and private APIs that the hosted public execution environment cannot route to. The public runners only have internet-facing …Read full explanation

Q2Collaborative Workflowshard
Full explanation →

You are writing an OPA (Open Policy Agent) policy to restrict resource creation. You want to deny any EC2 instance that does not include the 'CostCenter' tag. How do you access the resource attributes in the policy?

Aterraform.tags
input.resource_changesCorrect
Cstate.output
Dvar.tags

OPA policies for Terraform evaluate a JSON document that Terraform sends to the policy engine, and the resource attributes live under input.resource_changes. Each entry in that array contains the address, type, and the planned change with after values, so a policy checks input.re…Read full explanation

Q3Collaborative Workflowshard
Full explanation →

When migrating from local state to HCP Terraform, which command is used to initialize the migration?

Aterraform login
Bterraform push
terraform initCorrect
Dterraform migrate

The 'terraform init' command is used to initialize a Terraform working directory, and when migrating from local state to HCP Terraform, it detects the backend configuration change and prompts to migrate the state. This is the standard command to set up the backend and perform the…Read full explanation

What's covered

Questions are tagged by exam domain. Practice a specific domain or mix them all.

Untimed Practice

Answer at your own pace. Explanation and domain tag shown immediately after each answer.

Timed Practice

Countdown timer starts immediately. Results and domain scores shown at the end — just like the real exam.

Why practice here?

Full explanations on every question

Not just the right answer — you get exactly why each wrong option is wrong, so you learn the concept, not the answer.

Domain score breakdown

After each session see your score by exam domain so you know exactly where to focus study time.

100% free, forever

No subscription, no trial, no email wall. Start a session in under 10 seconds.

Exam-style questions

Scenario-based, precise wording, realistic distractors — written to match what you actually see on exam day.

← All AWS provider questionsAWS provider exam guideStudy guidePractice by domain