Domain Deep Dives

Backend & Cloud

Distributed systems, databases, caching, APIs, microservices everything for backend interviews

Distributed Systems

#QuestionLevel
1How would you ensure exactly-once message processing in a distributed queue?SDE 3
2Explain the CAP theorem with a real-world example. When would you choose AP over CP?SDE 2
3How do you design a system to handle 100K writes/sec with strong consistency?SDE 3-4
4What happens when a network partition occurs in a Kafka cluster?SDE 3

Databases

#QuestionLevel
5When would you choose a document store over a relational DB?SDE 2
6Explain database sharding strategies and their trade-offs.SDE 3
7How do you handle schema migrations on a database with 99.99% uptime SLA?SDE 3

Caching

#QuestionLevel
8Explain cache invalidation strategies. When does each fail?SDE 2-3
9Design a multi-layer caching strategy for a high-traffic e-commerce site.SDE 3

API Design & Microservices

#QuestionLevel
10How do you design a REST API that supports backward compatibility?SDE 2
11Explain rate limiting algorithms and when to use each.SDE 2-3
12Compare Kafka vs RabbitMQ vs SQS. When would you pick each?SDE 2-3
13How do you implement the Saga pattern for distributed transactions?SDE 3
14How do you handle service discovery and load balancing?SDE 2-3
15Describe the circuit breaker pattern. Implement the state machine.SDE 2