HashiCorp Certified: Terraform Associate (004) Questions and Answers
200 questions organized by topic with detailed explanations
HashiCorp
TA-004
200 questions
8 topics
Updated May 2026Infrastructure as Code (IaC) with Terraform
20 questions6 easy10 medium4 hard~10% of exam
A platform team wants every infrastructure change reviewed, approved, and traceable over time. Which IaC advantage most ...An organization must manage on-prem systems, public cloud resources, and a SaaS platform in a single IaC practice. Which...A team needs one workflow to provision resources in AWS and Azure with the same tool. How does Terraform support this?
Terraform Fundamentals
24 questions4 easy13 medium7 hard~12% of exam
Core Terraform Workflow
32 questions7 easy17 medium8 hard~16% of exam
A practitioner clones a new Terraform project from version control. Which command should they run first in that director...A practitioner must destroy only one specific Terraform-managed resource and leave the rest intact. Which command is int...A team already reviewed and saved a plan file named tfplan. How should they apply exactly those approved actions?
Terraform Configuration
40 questions8 easy20 medium12 hard~20% of exam
An external policy engine modifies a managed resource tag after every apply, and the team does not want Terraform to kee...A team wants to validate an infrastructure behavior at the end of plan or apply, but a failure should only warn and not ...A resource already exists outside the current configuration, and the team only needs to read its attributes for use else...
Terraform Modules
20 questions5 easy12 medium3 hard~10% of exam
Terraform State Management
36 questions8 easy17 medium11 hard~18% of exam
Maintain Infrastructure with Terraform
8 questions1 easy5 medium2 hard~4% of exam
Which command lists the resource addresses currently tracked in Terraform state?A team wants Terraform to stop tracking a resource, but they do not want Terraform to destroy the real object. Which com...A practitioner wants Terraform to generate configuration for an imported resource instead of hand-writing the resource b...
HCP Terraform
20 questions7 easy12 medium1 hard~10% of exam
All Questions
| # | Question | Topic | Difficulty |
|---|---|---|---|
| 1 | An external policy engine modifies a managed resource tag after every apply, and the team does not w... | Terraform Configuration | hard |
| 2 | Why do teams commonly use Terraform modules? | Terraform Modules | medium |
| 3 | A team wants to validate an infrastructure behavior at the end of plan or apply, but a failure shoul... | Terraform Configuration | hard |
| 4 | Which statement correctly differentiates HCP Terraform, Terraform Enterprise, and Terraform CLI Comm... | HCP Terraform | easy |
| 5 | Which statement about Terraform backends is correct? | Terraform State Management | medium |
Sign in to see all 200 questions
Create a free account to browse all questions — completely free during our launch phase.
Ready to test your knowledge?
Take a full HashiCorp Certified: Terraform Associate (004) practice test with timed exam simulation.
Start Practice Test