Infrastructure Scaling, Capacity Planning, and High Availability Questions

How to make running infrastructure scale and stay available: the operational and architectural mechanics of doing it, not the growth-modeling math behind it. Covers autoscaling policy design and Kubernetes cluster scaling (target-tracking, step, scheduled, and predictive triggers, cooldowns, warm pools, HPA, VPA, Cluster Autoscaler, GPU/node scheduling, bin-packing), load balancing algorithms and architecture (round-robin, least-connections, consistent hashing, L4 vs L7, health checks, connection draining, session affinity), horizontal versus vertical scaling choices, and high-availability and redundancy design (multi-AZ and multi-region failover, active-active vs active-passive, split-brain and leader election). Also covers turning a given demand or growth figure into concrete provisioning: headroom and safety-margin sizing, back-of-envelope instance, IOPS, and replica-count math, right-sizing, and multi-year procurement planning; validating a sizing or scaling change through load, stress, soak, and chaos testing; scaling stateful tiers such as databases, caches, and message queues; cost-aware trade-offs including reserved versus spot capacity and managed versus self-hosted infrastructure; and the observability needed to catch capacity saturation before it breaches an SLO.

HardTechnical
58 practiced

How do SLOs and SLAs influence capacity planning? Given an SLO stating 99.9% of requests must finish within 200ms, explain how you would translate that into capacity targets and safety margins (including how to account for error budget and traffic variability).

HardSystem Design
65 practiced

Design load-shedding and graceful degradation policies for a service when it hits capacity limits. How would you decide which requests to prioritize, what would trigger shedding based on autoscaler or capacity signals, how would you communicate the degraded state to clients, and how would you safely roll the shedding back once capacity recovers?

MediumTechnical
62 practiced

Discuss the performance and cost trade-offs between vertical scaling (bigger GPU instances) and horizontal scaling (more smaller GPUs) for serving AI models, including inference workloads for large transformer-based models. Consider latency SLOs, batching efficiency, licensing or GPU memory-limited models, failure isolation, and scaling elasticity, and give examples of scenarios where each approach wins.

HardTechnical
111 practiced

Leadership wants a number: what is the probability that provisioned capacity breaches SLA next month, and how big a buffer should you add on top of your point forecast to hold that risk to something like a 0.1% chance of breach per month? Describe how you would build a Monte Carlo simulation (or propose an alternative quantitative method) to compute that probability, including what distributions you would choose for uncertain inputs like growth rate, incident frequency, and provisioning lead time, how many samples you would run, and how the results would feed into your headroom recommendation.

HardSystem Design
54 practiced

Design a scheduler for a cluster that must support mixed workloads: low-latency web services, batch jobs, and GPU-accelerated ML workloads. Describe policies for bin-packing, preemption, priority, and fairness, and provide an algorithm sketch for placement decisions.

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.