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.
Given probabilistic demand forecasts that provide P50 and P95 estimates for peak capacity over the next quarter, describe how you would set safety margins and procurement decisions to balance cost vs risk. Explain scenario-based provisioning (e.g., P50 for normal, P95 for holiday), hedging mechanisms, and how to re-evaluate as new data arrives.
You must build a capacity forecasting model that maps demand signals (for example business KPIs such as orders/day and MAU, or historical job runtimes and resource-usage samples from a processing cluster) to infra resources (CPU-hours, storage, network). Describe required data inputs and feature selection, model selection (statistical vs ML), baseline validation, how to quantify prediction confidence, and how to present forecasting uncertainty to stakeholders and execs.
Given a historical traffic series (for example, 36 months of data) showing 20 percent month-over-month growth and measured per-request CPU and memory usage, outline a three year capacity roadmap. Include how you convert traffic projections into RPS and instance counts, how you add safety margins, how you account for procurement lead times, and what assumptions you must document for finance and exec stakeholders.
You're asked to produce a one-page executive summary of a 12-month capacity roadmap to present to non-technical stakeholders. Outline the sections and content of that page, what visuals you would include, key risks, and recommended decisions or approvals you would request.
As the engineer who owns infrastructure capacity, outline the concrete steps and data sources you would use to forecast infrastructure demand for a SaaS product over the next three years, including how you'd fold in business signals, seasonality, and event-driven spikes. Explain how you'd document your assumptions and confidence ranges, and how you'd turn that forecast into a phased procurement and budget plan you can defend to finance.
Unlock Full Question Bank
Get access to all 16 Infrastructure Scaling, Capacity Planning, and High Availability interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.