InterviewStack.io LogoInterviewStack.io

Infrastructure Scaling and Capacity Planning Questions

Operational and infrastructure level planning to ensure systems meet current demand and projected growth. Topics include forecasting demand headroom planning and three to five year capacity roadmaps; autoscaling policies and metrics driven scaling using central processing unit memory and custom application metrics; load testing benchmarking and performance validation methodologies; cost modeling and right sizing in cloud environments and trade offs between managed services and self hosted solutions; designing non disruptive upgrade and migration strategies; multi region and availability zone deployment strategies and implications for data placement and latency; instrumentation and observability for capacity metrics; and mapping business growth projections into infrastructure acquisition and scaling decisions. Candidates should demonstrate how to translate requirements into capacity plans and how to validate assumptions with experiments and measurements.

HardSystem Design
68 practiced
Your active-active multi-region database uses synchronous replication, but write latency is suffering due to geographic distance. Provide alternative architectures and migration steps: asynchronous replication with reconciliation, leaderless/CRDT approaches for eventual consistency, or region-local writes with global change propagation. Discuss trade-offs in latency, consistency, and recovery.
HardTechnical
67 practiced
You run sporadic batch ML inference jobs that require thousands of CPU cores for short bursts. Propose an orchestration design and pricing model that combines job scheduling, spot/preemptible instances, autoscaling, checkpointing, and reserved capacity to minimize cost while meeting latency/throughput goals. Explain how you handle preemption and fairness between jobs.
HardTechnical
111 practiced
Propose a quantitative method to compute the probability that capacity will breach SLA given uncertain traffic forecasts. Describe the required inputs (forecast distribution, capacity model, headroom policy), the statistical approach (Monte Carlo simulation or analytic convolution), and how to derive buffer sizes to meet a specified business risk tolerance (e.g., <0.1% chance of breach per month).
EasyTechnical
63 practiced
You manage a three-tier application: stateless front-end behind a load balancer, an API tier with moderate CPU and occasional spikes, and a stateful database. For the front-end and API tiers, describe which autoscaling metrics you would use (CPU, memory, request latency, concurrent requests, queue length, custom app metrics), the type of policy (target-tracking, step, scheduled), and how you'd choose cooldowns, evaluation periods, and min/max instances to avoid oscillation.
EasyTechnical
64 practiced
Explain the differences and trade-offs between deploying across multiple Availability Zones (AZs) within a region versus across multiple geographic regions. Discuss implications for high availability, latency, data residency, cost (network egress), and operational complexity.

Unlock Full Question Bank

Get access to hundreds of Infrastructure Scaling and Capacity Planning interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.