Bird
0
0

During a blue-green deployment, users experience intermittent errors immediately after traffic is switched. What is the most probable cause?

medium📝 Analysis Q6 of 15
Microservices - CI/CD for Microservices
During a blue-green deployment, users experience intermittent errors immediately after traffic is switched. What is the most probable cause?
AThe new environment was not fully deployed before switching traffic.
BLoad balancer caching old routing rules causing some traffic to hit the previous environment.
CDatabase schema changes were not backward compatible.
DThe old environment was deleted before switching traffic.
Step-by-Step Solution
Solution:
  1. Step 1: Identify symptoms

    Intermittent errors after switching traffic usually indicate some requests still reach the old environment.
  2. Step 2: Analyze causes

    Load balancer caching or DNS propagation delays can cause some users to hit the old environment.
  3. Step 3: Evaluate options

    Load balancer caching old routing rules causing some traffic to hit the previous environment. explains the most common cause: cached routing rules in the load balancer.
  4. Final Answer:

    Load balancer caching old routing rules causing some traffic to hit the previous environment. -> Option B
  5. Quick Check:

    Check load balancer cache or DNS propagation [OK]
Quick Trick: Load balancer caching causes mixed traffic post-switch [OK]
Common Mistakes:
  • Assuming deployment was incomplete without evidence
  • Blaming database schema without error details
  • Deleting old environment too early is rare cause

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes