Terraform & IaC Certification Language — HashiCorp & DevOps English
Practice the vocabulary and exam question patterns for HashiCorp Terraform Associate and infrastructure-as-code concepts in cloud certifications.
0 / 5 completed
1 / 5
A Terraform Associate exam question asks: What is the purpose of terraform plan? Which answer is correct?
terraform plan generates a diff between current state and desired state. terraform apply makes the changes. terraform init downloads providers. terraform validate checks syntax. Knowing the exact purpose of each command is essential for the Terraform Associate exam.
2 / 5
What does 'idempotent' mean in the context of infrastructure as code?
Idempotency is a core IaC principle. If your Terraform configuration already matches the desired state, running terraform apply again makes no changes. This is fundamentally different from imperative scripts that can cause drift if run multiple times.
3 / 5
An exam question asks: What is Terraform state used for? Which answer is MOST accurate?
Terraform state is a JSON file (terraform.tfstate) that maps configuration resources to real infrastructure. Without state, Terraform cannot detect drift or plan incremental changes. Remote state backends (S3, Azure Blob, Terraform Cloud) are used for team collaboration.
4 / 5
A question asks about the difference between terraform destroy and removing a resource from configuration. Which is correct?
terraform destroy targets all resources in state. Removing a specific resource from .tf files and running apply targets only that resource. This distinction is frequently tested in Terraform Associate questions about resource lifecycle management.
5 / 5
An exam asks: Which Terraform feature allows you to reuse infrastructure patterns across multiple environments? Which answer is correct?
Modules are Terraform's primary reuse mechanism. A module is a directory of .tf files with variables and outputs. Workspaces manage multiple state files for the same configuration. Providers are plugins for specific cloud APIs. Backends define where state is stored.