Skip to main content
DevOps ⭐ Premium ⭐ Featured

HashiCorp Certified: Terraform Authoring and Operations Professional

By Webmaster Certland English 📝 340 questions ❤️ 0 likes

Practice exam for the HashiCorp Certified Terraform Authoring and Operations Professional certification. Covers resource lifecycle management, dynamic HCL configuration, collaborative workflows, Terraform modules, provider management, and HCP Terraform governance.

⭐ Premium Updated Mar 2026

Unlock all 340 HashiCorp Certified: Terraform Authoring and Operations Professional questions

Full simulation · Detailed explanations · Unlimited attempts

  • 340 questions — ~5 full-length simulations
  • Detailed explanations — why each answer is right or wrong
  • Unlimited attempts — retake as many times as needed
  • Smart Practice + Focus Mode + no ads
340
Questions
All certifications
from $4.90/mo

Sample Questions — HashiCorp Certified: Terraform Authoring and Operations Professional

5 free sample questions from this practice exam. Correct answers are highlighted.

1. A DevOps engineer runs `terraform init` on a new project and notices that provider plugins are not being downloaded. Which flag should be used with `terraform init` to force re-downloading all provider plugins?

A terraform init -upgrade ✓ Correct
B terraform init -reconfigure
C terraform init -backend=false
D terraform init -get=false

2. A team wants to preview the changes Terraform will make before applying them, and they need the output saved to a file so it can be reviewed by another team member and applied later without re-running the plan. Which sequence of commands achieves this?

A terraform plan > tfplan.txt, then terraform apply tfplan.txt
B terraform plan -out=tfplan, then terraform apply tfplan ✓ Correct
C terraform show -out=tfplan, then terraform apply tfplan
D terraform plan -out=tfplan, then terraform apply -plan=tfplan

3. A DevOps engineer needs to apply changes to a specific resource without affecting other resources in the configuration. The engineer wants Terraform to only plan and apply changes to an AWS S3 bucket named `aws_s3_bucket.data`. Which flag should be used?

A terraform apply -only=aws_s3_bucket.data
B terraform apply -resource=aws_s3_bucket.data
C terraform apply -target=aws_s3_bucket.data ✓ Correct
D terraform apply -filter=aws_s3_bucket.data

4. An infrastructure team discovers that a manually created AWS security group is not tracked in Terraform state. They want to bring this existing resource under Terraform management without destroying and recreating it. Which command should they use?

A terraform import aws_security_group.main sg-0abc12345 ✓ Correct
B terraform state push aws_security_group.main
C terraform refresh aws_security_group.main
D terraform plan -import aws_security_group.main

5. A Terraform configuration manages a database instance. A developer manually changed the database instance class directly in the cloud console. During the next `terraform plan`, Terraform detects this drift. What will Terraform propose to do by default?

A Terraform will ignore the drift and show no changes
B Terraform will propose updating the resource to match the configuration ✓ Correct
C Terraform will propose destroying and recreating the database instance
D Terraform will automatically update the state file to match the cloud resource

Want to test yourself for real?

Create a free account and run our exam simulation engine.

Free No credit card
  • Simulation engine
  • Up to 10 questions per attempt
  • Score & basic stats
Create free account Already have an account? Sign in
Best
Premium Premium
  • All 340 questions
  • Detailed explanations
  • Smart Practice + Focus Mode
⭐ Get Premium

Information

Questions 340
Time 4h
Difficulty Hard
Minimum Score 70.00%


💰 ROI

Official exam $130.00
CertLand $4.90/mo
Prepare for $130 for less than a coffee/mo

Study Guides & Articles

Related Exams

Discussion

No comments yet. Be the first to start the discussion!

Sign in to join the discussion.