Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 228

What does running a terraform plan do?

    Correct Answer: B

    Running a terraform plan command performs a comparison between your Terraform configuration files and the current state file. It then generates an execution plan that shows the differences between the desired state (defined in the configuration) and the actual state (represented by the state file). This plan outlines the actions (create, update, or delete) that Terraform will take to reconcile the differences and achieve the desired state when the terraform apply command is executed. This way, users can review any changes before applying them to manage their infrastructure more effectively.

Discussion
tbhtpOption: B

B. Compares the state file to your Terraform code and determines if any changes need to be made. The terraform plan command is used to create an execution plan, which shows you the changes that will be made to your infrastructure based on the current Terraform configuration and the current state file. It allows you to review the changes before actually applying them, helping you understand the impact of your changes and catch any unintended modifications before they happen.

micropbl4Option: B

B is correct

Ravi528Option: B

B is correct,

SilentHOption: D

Examtopics, please fire whoever you had answer these questions! Almost every single answer is wrong.

campsOption: B

B. Compares the state file to your Terraform code and determines if any changes need to be made Running a terraform plan command performs a comparison between your Terraform configuration files and the current state file. It then generates an execution plan that shows the differences between the desired state (defined in the configuration) and the actual state (represented by the state file). This plan outlines the actions (create, update, or delete) that Terraform will take to reconcile the differences and achieve the desired state when the terraform apply command is executed.