Bird
0
0

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

hard📝 Conceptual Q10 of 15
Microservices - CI/CD for Microservices
Why is it important to keep the old environment intact for some time after switching traffic in blue-green deployment?
ATo allow quick rollback if issues are detected
BTo save costs by running both environments indefinitely
CTo prevent users from accessing the new version
DTo perform database schema changes only on the old environment
Step-by-Step Solution
Solution:
  1. Step 1: Understand rollback importance

    Keeping old environment allows quick switch back if new version has problems.
  2. Step 2: Eliminate incorrect reasons

    Running both indefinitely increases cost; preventing user access or schema changes on old environment are unrelated.
  3. Final Answer:

    To allow quick rollback if issues are detected -> Option A
  4. Quick Check:

    Old environment retention = rollback safety [OK]
Quick Trick: Keep old environment for quick rollback [OK]
Common Mistakes:
  • Running both environments to save cost
  • Blocking user access intentionally
  • Doing schema changes only on old environment

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes