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.

EasyTechnical
59 practiced

Describe health check strategies used by load balancers (TCP, HTTP/HTTPS probes, application-level scripts) and how to tune parameters: interval, timeout, healthy/unhealthy thresholds. Explain how to design health checks for services with long startup/warm-up phases and how health-check misconfiguration can cause flapping or false positives.

EasySystem Design
60 practiced

You need to distribute traffic across multiple regions using DNS (for example, AWS Route 53) with health checks and weighted routing. Describe a concrete implementation for DNS-based failover and weighted traffic distribution across regional endpoints. Include considerations for DNS TTL, DNS caching on clients, health check aggressiveness, and failover detection latency.

MediumTechnical
75 practiced

Describe how you would instrument application and infrastructure to detect capacity saturation before user impact occurs. Include which metrics to collect at app, infra, and queueing layers; recommended alert thresholds; dashboards; and synthetic checks you would run to validate capacity continuously.

MediumSystem Design
58 practiced

You need to scale a write-heavy global datastore. Compare the trade-offs between a single primary region with cross-region reads versus a multi-primary approach with conflict resolution. Discuss capacity, write latency, replication bandwidth, operational complexity, and when each is appropriate.

EasyTechnical
68 practiced

Define capacity planning and headroom in the context of cloud infrastructure. Explain the difference between short-term autoscaling and long-term capacity planning, why both matter for production systems, and give concrete examples of metrics you would use for each (compute, storage, network and application-level).

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.