Recall & Review
beginner
What is blue-green deployment?
Blue-green deployment is a technique where two identical environments (blue and green) are used to deploy new software versions. One environment runs the current version, while the other runs the new version. Traffic switches from blue to green once the new version is ready.
Click to reveal answer
beginner
Why use blue-green deployment in microservices?
It reduces downtime and risk by allowing quick rollback. If the new version has issues, traffic can switch back to the old environment without affecting users.
Click to reveal answer
intermediate
What is a key requirement for blue-green deployment?
Having two identical production environments that can run independently and handle full user traffic.
Click to reveal answer
intermediate
How does traffic switching work in blue-green deployment?
Traffic is routed via a load balancer or DNS switch from the current environment (blue) to the new environment (green) once the new version passes tests.
Click to reveal answer
advanced
What are some challenges of blue-green deployment?
It requires double infrastructure cost, data synchronization between environments, and careful handling of database schema changes.
Click to reveal answer
What does the 'green' environment represent in blue-green deployment?
✗ Incorrect
In blue-green deployment, the green environment hosts the new version before switching traffic.
What is the main benefit of blue-green deployment?
✗ Incorrect
Blue-green deployment allows switching traffic instantly, minimizing downtime and enabling quick rollback.
Which component typically handles traffic switching in blue-green deployment?
✗ Incorrect
Load balancers or DNS are used to route user traffic between blue and green environments.
What is a common challenge when using blue-green deployment?
✗ Incorrect
Maintaining two full environments increases infrastructure costs.
When should traffic be switched from blue to green?
✗ Incorrect
Traffic switches only after verifying the new version is stable to avoid user impact.
Explain the blue-green deployment process and its benefits in microservices.
Think of it like switching between two identical rooms where one is ready before moving in.
You got /5 concepts.
What are the main challenges to consider when implementing blue-green deployment?
Consider costs and data consistency issues.
You got /4 concepts.