advancedTop 100 Interview Questions

What's the difference between a rolling deployment and a blue-green deployment?

Rolling deployment replaces instances incrementally, using less extra capacity but leaving a mix of old and new versions live during the rollout. Blue-green runs the new version fully in parallel and switches traffic atomically once verified, enabling near-instant rollback (switch traffic back) at the cost of needing double capacity temporarily.

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

Continue to Why should alerts be based on SLO metrics (error rate, latency) rather than only infrastructure metrics (CPU, memory)?← Back to all Docker questions