Questions: Eventual Consistency

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Two users in different data centers simultaneously update the same record under an eventually consistent system. User A adds an item; User B removes a different item. A network partition then isolates the two data centers for 30 seconds. What correctly describes what happens?

AOne of the operations is rejected immediately because the system cannot proceed without consensus
BBoth operations succeed locally on their respective replicas; when the partition heals, the system applies a conflict resolution strategy to merge the states — potentially discarding one update
CBoth operations are buffered and held pending until the partition heals and both replicas can commit
DThe system automatically selects the lower-latency operation as the canonical one
Question 2 Multiple Choice

A distributed system uses last-writer-wins (LWW) conflict resolution with wall-clock timestamps. What is the primary risk of this approach?

ALWW requires each node to store all historical versions of every record, creating excessive storage overhead
BLWW is only applicable in systems with two replicas and fails with three or more
CIf clocks are not perfectly synchronized across nodes, the 'latest' write by timestamp may not be the causally latest write, silently discarding valid data
DLWW prevents the system from converging because each new write resets the convergence timer
Question 3 True / False

An eventually consistent system guarantees that once a network partition heals, most replicas immediately return the same value for most key.

TTrue
FFalse
Question 4 True / False

Eventual consistency achieves high availability by allowing replicas to accept writes without waiting for acknowledgment from other replicas, at the cost of allowing temporary divergence between replicas.

TTrue
FFalse
Question 5 Short Answer

Why must eventually consistent systems implement a conflict resolution strategy, and what are the key tradeoffs between last-writer-wins and vector clocks?

Think about your answer, then reveal below.