Skip to main content
HashiCorp Certified: Terraform Associate
Free practice questions12

Free HashiCorp Certified: Terraform Associate (004) practice questions

Real exam-format questions from the CertBase HashiCorp Certified: Terraform Associate bank — pick an answer and the answer key and explanation follow. No signup needed.

Exam 004 · 510 questions in the full bank · Bank updated July 2026

Question 01

Which of these is the current, correct name for HashiCorp's managed Terraform SaaS platform?

Question 02

A teammate ran `terraform apply -replace=aws_db_instance.main` and asks what will happen. What is the correct answer?

Question 03

When you migrate a resource from count to for_each, why must you also move existing state entries?

Question 04

What does the 'Discard' action do to a pending HCP Terraform run awaiting apply confirmation?

Question 05

Which sentence best describes the relationship between Terraform core and a provider plugin?

Question 06

How do you reference the value of an input variable named `instance_type` elsewhere in the configuration?

Question 07

What is the recommended way to make a small correction to how a resource is tracked in state (e.g., renaming its address), rather than editing the file by hand?

Question 08

When for_each iterates over a map of objects, how do you access a field of the current value inside the resource?

Question 09

How does remote state sharing between workspaces get controlled in HCP Terraform?

Question 10

A validation block's error_message must satisfy which requirement in current Terraform?

Question 11

How does Terraform's approach conceptually differ from configuration-management tools like Ansible, Chef, or Puppet?

Question 12

You run `terraform output` in a fresh directory where no apply has been run yet. What is the result?

Detailed explanations like these run throughout the full bank.

One-time payment

Want the other 498 questions?

The full HashiCorp Certified: Terraform Associate bank includes 510 questions with detailed explanations, progress tracking, and performance analytics. Pay once, keep it forever — no subscription.

Get the full bank — $29.99

30-day money-back guarantee · Secure payment via Paddle