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.

MediumSystem Design
52 practiced

You need to scale a nightly data preprocessing pipeline that processes thousands of files, and the current single-node job keeps missing its SLA window. Describe strategies to parallelize and scale this pipeline, and discuss the trade-offs among cost, latency, and operational complexity for the approaches you would consider.

HardSystem Design
54 practiced

Design a cluster autoscaler for Kubernetes that must support mixed instance types, GPU node pools, and advanced bin-packing to minimize cost. Discuss how the autoscaler decides when to add nodes, which instance type to use, how to handle GPU scheduling constraints, and how to avoid frequent node churn when pods have long startup times (e.g., model loading).

HardBehavioral
71 practiced

Tell me about a time you had to make a capacity-related trade-off that impacted product features or delivery timelines (for example delaying model training to reduce cost or reducing concurrency to meet SLOs). Describe the situation, the options you considered, the decision you made, how you communicated it, and the outcome.

MediumTechnical
102 practiced

Scenario: You need to place multiple versions of a large model (e.g., for A/B testing) while minimizing extra memory cost on GPU nodes. Propose a placement and memory-sharing strategy and explain how to avoid interference and ensure fair comparison metrics between variants.

MediumSystem Design
53 practiced

You operate a mixed CPU/GPU cluster on Kubernetes. Describe a scheduling and workload placement strategy to maximize GPU utilization while ensuring CPU-only tasks do not preempt or fragment GPU capacity. Explain which Kubernetes primitives you would use to enforce this placement, your bin-packing approach, and how you would handle GPU fragmentation and hot-standby resources.

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.