Questions: Read Repair and Anti-Entropy Mechanisms

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A key storing a rarely-accessed configuration value was updated on replica A but missed by replica B during a network partition. Six months pass with no client ever reading this key. Which mechanism would have corrected the inconsistency during that time?

ARead repair, because it detects inconsistencies whenever a client reads the key from multiple replicas
BAnti-entropy, because it proactively compares and repairs replicas regardless of whether the key is read
CBoth mechanisms would have corrected it within seconds of the partition healing
DNeither — eventual consistency only guarantees convergence for actively read data
Question 2 Multiple Choice

When a client reads a key and the coordinator receives different versions from two replicas, what does read repair do?

AReturns the most recent version to the client and logs the discrepancy for later background repair
BReturns the most recent version to the client and immediately writes it back to the stale replica
CAborts the read and waits for the replicas to converge before retrying
DReturns both versions to the client and lets the application choose which to use
Question 3 True / False

Read repair can only fix inconsistencies for keys that clients actually read, leaving cold (infrequently accessed) data potentially inconsistent indefinitely if no background repair process exists.

TTrue
FFalse
Question 4 True / False

Anti-entropy is expected to run very frequently — at least nearly every few seconds — to maintain eventual consistency guarantees in production systems.

TTrue
FFalse
Question 5 Short Answer

Why is read repair alone insufficient to guarantee eventual consistency, and what does anti-entropy add to the picture?

Think about your answer, then reveal below.