Questions: CAP Theorem

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A software architect proposes a distributed database that guarantees both Consistency and Availability by sacrificing Partition Tolerance. Why does the CAP theorem expose this as an unrealistic design?

AYou should always prioritize Partition Tolerance and Availability over Consistency in distributed systems
BNetwork partitions are unavoidable in any real distributed deployment, so a system requiring no partitions cannot be reliably operated
CConsistency and Availability are mutually exclusive and cannot be achieved simultaneously under any conditions
DThe CAP theorem requires all three properties to be traded off in equal proportions
Question 2 Multiple Choice

A distributed database advertises 'CAP consistency.' A developer assumes this means it enforces data integrity rules such as preventing bank account balances from going negative. Is this correct?

AYes — CAP consistency is equivalent to ACID consistency and enforces application-level invariants
BNo — CAP consistency (linearizability) means every read returns the most recent write; it makes no claim about application-level invariants
CYes — CP systems automatically implement full ACID compliance as a consequence
DNo — CAP systems cannot enforce any form of data consistency whatsoever
Question 3 True / False

A CA (Consistency + Availability without Partition Tolerance) distributed database is a viable architecture for production applications where high uptime is critical.

TTrue
FFalse
Question 4 True / False

An AP distributed system that returns stale data during a network partition can still eventually reach the correct consistent state once the partition heals.

TTrue
FFalse
Question 5 Short Answer

Why does the CAP theorem reduce in practice to a choice between CP and AP, rather than a genuine three-way trade-off? What makes the third option (CA — sacrificing partition tolerance) unrealistic?

Think about your answer, then reveal below.