Bird
0
0

Which of the following is the correct way to trigger event replay in a microservice?

easy📝 Conceptual Q3 of 15
Microservices - Event-Driven Architecture
Which of the following is the correct way to trigger event replay in a microservice?
AScaling up the number of service instances
BReprocessing events from the event log starting at a specific offset
CRestarting the API gateway
DClearing the service cache
Step-by-Step Solution
Solution:
  1. Step 1: Understand event replay trigger

    Event replay is triggered by reprocessing events from the event log starting at a chosen offset.
  2. Step 2: Exclude unrelated actions

    Clearing cache, restarting API gateway, or scaling instances do not replay events.
  3. Final Answer:

    Reprocessing events from the event log starting at a specific offset -> Option B
  4. Quick Check:

    Event replay trigger = Reprocess events [OK]
Quick Trick: Replay starts from event log offset, not by restarting services [OK]
Common Mistakes:
MISTAKES
  • Confusing replay with cache clearing
  • Thinking scaling triggers replay
  • Assuming API gateway restart replays events

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes