Transactions Checkpoint

Distinguish lock protocols and trace FIFO and upgrade dependencies.


Get every question correct to pass this checkpoint. You can review feedback, revise your answers, and submit again.

1. A transaction acquires S(A), releases S(A), then acquires X(B). All grants are compatible. Does this follow basic 2PL?

Select one answer.

2. Using this lesson's terminology, which additional rule distinguishes strict 2PL from basic 2PL?

Select one answer.

3. T1 holds S(A), T2 waits for X(A), and T3 requests S(A). Under this exercise's FIFO policy:

Select one answer.

4. T1 and T2 hold S(A); both request upgrades to X(A). What happens?

Select one answer.

5. T1 holds S(A), T3 holds X(B), T2 queues for X(A), T3 queues for S(A), then T1 queues for X(B). Which dependency would a holder-only graph miss?

Select one answer.

6. Why can the lock-manager API not independently guarantee strict 2PL?

Select one answer.

Join Discord