Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 228


What does running a terraform plan do?

Show Answer
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

5 comments
Sign in to comment
Ravi528Option: B
Mar 28, 2023

B is correct,

micropbl4Option: B
Mar 29, 2023

B is correct

tbhtpOption: B
Apr 1, 2023

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.

campsOption: B
Apr 1, 2023

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.

SilentHOption: D
Apr 24, 2024

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