Bird
0
0

Why is it important to keep the blue environment intact for some time after switching traffic to green in blue-green deployment?

hard📝 Conceptual Q10 of 15
Docker - Production Patterns
Why is it important to keep the blue environment intact for some time after switching traffic to green in blue-green deployment?
ATo test new features in the blue environment
BTo save disk space by keeping old containers
CTo run both environments for load balancing
DTo quickly rollback if the green environment has issues
Step-by-Step Solution
Solution:
  1. Step 1: Understand rollback strategy in blue-green deployment

    Keeping blue intact allows quick rollback if green fails.
  2. Step 2: Differentiate from other options

    Keeping blue is not for saving space, load balancing, or testing new features.
  3. Final Answer:

    To quickly rollback if the green environment has issues -> Option D
  4. Quick Check:

    Blue kept for rollback safety [OK]
Quick Trick: Keep blue for quick rollback after switch [OK]
Common Mistakes:
  • Thinking blue is kept to save disk space
  • Confusing blue environment with load balancer
  • Assuming blue is for testing new features

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes