Bird
0
0

If the old service returns response A and the new service returns response B, what should the system do?

medium📝 Analysis Q13 of 15
Microservices - Migration from Monolith
Consider a microservice system where requests are sent to both old and new versions during parallel running. If the old service returns response A and the new service returns response B, what should the system do?
AIgnore the difference and continue using the new service
BSwitch back to the old service permanently
CStop the old service immediately
DLog the difference and alert engineers for investigation
Step-by-Step Solution
Solution:
  1. Step 1: Understand output comparison in parallel running

    Parallel running compares outputs to detect discrepancies between old and new services.
  2. Step 2: Decide action on output mismatch

    If outputs differ, the system should log the difference and alert engineers to investigate before switching fully.
  3. Final Answer:

    Log the difference and alert engineers for investigation -> Option D
  4. Quick Check:

    Output mismatch = log and alert [OK]
Quick Trick: Log and alert on output differences during parallel running [OK]
Common Mistakes:
  • Ignoring output differences
  • Stopping old service too early
  • Switching back permanently without investigation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes