InterviewStack.io LogoInterviewStack.io

System Design and Scalability Questions

Covers architectural thinking and design tradeoffs for building reliable, high performance systems. Topics include design decision reasoning given constraints such as cost, latency and availability; scaling strategies including horizontal and vertical scaling, load balancing, caching patterns, database partitioning and sharding, read replicas, and asynchronous processing; capacity planning and observability; spotting and explaining bottlenecks such as hot partitions, single points of failure, database locks and network limits; and communicating technical impact in business terms. Candidates should be able to justify choices, compare alternatives, and articulate metrics and monitoring approaches to validate design decisions.

EasyTechnical
23 practiced
Explain the circuit breaker pattern and exponential backoff strategies. As a Cloud Engineer, describe how to apply them in a microservices environment to protect downstream services from overload, what configuration parameters you would expose (error thresholds, timeout windows, half-open behavior), and how to monitor and alert based on circuit state.
HardSystem Design
18 practiced
Design a high-throughput, fault-tolerant event delivery system that guarantees in-order delivery of events per user stream while partitioning across many nodes to scale. Discuss partitioning strategy, ensuring per-partition ordering, producer and consumer semantics (ack/commit), replay and reprocessing capabilities, and operational issues such as rebalancing and retention.
MediumTechnical
24 practiced
Design an observability pipeline for a cloud-based microservices architecture to support capacity planning and real-time incident response. Include collection (logs, metrics, traces), sampling strategies, retention policies, alerting thresholds, dashboards, and cost-control measures. Recommend managed versus open-source components and explain trade-offs.
EasyTechnical
22 practiced
You are given expected peak traffic of 10,000 requests per second with a p95 latency requirement of under 200ms for a stateless web API. As a Cloud Engineer, outline how you'd estimate capacity and choose instance types on AWS or GCP. Include steps for load testing, headroom calculations, autoscaling policy design, network considerations, and cost trade-offs.
HardTechnical
21 practiced
You observe that 0.1% of keys receive 50% of requests, causing hot partitions in your sharded datastore. As a Cloud Engineer propose strategies to detect and mitigate hot partitions with minimal disruption. Include hot-key splitting, rerouting, adaptive caching, sharding changes, consistent-hashing options, and operational monitoring needed to validate the mitigation.

Unlock Full Question Bank

Get access to hundreds of System Design and Scalability interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.