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

Can the seat map shown while browsing come from a cache with a few seconds of staleness?

Can the seat map shown while browsing come from a cache with a few seconds of staleness?

  1. A.Yes, because the atomic hold query in the database is the real check
  2. B.No, every view must lock the seats
  3. C.Only if there is no database
  4. D.Only for sold-out shows
Answer & explanation

Correct answer: Yes, because the atomic hold query in the database is the real check

Browsing can be slightly stale; correctness is enforced when holding.

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 →