# Data Replication & Consistency

> Explain the CAP theorem. How do different replication strategies handle consistency and availability trade-offs?

Canonical: https://www.internhack.in/learn/interview/system-design-interview/sd-data-replication
Last updated: 2026-11-28

Difficulty: Advanced

## Question

Explain the CAP theorem. How do different replication strategies handle consistency and availability trade-offs?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

CAP Theorem, Replication, Eventual Consistency, Strong Consistency, Quorum

Previous: [Design a Ride-Sharing Service](https://www.internhack.in/learn/interview/system-design-interview/sd-ride-sharing) · Next: [Design a Distributed Cache](https://www.internhack.in/learn/interview/system-design-interview/sd-distributed-cache) · [All of System Design Basics](https://www.internhack.in/learn/interview/system-design-interview)

## More System Design Basics questions

- [Capacity Estimation](https://www.internhack.in/learn/interview/system-design-interview/sd-capacity-estimation)
- [System Design Framework & Process](https://www.internhack.in/learn/interview/system-design-interview/sd-framework)
- [Horizontal vs Vertical Scaling](https://www.internhack.in/learn/interview/system-design-interview/sd-scaling)
- [Database Design & Schema](https://www.internhack.in/learn/interview/system-design-interview/sd-database-design)
- [API Design & Best Practices](https://www.internhack.in/learn/interview/system-design-interview/sd-api-design)
- [Design a URL Shortener](https://www.internhack.in/learn/interview/system-design-interview/sd-url-shortener)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [System Design Basics](https://www.internhack.in/learn/interview/system-design-interview)
