nerdexam
HashiCorpHashiCorp

TERRAFORM-ASSOCIATE-004 · Question #106

TERRAFORM-ASSOCIATE-004 Question #106: Real Exam Question with Answer & Explanation

The correct answer is B: False. 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 consistent. To confirm that your infrastructure matches the Terraform state file, yo

Submitted by rachelw· Apr 18, 2026Use Terraform CLI

Question

terraform validate confirms that your infrastructure matches the Terraform state file.

Options

  • ATrue
  • BFalse

Explanation

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 consistent. To confirm that your infrastructure matches the Terraform state file, you need to use terraform plan or terraform apply with the -refresh-only option.

Topics

#terraform validate#CLI commands#configuration validation#state file interaction

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-004 PracticeBrowse All TERRAFORM-ASSOCIATE-004 Questions