Recall & Review
beginner
What does it mean that Terraform uses a declarative approach?
Terraform lets you declare the desired state of your infrastructure, and it figures out how to reach that state automatically.
Click to reveal answer
beginner
How does Terraform know what changes to make when you update your configuration?
Terraform compares the current state of your infrastructure with the desired state you declared, then plans and applies only the necessary changes.
Click to reveal answer
beginner
Why is Terraform's declarative approach helpful compared to manual setup?
It reduces mistakes by automating changes, ensures consistency, and makes it easy to track and repeat setups.
Click to reveal answer
intermediate
In Terraform, what file stores the current state of your infrastructure?
The terraform.tfstate file stores the current state, helping Terraform know what exists and what needs updating.
Click to reveal answer
beginner
What command in Terraform shows you the changes it will make before applying them?
The
terraform plan command previews the changes Terraform will make to reach the desired state.Click to reveal answer
What is the main idea behind Terraform's declarative approach?
✗ Incorrect
Terraform uses a declarative approach where you declare the desired state, and it plans the steps to reach it.
Which file does Terraform use to track the current infrastructure state?
✗ Incorrect
The terraform.tfstate file stores the current state of your infrastructure.
What does the
terraform plan command do?✗ Incorrect
terraform plan previews the changes before applying them.
Why is using a declarative tool like Terraform better than manual setup?
✗ Incorrect
Terraform automates infrastructure changes, reducing mistakes and ensuring consistency.
When you update your Terraform configuration, what happens next?
✗ Incorrect
Terraform compares the current state with the desired state and applies only necessary updates.
Explain in your own words how Terraform's declarative approach works and why it is useful.
Think about how you tell Terraform what you want, not how to do it.
You got /5 concepts.
Describe the role of the terraform.tfstate file in Terraform's workflow.
It's like Terraform's memory of what exists.
You got /4 concepts.