All Questions
Cassandra medium

A Cassandra cluster has a Replication Factor (RF) of 3. To achieve 'Strong Consistency' (ensuring a Read-Your-Writes guarantee), what is the minimum combined requirement for Read (R) and Write (W) consistency levels?

  1. A W = ALL + R = ONE: Sacrificing write availability for absolute read speed.
  2. B W = ONE + R = ALL: Sacrificing read availability for absolute write speed.
  3. C Any combination where R + W > RF (e.g., W = QUORUM and R = QUORUM).
  4. D W = TWO + R = ONE: This only works if the cluster has exactly 3 nodes and no network partitions.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions