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

Payment succeeds but the user's hold had already expired and the seat was sold to someone else. What should the system…

Payment succeeds but the user's hold had already expired and the seat was sold to someone else. What should the system do?

  1. A.Book the seat for both users
  2. B.Ignore it
  3. C.Refund the payment automatically and inform the user
  4. D.Cancel the other user's booking
Answer & explanation

Correct answer: Refund the payment automatically and inform the user

The seat invariant comes first; the money must be returned.

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 →