HashiCorp Certified: Terraform Associate — Question 272

Which of the following does terraform apply change after you approve the execution plan? (Choose two.)

Answer options

Correct answer: A

Explanation

The correct answer is A because terraform apply changes the actual cloud infrastructure based on the approved execution plan. The other options do not get modified: B is not changed as the .terraform directory contains configurations, C is incorrect because the execution plan itself is not altered after approval, D refers to the state file which is updated after execution but not before, and E is also incorrect as the Terraform code remains unchanged.