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.

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.

EasyTechnical
101 practiced

Given a neural network with 2 billion parameters stored as float32, and you plan to train with batch size 8 and sequence length 512, outline the steps to estimate GPU memory required for model parameters, optimizer states (Adam), and activations. State your assumptions and provide an approximate numeric result.

MediumTechnical
53 practiced

Describe how you would design a cost-aware autoscaler that factors in spot instance availability, on-demand fallback, and a monthly budget cap. How would the autoscaler decide between cheaper preemptible capacity and pricer on-demand nodes under varying load?

EasyTechnical
53 practiced

Compare spot/preemptible instances and on-demand instances for ML workloads. Which types of training or inference workloads are appropriate for spot instances? Describe failure modes and mitigation strategies.

HardSystem Design
76 practiced

Design an observability architecture specifically for large-scale AI workloads. Include what to collect (metrics, traces, logs), sampling and retention strategies to control cost, labeling/tagging for team ownership and multi-tenancy, and how to correlate model-level metrics (loss/accuracy drift) with infra metrics (GPU utilization, I/O).

Unlock Full Question Bank

Get access to all 43 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.