HashiCorp Certified: Terraform Associate — Question 231

Which of these commands makes your code more human readable?

Answer options

Correct answer: D

Explanation

The correct answer is D, 'terraform fmt', as it formats the code according to standard conventions, making it easier for humans to read. The other options serve different purposes, such as validating code (A), displaying output values (B), or showing the current state (C), but they do not specifically improve readability.