Skip to content

Infrastructure as Code (IaC) with Terraform Questions

Practice questions for Infrastructure as Code (IaC) with Terraform topic in HashiCorp Certified: Terraform Associate (004). 20 questions covering this domain.

20 questions6 easy10 medium4 hard
Q1
medium

A platform team wants every infrastructure change reviewed, approved, and traceable over time. Which IaC advantage most directly supports that goal?

Q2
hard

An organization must manage on-prem systems, public cloud resources, and a SaaS platform in a single IaC practice. Which Terraform characteristic make...

Q3
medium

A team needs one workflow to provision resources in AWS and Azure with the same tool. How does Terraform support this?

Q4
medium

A company manages dev, test, and prod with similar patterns and wants to reduce copy-paste and manual mistakes. Which IaC practice helps most?

Q5
easy

A team wants infrastructure changes to be predictable and repeatable across environments. Which statement best describes Infrastructure as Code?

Q6
medium

A QA team needs short-lived environments for feature branches and wants to decommission them when testing ends. Which Terraform benefit best supports ...

Q7
hard

A central platform team is overwhelmed with repeated infrastructure requests from product teams. Which Terraform-based model does HashiCorp recommend ...

Q8
medium

A team manages a web tier, API tier, and database tier together. According to Terraform's application infrastructure use cases, what advantage does Te...

Q9
easy

Which statement about Terraform-managed resources is accurate according to the official intro documentation?

Q10
easy

An engineer is replacing shell scripts that list every provisioning step. Which Terraform approach removes the need to spell out each step in order?

Q11
medium

A security team wants every infrastructure change discussed in pull requests before anyone provisions it. What practice best supports that goal?

Q12
hard

In Terraform's declarative model, what is the practitioner primarily responsible for specifying?

Q13
easy

Which description of Terraform configuration aligns with official IaC guidance?

Q14
medium

A disaster recovery exercise requires rebuilding a test environment exactly as it existed last month. Which IaC advantage helps most?

Q15
easy

A company manages VMware clusters on premises, AWS accounts, and a DNS SaaS platform. Which Terraform capability lets one workflow manage all three?

Q16
hard

Why does a Terraform practitioner usually describe the desired infrastructure result instead of scripting an ordered list of API calls?

Q17
easy

An operations manager wants infrastructure changes reviewed through the same pull request process as application code. In a Terraform-based IaC practi...

Q18
medium

A product team wants a preview environment for each feature branch and wants it removed after testing to control cloud spend. Which Terraform usage pa...

Q19
medium

A team provisions a load balancer, application tier, and database tier together. Which Terraform capability lets them manage those layers in one workf...

Q20
medium

A company manages a private datacenter appliance, AWS resources, and a DNS SaaS service. Why can Terraform handle all three with one operating model?

Sign in to see all 20 questions

Create a free account to browse all questions — completely free during our launch phase.