TERRAFORM-ASSOCIATE-004 · Question #175
TERRAFORM-ASSOCIATE-004 Question #175: Real Exam Question with Answer & Explanation
The correct answer is B: Validates your expectations against the execution plan without permanently modifying state. The terraform plan command is used to create an execution plan. It allows you to see what actions Terraform will take to reach the desired state defined in your configuration files. It evaluates the current state and configuration, showing a detailed outline of the resources that
Question
How can terraform plan aid in the development process?
Options
- AInitializes your working directory containing your Terraform configuration files
- BValidates your expectations against the execution plan without permanently modifying state
- CFormats your Terraform configuration files
- DReconciles Terraform's state against deployed resources and permanently modifies state
Explanation
The terraform plan command is used to create an execution plan. It allows you to see what actions Terraform will take to reach the desired state defined in your configuration files. It evaluates the current state and configuration, showing a detailed outline of the resources that will be created, updated, or destroyed. This is a critical step in the development process as it helps you verify that the changes you are about to apply will perform as expected, without actually modifying any state or infrastructure.
Topics
Community Discussion
No community discussion yet for this question.