InterviewStack.io LogoInterviewStack.io

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.

HardTechnical
74 practiced

New autoscaled instances repeatedly fail health checks because the application cold-start is >2 minutes. Propose a redesign of autoscaling and LB interaction to meet SLAs while minimizing cost. Discuss baked AMIs/container images, warm pools, lifecycle hooks (initialization before registration), container image pre-pull, and alternative architectures such as serverless for burst handling.

EasyTechnical
76 practiced

Describe a step-by-step approach to measure a service's baseline performance before doing capacity planning. Include what metrics to collect (p50/p95/p99 latency, error rates, CPU, memory, IOPS, network), how to create isolated test environments, and how to avoid confounding variables (noisy neighbors, caching differences).

HardSystem Design
75 practiced

Architect a system to handle promotional traffic spikes that reach 100x baseline for short durations without keeping 100x capacity provisioned. Describe autoscaling strategy, buffer/pool strategies, caching and CDN pre-warm, queueing/backpressure, graceful degradation (feature gating), and cost controls. Define the metrics and acceptance criteria to validate the architecture.

MediumTechnical
60 practiced

Explain how service discovery integrates with load balancers in microservices architectures. Compare DNS-based discovery, client-side discovery with registries (Consul/Eureka), and server-side discovery with gateways or service meshes. For each pattern describe how instances register/deregister, how the LB learns about backends, and how to handle TTLs and stale entries.

EasyTechnical
61 practiced

Create a high-level capacity planning checklist and estimation approach for a stateless web service expected to handle 5,000 requests/sec with p95 latency target of 200ms. Include how to benchmark per-instance throughput, calculate required instance counts, account for autoscaling buffer and headroom, load balancer capacity, and database/backend dependencies that affect sizing.

Unlock Full Question Bank

Get access to all Infrastructure Scaling, Capacity Planning, and High Availability interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.