Exam Terraform-Associate-003 Topic 1 Question 128 Discussion

Actual exam question for HashiCorp's Terraform-Associate-003 exam
Question #: 128
Topic #: 1
terraform validate confirms that your infrastructure matches the Terraform state file.

Suggested Answer: B Vote an answer

terraform validate does not confirm that your infrastructure matches the Terraform state file. It only checks whether the configuration files in a directory are syntactically valid and internally consistent3. To confirm that your infrastructure matches the Terraform state file, you need to use terraform plan or terraform apply with the
-refresh-only option.

by Maureen at Mar 20, 2025, 04:29 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10