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.

HardTechnical
106 practiced
You observe periodic latency spikes caused by JVM garbage collection on server nodes serving user requests. Design capacity and deployment changes to mitigate user impact while optimizing cost: include GC tuning, pod sizing, instance sizing, rolling restarts, and architectural changes (e.g., service partitioning or more pods with smaller heap).
HardTechnical
75 practiced
Design an A/B experiment in production to compare autoscaling based on CPU utilization (A) versus request-per-second (RPS) target tracking (B). Specify cohort allocation, duration, success metrics (latency p95, error rate, cost per request), statistical significance approach, rollback criteria, and safety mechanisms if one model performs poorly.
HardTechnical
73 practiced
Build a comprehensive cost model comparing a managed Kafka offering vs self-hosting Kafka on EC2. Include upfront infrastructure costs, operational engineering hours, scaling behavior, fault tolerance differences, data transfer costs, and scenarios where each option becomes more cost-effective. Describe assumptions you would capture and sensitivity factors.
EasyTechnical
66 practiced
Define capacity planning concepts a systems administrator must know. Explain the terms 'headroom', 'safety margin', 'peak vs average utilization', and 'capacity runway'. For two example services (a low-latency web frontend and a nightly batch-processing job), recommend a headroom percentage and justify your choice with operational trade-offs.
EasyTechnical
68 practiced
Explain how to configure autoscaling cooldowns and stabilization windows to prevent flapping while still providing timely responses to load changes. Provide example numeric values for scale-up vs scale-down windows, explain why scale-down windows are typically longer, and how to test tuning in a safe manner.

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.