🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Design a Ticket Booking System: all 10 questions

Quiz: Design a Ticket Booking System · Question 6 of 10

A family books 4 seats and the third seat is already taken. What should happen?

A family books 4 seats and the third seat is already taken. What should happen?

  1. A.Book the 3 available seats
  2. B.Roll back the whole transaction so none of the 4 seats stay held
  3. C.Book 4 seats anyway
  4. D.Hold the 3 seats forever
Answer & explanation

Correct answer: Roll back the whole transaction so none of the 4 seats stay held

Multi-seat holds succeed or fail together inside one transaction.

Can you get the rest right without peeking?

Take the timed Quiz: Design a Ticket Booking System quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →