Skip to main content
PreparationZone Logo
PreparationZone
Back to Fundamentals

Fundamentals · Hard · Free

Explain CAP theorem at fresher level — pick two.

FresherFundamentalsDatabase Fundamentals
Model answer

CAP (practical view)

During a network partition, choose between Consistency (all nodes see same data) and Availability (every request gets a response). Partition tolerance is required in distributed systems.

  • CP: strong consistency, may reject writes
  • AP: available, eventual consistency
Say CAP is about partition—not everyday single-node SQL.