Bird
0
0

In a rolling update, if a failure is detected in version 3 of the service, what is the expected rollback behavior?

medium📝 Analysis Q5 of 15
Microservices - CI/CD for Microservices
In a rolling update, if a failure is detected in version 3 of the service, what is the expected rollback behavior?
ARollback to version 2 and stop further updates
BContinue updating to version 4 ignoring errors
CRollback to version 1 immediately
DDeploy version 3 again without changes
Step-by-Step Solution
Solution:
  1. Step 1: Understand rolling update rollback

    Rolling update replaces versions incrementally; rollback reverts to last stable version.
  2. Step 2: Identify correct rollback target

    If version 3 fails, rollback goes back to version 2, the last stable version.
  3. Final Answer:

    Rollback to version 2 and stop further updates -> Option A
  4. Quick Check:

    Failure in version 3 = rollback to version 2 [OK]
Quick Trick: Rollback reverts to last stable version in rolling update [OK]
Common Mistakes:
  • Ignoring errors and continuing updates
  • Rolling back too far to version 1
  • Redeploying faulty version

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes