Recall & Review
beginner
What does the
terraform plan command do?It shows a preview of the changes Terraform will make to your infrastructure without applying them. It helps you understand what will be created, changed, or destroyed.
Click to reveal answer
beginner
Why is it important to run
terraform plan before terraform apply?Running
terraform plan helps catch mistakes early by showing what changes will happen. This prevents unexpected or harmful changes to your infrastructure.Click to reveal answer
beginner
What does it mean if
terraform plan shows no changes?It means your current infrastructure matches the configuration files exactly, so no updates, creations, or deletions are needed.
Click to reveal answer
intermediate
How can you save the output of
terraform plan for later use?You can save the plan to a file using
terraform plan -out=planfile. Later, you can apply this exact plan with terraform apply planfile.Click to reveal answer
beginner
What is the difference between
terraform plan and terraform apply?terraform plan previews changes without making them. terraform apply actually makes the changes to your infrastructure.Click to reveal answer
What does
terraform plan primarily do?✗ Incorrect
terraform plan previews changes without applying them.How do you save a Terraform plan to a file?
✗ Incorrect
Use
terraform plan -out=planfile to save the plan.If
terraform plan shows no changes, what does it mean?✗ Incorrect
No changes means infrastructure matches the config.
Which command actually makes changes to your infrastructure?
✗ Incorrect
terraform apply applies the planned changes.Why should you run
terraform plan before terraform apply?✗ Incorrect
Planning helps catch mistakes before applying changes.
Explain the purpose and benefits of using
terraform plan in your workflow.Think about how seeing changes before applying helps you.
You got /4 concepts.
Describe the difference between
terraform plan and terraform apply.One shows what will happen, the other makes it happen.
You got /4 concepts.