HashiCorp Certified: Terraform Associate — Question 183
terraform validate confirms that your infrastructure matches the Terraform state file.
Answer options
- A. True
- B. False
Correct answer: B
Explanation
The correct answer is B because terraform validate checks the configuration files for syntax and internal consistency, but it does not compare the actual infrastructure with the state file. Option A is incorrect as it misrepresents the function of terraform validate.