CS FundamentalsModerateProduct-company MCQ pattern

Which statement about basic two-phase locking (2PL) is correct?

  1. A. It guarantees freedom from cascading rollback but not serializability
  2. B. It guarantees conflict serializability and freedom from deadlock
  3. C. It requires all locks to be acquired before the transaction starts
  4. D. It guarantees conflict serializability but not freedom from deadlock or cascading rollback

Correct answer: D. It guarantees conflict serializability but not freedom from deadlock or cascading rollback

Growing then shrinking phases ensure conflict serializability. Two transactions can still wait on each other's locks (deadlock), and releasing locks before commit allows cascading rollbacks; strict 2PL fixes the latter, conservative 2PL the former.

More DBMS and SQL questions

Exams that ask this topic