🎙 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 1 of 10

Why can't a food order across payment, restaurant and delivery microservices use one normal ACID transaction?

Why can't a food order across payment, restaurant and delivery microservices use one normal ACID transaction?

  1. A.ACID only works for banks
  2. B.Each service has its own database, and one local transaction cannot cover all of them
  3. C.Microservices cannot use SQL
  4. D.Transactions are too fast
Answer & explanation

Correct answer: Each service has its own database, and one local transaction cannot cover all of them

A database transaction is local to one database; the order spans three.

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 →