Recall & Review
beginner
What is immutable infrastructure?
Immutable infrastructure means once a server or resource is created, it is never changed or updated. Instead, if changes are needed, a new resource is created and the old one is replaced.
Click to reveal answer
beginner
Why is immutable infrastructure beneficial?
It reduces errors and inconsistencies because you avoid changing live systems. It also makes deployments predictable and easier to roll back by replacing resources instead of modifying them.
Click to reveal answer
intermediate
How does Terraform support immutable infrastructure?
Terraform creates and manages infrastructure as code. When you change configuration, Terraform can replace resources instead of updating them in place, supporting immutable infrastructure practices.
Click to reveal answer
beginner
What is a common real-life example of immutable infrastructure?
Using containers like Docker is a real-life example. Instead of changing a running container, you build a new container image and deploy it, replacing the old one.
Click to reveal answer
beginner
What happens to the old infrastructure in immutable infrastructure approach?
The old infrastructure is destroyed or decommissioned after the new one is deployed, ensuring only the new, updated resources are running.
Click to reveal answer
What does immutable infrastructure avoid?
✗ Incorrect
Immutable infrastructure avoids changing live servers directly by replacing them instead.
In Terraform, how is immutable infrastructure usually implemented?
✗ Incorrect
Terraform replaces resources when configuration changes to support immutable infrastructure.
Which of these is a benefit of immutable infrastructure?
✗ Incorrect
Immutable infrastructure makes rollback easier by replacing resources instead of modifying them.
What happens to old resources in immutable infrastructure?
✗ Incorrect
Old resources are destroyed after the new ones are deployed to keep infrastructure clean.
Which technology is a common example of immutable infrastructure?
✗ Incorrect
Docker containers are often used as immutable infrastructure by replacing containers instead of changing them.
Explain the concept of immutable infrastructure and why it is useful.
Think about how you would update a server without changing it directly.
You got /3 concepts.
Describe how Terraform helps implement immutable infrastructure.
Consider how Terraform manages resources when you change your code.
You got /3 concepts.