HashiCorpHashiCorp
TERRAFORM-ASSOCIATE-004 · Question #114
TERRAFORM-ASSOCIATE-004 Question #114: Real Exam Question with Answer & Explanation
Sign in or unlock TERRAFORM-ASSOCIATE-004 to reveal the answer and full explanation for question #114. The question stem and answer options stay visible for context.
Submitted by olafpl· Apr 18, 2026Use Terraform CLI
Question
You have multiple team members collaborating on infrastructure as code (IaC) using Terraform, and want to apply formatting standards for readability. How can you format Terraform HCL (HashiCorp Configuration Language) code according to standard Terraform style convention?
Options
- ARun the terraform fmt command during the code linting phase of your CI/CD process Most Voted
- BDesignate one person in each team to review and format everyone's code
- CManually apply two spaces indentation and align equal sign "=" characters in every Terraform file
- DWrite a shell script to transform Terraform files using tools such as AWK, Python, and sed
Unlock TERRAFORM-ASSOCIATE-004 to see the answer
You've previewed enough free TERRAFORM-ASSOCIATE-004 questions. Unlock TERRAFORM-ASSOCIATE-004 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#terraform fmt#HCL formatting#Code standards#Terraform CLI