Twenty-four questions from a system design interview list, each with the axis it turns on.

# Question What it turns on
1 How do you design a resilient system that survives external dependency failures? Which layer owns each budget, time, attempts, capacity, and what caps it
2 How do you decide between a monolith, modular monolith, and microservices for a new system? What a moved boundary costs later, not what the topology looks like now
3 How do you apply the Principle of Least Surprises when designing components? Whether a competent reader can predict the call from its name and signature alone
4 How do you avoid accidental complexity when scaling a system? Which complexity is essential to the requirement and which was introduced by the last fix
5 How do you choose between synchronous and asynchronous communication? What the caller can do while it waits, and who owns the failure when nobody is waiting
6 How do you design idempotent operations for systems with retries? Where the duplicate is detected, and how long a replay stays a duplicate
7 How would you prevent race conditions in a high-throughput workflow? Which invariant must hold across concurrent writers, and what enforces it
8 How do you decide when to use queues, streams, or direct calls? Whether the consumer needs history and order, or only the work
9 What’s the role of sagas in long-running workflows? Who compensates when step four fails, and whether compensation is a real business action
10 How do you design for exactly-once or effectively-once processing guarantees? Which side of the effect is deduplicated, the write or the delivery
11 How do you handle partial failures in distributed systems? What the system does with an answer it cannot get, and whether half an answer is usable
12 What patterns help maintain consistency across multiple services? Which service owns the fact, and how a reader learns it changed
13 What are the trade-offs between layered, vertical slice, and hexagonal architectures? Where a change lands, and how much unrelated code it drags with it
14 What’s your approach to detecting and isolating slow services? Whether slowness is measured at the caller or the callee, and who absorbs it
15 How do you design caching layers (L1/L2) to avoid stale data and thundering herds? How stale a read is allowed to be, and what happens when a key expires under load
16 What are the signals that a system needs vertical scaling vs horizontal scaling? Which resource is saturated, and whether the workload can be split at all
17 How do you design read-heavy workloads for maximum throughput? Where the read is answered from, and what the invalidation costs
18 What patterns help reduce database load without harming consistency? What reads may be served from a copy that is behind
19 How do you approach hot partition problems? Whether the hotspot is a key, a tenant, or a time window
20 How do you handle high-volume write workloads? How much durability and ordering the write can give up
21 How do you pick between relational vs document database? Which access patterns and invariants you already know, and which queries are unknown
22 When would you use distributed transactions vs eventual consistency? Whether the business can operate on a state that is briefly inconsistent
23 How do you design an audit-friendly system without killing performance? Whether the audit is a byproduct of the write or a second write
24 What’s your strategy for schema evolution without downtime? How many versions of the shape must be readable at once