Questions: Quorum-Based Replication

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A system has N=5 replicas with write quorum W=3 and read quorum R=3. A client reads from 3 replicas. Can it be guaranteed that at least one of those replicas has the most recently written value?

ANo — it depends on which 3 replicas are contacted; if none of the 3 that acknowledged the write are in the read set, the latest value is missed
BYes — because W+R=6 > N=5, any set of 3 read replicas must overlap with any set of 3 write replicas by the pigeonhole principle
COnly if the system uses a leader that tracks which replicas are up to date
DOnly if all 5 replicas are available; if any replica is down the guarantee fails
Question 2 Multiple Choice

A designer sets W=1 and R=N for an N-replica system. What is the effect on read and write performance, and is this less reliable than a majority quorum?

AWrites become faster, reads become slower, and the system is less reliable because only one copy holds the latest data
BWrites are very fast (only one acknowledgment needed), reads are slow (must contact all replicas), but consistency is still guaranteed as long as W+R > N
CThis configuration violates W+R > N, so it is invalid and provides no consistency guarantee
DBoth reads and writes are slower because contacting all replicas for reads adds latency that offsets write gains
Question 3 True / False

Meeting the quorum invariant W+R > N guarantees that a read will typically return the most recently written value without any additional protocol mechanisms.

TTrue
FFalse
Question 4 True / False

In quorum-based replication, increasing the write quorum W usually improves read performance.

TTrue
FFalse
Question 5 Short Answer

Explain in your own words why the invariant W+R > N guarantees that any read quorum must contain at least one replica that has seen the most recent write.

Think about your answer, then reveal below.