HashiCorp Certified: Terraform Associate — Question 250

Terraform plan updates your state file.

Answer options

Correct answer: B

Explanation

The correct answer is B because the Terraform plan command does not update the state file; it only generates an execution plan showing what changes will be made. The state file is only updated when you run the Terraform apply command. Therefore, option A is incorrect.