Updated in 2022, with new questions for the most current exam objectives!
This book contains 122 unique practice questions and answers to help you prepare for the HashiCorp Terraform Associate exam.
Each question is annotated with the specific objective to which it pertains and links to website content where you can find more information about the topic covered by the question.
This is not a brain dump and these are not the actual questions on the exam, but they are representative of the types of questions and of the information you will need to know to pass the exam.
The practice test contains questions based on the following exam
1 - Understand Infrastructure as Code (IaC) concepts1a - Explain what IaC is1b - Describe advantages of IaC patterns2 - Understand the purpose of Terraform (vs other IaC)2a - Explain multi-cloud and provider-agnostic benefits2b - Explain the benefits of state3 - Understand Terraform basics3a - Install and version Terraform providers3b - Describe plugin-based architecture3c - Write Terraform configuration using multiple providers3d - Describe how Terraform finds and fetches providers4 - Use Terraform outside of core workflow4a - Describe when to use terraform import to import existing infrastructure into your Terraform state4b - Use terraform state to view Terraform state4c - Describe when to enable verbose logging and what the outcome/value is5 - Interact with Terraform modules5a - Contrast and use different module source options including the public Terraform Module Registry5b - Interact with module inputs and outputs5c - Describe variable scope within modules/child modules5d - Set module version6 - Use the core Terraform workflow6a - Describe Terraform workflow ( Write -> Plan -> Create )6b - Initialize a Terraform working directory (terraform init)6c - Validate a Terraform configuration (terraform validate)6d - Generate and review an execution plan for Terraform (terraform plan)6e - Execute changes to infrastructure with Terraform (terraform apply)6f - Destroy Terraform managed infrastructure (terraform destroy)6g - Apply formatting and style adjustments to a configuration (terraform fmt)7 - Implement and maintain state7a - Describe default local backend7b - Describe state locking7c - Handle backend and cloud integration authentication methods7d - Differentiate remote state back end options7e - Manage resource drift and Terraform state7f - Describe backend block and cloud integration in configuration7g - Understand secret management in state files8 - Read, generate, and modify configuration8a - Demonstrate use of variables and outputs8b - Describe secure secret injection best practice8c - Understand the use of collection and structural types8d - Create and differentiate resource and data configuration8e - Use resource addressing and resource parameters to connect resources together8f - Use HCL and Terraform functions to write configuration8g - Describe built-in dependency management (order of execution based)9 - Understand Terraform Cloud capabilities9a - Explain how Terraform Cloud helps to manage infrastructure9b - Describe how Terraform Cloud enables c