The CAP theorem states that a distributed data system can guarantee at most two of three properties at the same time: Consistency, Availability, and Partition Tolerance, forcing architects to make deliberate trade-offs when network partitions occur.
A globally distributed database like Cassandra is typically tuned as an AP system, staying available and serving possibly stale reads during a network partition, while a system like a traditional relational database cluster with synchronous replication leans CP, refusing writes rather than risking inconsistency.
A concise interview answer is
The CAP theorem says a distributed system can only guarantee two of Consistency, Availability, and Partition Tolerance at once. Since partitions are inevitable, the real choice in practice is between staying available with possibly stale data, an AP system, or staying strictly consistent by rejecting requests during a partition, a CP system.
Last updated: 16 July 2026
Previous question: If your artifact storage becomes inaccessible, what contingency plans do you have to ensure your deployment process can continue?