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

Quiz: Concurrency Control · Question 8 of 10

Wait-die scheme: a YOUNGER transaction asks for a lock held by an OLDER one. What happens?

Wait-die scheme: a YOUNGER transaction asks for a lock held by an OLDER one. What happens?

  1. A.The older transaction is aborted
  2. B.The younger transaction waits
  3. C.The younger transaction dies (aborts and restarts later)
  4. D.Both are aborted
Answer & explanation

Correct answer: The younger transaction dies (aborts and restarts later)

In wait-die, only older transactions wait; younger requesters die.

Can you get the rest right without peeking?

Take the timed Quiz: Concurrency Control quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →