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?
- A.
Ensures serializability
- B.
Prevents Deadlock
- C.
Detects Deadlock
- 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.