HashiCorp Certified: Terraform Associate — Question 171

You must initialize your working directory before running terraform validate.

Answer options

Correct answer: A

Explanation

The correct answer is True because initializing the working directory with `terraform init` is essential before running any Terraform commands, including `terraform validate`. If the directory is not initialized, Terraform will not have the necessary configuration and provider files to validate.