B. View the execution plan: Correct — terraform plan shows what Terraform intends to do (create, update, or destroy).
C. Save a generated execution plan: Correct — using terraform plan -out=planfile lets you save the plan to apply later with terraform apply planfile.
Analysis of Incorrect Options:
A. Schedule runs in the future: Incorrect, Terraform does not provide scheduling; external tools (like cron, CI/CD) are required.
D. Execute a plan in a different workspace: Incorrect, execution happens in the current workspace; switching workspaces must be done before running the plan.
Key Concept:terraform plan is used for previewing and optionally saving an execution plan for controlled and predictable infrastructure changes.
[Reference:Terraform Exam Objective – Understand Terraform Basics and CLI., ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit