Questions: Multi-Master Replication

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Two users simultaneously update the same database record on different replicas in a multi-master system using last-writer-wins conflict resolution. User A's write has a slightly earlier timestamp than User B's write. What happens to User A's write?

AUser A's write is preserved and User B's write is rejected with an error
BBoth writes are merged using application logic to produce a combined result
CUser A's write is silently discarded — last-writer-wins keeps only the write with the later timestamp
DThe system enters a conflict state and blocks all reads until an administrator resolves the conflict
Question 2 Multiple Choice

A multi-master system uses a consensus protocol (Raft) on every write to ensure strong consistency. A developer argues this defeats the purpose of multi-master replication. Why is this criticism valid?

ARaft consensus only works with at most 3 replicas, limiting geographic distribution
BRaft consensus requires that all write requests go through a single elected leader, eliminating multi-master semantics
CRequiring cross-replica consensus coordination before confirming each write reintroduces latency that multi-master was intended to avoid
DRaft consensus is incompatible with geographically distributed deployments because it requires synchronous communication
Question 3 True / False

CRDTs (conflict-free replicated data types) are designed so that concurrent operations on different replicas always converge to the same final state, regardless of the order in which updates are applied.

TTrue
FFalse
Question 4 True / False

A multi-master system using eventual consistency provides strong consistency because most replicas will eventually agree on the same value.

TTrue
FFalse
Question 5 Short Answer

Why can't a multi-master replication system simultaneously achieve low-latency local writes, strong consistency, and high availability during network partitions? What tradeoff must be made?

Think about your answer, then reveal below.