DBMS · Question 9 · Medium

What does the basic Two-Phase Locking (2PL) protocol guarantee?

  1. Freedom from deadlock
  2. Cascadeless schedules
  3. Freedom from starvation
  4. Conflict serializability
Answer and explanation

Answer: D. Conflict serializability

Explanation: Basic 2PL (a growing phase followed by a shrinking phase) guarantees conflict-serializable schedules. It does not prevent deadlocks, and only the strict variant avoids cascading rollbacks.

Previous: Transaction T1 reads a row, then transaction T2 updates that row and commits… · Next: Which rule does Write-Ahead Logging (WAL) enforce?

Practise dbms

Try a fresh set of dbms questions with an explanation after every answer, free and without signing up: DBMS practice. Or sit a full placement mock test.

More dbms questions

More technical & programming practice

SQL · Operating Systems · Computer Networks · Software Engineering · Cloud & DevOps · GenAI Basics · Pseudo-code · C Programming

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge