HashiCorp Certified: Terraform Associate — Question 127

What does running a terraform plan do?

Answer options

Correct answer: B

Explanation

The correct answer is B because running a terraform plan analyzes the existing state file and Terraform code to identify any required modifications. Options A and C incorrectly state that resources are imported, while D discusses a comparison with a remote state file, which is not the primary function of a terraform plan.