Infrastructure Scaling, Capacity Planning, and High Availability Questions
Making infrastructure grow and stay up: horizontal and vertical scaling, autoscaling, load balancing, capacity planning and forecasting, and high-availability and redundancy design. Covers sizing systems for demand, distributing load, and eliminating single points of failure so services remain available as they scale. The reliability-and-growth discipline.
During a presales call you must estimate expected RPS and baseline capacity for a new service. What data and assumptions do you request from the customer (e.g., monthly active users, peak concurrency, request patterns, session length), and how do you translate that into initial capacity targets, required headroom, and cost estimates? Provide a checklist and simple formulas you would use.
A production application running on VMs experiences periodic CPU spikes that cause throttling and degraded user experience. As the solutions architect, describe step-by-step how you would diagnose the root cause using telemetry, what mitigations you would apply immediately, and a longer-term scalable design to prevent recurrence (consider containerization, autoscaling, queueing and right-sizing).
A system stores 5 TB of transactional data, experiences 1,000 writes/sec and 10,000 reads/sec. Propose instance sizing for primary and read replicas, estimate IOPS and storage performance requirements, and provide a monthly cost estimate. State assumptions about instance throughput and storage performance.
Design a queue-length-based autoscaler for a worker fleet processing variable-length background tasks. Specify the key metrics to monitor (e.g., queue depth, average processing time), windowing, scaling decision logic (how queue length and worker throughput map to desired replicas), and edge-case handling (very long tasks, bursty enqueues).
A service currently handles 50,000 requests per hour with average request size 2KB and p95 latency 200ms. Traffic is growing 40% month-over-month. Describe a simple capacity planning approach to estimate when to scale and what capacity metrics to model (compute, memory, network, storage) including how you would model peak concurrency.
Unlock Full Question Bank
Get access to all Infrastructure Scaling, Capacity Planning, and High Availability interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.