Bird
0
0

Consider this scenario: Service A emits an event, Service B listens and processes it, then emits another event for Service C. Which pattern is this an example of?

medium📝 Analysis Q13 of 15
Microservices - Advanced Patterns
Consider this scenario: Service A emits an event, Service B listens and processes it, then emits another event for Service C. Which pattern is this an example of?
AChoreography with event-driven communication
BOrchestration with central controller
CMonolithic service call chain
DShared database coordination
Step-by-Step Solution
Solution:
  1. Step 1: Analyze event flow

    Service A emits event, B listens and emits another event, C listens next. This is event-driven chain.
  2. Step 2: Match pattern to description

    This direct event passing without central control matches choreography.
  3. Final Answer:

    Choreography with event-driven communication -> Option A
  4. Quick Check:

    Event chain without central control = Choreography [OK]
Quick Trick: Event chain without boss = choreography [OK]
Common Mistakes:
  • Assuming event flow means orchestration
  • Confusing monolith with microservices
  • Thinking shared database is event-driven

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes