Can we achieve all three (C, A, and P) simultaneously?

Updated Apr 28, 2026

Short answer

No. In the presence of a network partition, a distributed system must choose between Consistency and Availability.

Deep explanation

The CAP Theorem is a fundamental principle in distributed systems design. No. In the presence of a network partition, a distributed system must choose between Consistency and Availability. It forces architects to acknowledge that trade-offs are unavoidable in wide-area networks.

Real-world example

A single-node relational database behaves as CA until it scales horizontally.

Common mistakes

  • Thinking CAP applies to systems that aren't distributed (like a single-instance DB).

Follow-up questions

  • Is CAP relevant for single-core apps?

More CAP Theorem interview questions

View all →