Bird
0
0

Why is it important to keep the blue environment running after switching traffic to green in a blue-green deployment?

hard📝 Conceptual Q10 of 15
Kubernetes - Advanced Deployment Patterns
Why is it important to keep the blue environment running after switching traffic to green in a blue-green deployment?
ATo save cluster resources by running both versions
BTo ensure blue pods receive some user traffic
CTo allow quick rollback if the green deployment fails
DTo automatically update blue pods with green code
Step-by-Step Solution
Solution:
  1. Step 1: Understand rollback strategy

    Keeping blue environment running allows immediate rollback if green has issues.
  2. Step 2: Exclude incorrect reasons

    Running both versions uses more resources; blue pods do not receive traffic after switch; no automatic code update occurs.
  3. Final Answer:

    To allow quick rollback if the green deployment fails -> Option C
  4. Quick Check:

    Blue kept running = Quick rollback option [OK]
Quick Trick: Keep blue live for fast rollback if needed [OK]
Common Mistakes:
  • Thinking both versions share traffic
  • Assuming automatic code sync between versions

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes