codejump

Consistency Patterns — Series 2

Preview — 3 of 10 questions

Two versions have vector clocks [2,1] and [1,2]. What follows from comparing their components?

AThe second is later because its last component is larger.
BThey are identical because both component sums equal three.
CThey are concurrent: neither clock dominates.
DThe first is later because its first component is larger.

Replica clocks differ by 30 seconds. Concurrent edits use wall-clock last-write-wins resolution. What can happen?

AClock skew changes latency but cannot influence conflict resolution.
BThe largest timestamp always identifies the last real-world action.
CBoth values are automatically preserved for manual merging.
DAn earlier real-time edit wins and another value is discarded.

A fixed five-voter Raft cluster splits into groups of three and two. Which side can elect a leader and commit new log entries under ordinary majority rules?

ABoth sides, because each has a local majority of its own group.
BOnly the two-node side because smaller groups have lower latency.
CNeither side until every one of the five voters reconnects.
DThe three-node side, assuming an eligible candidate and communication within it.

Sign up free to play

Answer all 10 questions (7 more), see explanations for every answer, and track your score.