Rationale for Correct Answer: To save an execution plan to a file, Terraform uses the -out flag: terraform plan -out=tfplan. That produces a plan file that can later be applied with terraform apply tfplan.
Analysis of Incorrect Options (Distractors):
A: This is an apply command with a variable file flag; it does not create a plan file.
B: -target expects a resource address (like aws_instance.example), not a plan filename.
C: -generate-config-out is used with configuration generation workflows (e.g., from import), not for saving a plan.
Key Concept: Creating and saving plan files with terraform plan -out=....
[Reference: Terraform Objectives — Understand Terraform Basics and CLI (plan/apply workflow and plan files)., , , , ]
Terraform-Associate-004 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"