Which of the following is correct with respect to Two phase commit protocol?

2007

Which of the following is correct with respect to Two phase commit protocol?

  1. A.

    Ensures serializability

  2. B.

    Prevents Deadlock

  3. C.

    Detects Deadlock

  4. D.

    Recover from Deadlock

Attempted by 199 students.

Show answer & explanation

Correct answer: A

The Two-Phase Commit (2PC) protocol is designed to ensure atomicity across distributed nodes, meaning all participants either commit or abort the transaction together. It does not guarantee serializability; that property is typically associated with Two-Phase Locking (2PL) concurrency control mechanisms.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Isro