Question: Which of the following is a common method for achieving data consistency in distributed databases?
Options:
Correct Answer: Two-phase commit protocol
Solution:
The two-phase commit protocol is a common method used to achieve data consistency in distributed databases by ensuring all nodes agree on a transaction before it is committed.