Bird
0
0

Given a blue-green deployment setup, if the current live environment is 'Blue' and the new version is deployed to 'Green', what will be the state after switching traffic?

medium📝 Analysis Q4 of 15
Microservices - CI/CD for Microservices
Given a blue-green deployment setup, if the current live environment is 'Blue' and the new version is deployed to 'Green', what will be the state after switching traffic?
ABoth Blue and Green serve live traffic simultaneously
BBlue serves live traffic, Green is idle
CBoth Blue and Green are idle
DGreen serves live traffic, Blue is idle
Step-by-Step Solution
Solution:
  1. Step 1: Identify current live environment

    Initially, Blue serves live traffic.
  2. Step 2: Understand traffic switch

    After deployment, traffic switches to Green, making Green live and Blue idle.
  3. Final Answer:

    Green serves live traffic, Blue is idle -> Option D
  4. Quick Check:

    Traffic after switch = Green live [OK]
Quick Trick: Traffic moves to updated environment after switch [OK]
Common Mistakes:
  • Assuming old environment stays live
  • Thinking both environments serve traffic
  • Believing both become idle

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes