🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Distributed Transactions and Sagas: all 10 questions

Quiz: Distributed Transactions and Sagas · Question 7 of 10

In saga choreography, how does the restaurant service know it should act?

In saga choreography, how does the restaurant service know it should act?

  1. A.A central orchestrator calls it
  2. B.It polls the payment database directly
  3. C.The user calls it manually
  4. D.It listens for an event such as PaymentDone published by the payment service
Answer & explanation

Correct answer: It listens for an event such as PaymentDone published by the payment service

In choreography, services react to each other's events without a central coordinator.

Can you get the rest right without peeking?

Take the timed Quiz: Distributed Transactions and Sagas quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →