Which protocol is commonly used to ensure atomic commitment of distributed transactions?

Options

  • A. Two-Phase Commit Protocol
  • B. Stop-and-Wait Protocol
  • C. Sliding Window Protocol
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

A. Two-Phase Commit Protocol

Detailed Explanation

Explanation: Two-Phase Commit (2PC) uses Prepare and Commit/Abort phases to coordinate transaction commitment among participating database sites.