InterviewStack.io LogoInterviewStack.io

Capacity Planning and Resource Optimization Questions

Covers forecasting, provisioning, and operating compute, memory, storage, and network resources efficiently to meet demand and service level objectives. Key skills include monitoring resource utilization metrics such as central processing unit usage, memory consumption, storage input and output and network throughput; analyzing historical trends and workload patterns to predict future demand; and planning capacity additions, safety margins, and buffer sizing. Candidates should understand vertical versus horizontal scaling, autoscaling policy design and cooldowns, right sizing instances or containers, workload placement and isolation, load balancing algorithms, and use of spot or preemptible capacity for interruptible workloads. Practical topics include storage planning and archival strategies, database memory tuning and buffer sizing, batching and off peak processing, model compression and inference optimization for machine learning workloads, alerts and dashboards, stress and validation testing of planned changes, and methods to measure that capacity decisions meet both performance and cost objectives.

EasyTechnical
21 practiced
Define cold-start and warm-up in the context of model serving. Why are these important for capacity planning, and what operational steps can you take to reduce cold-start latency for a serverless or containerized inference service?
MediumTechnical
23 practiced
You must estimate runtime and peak network/storage I/O for a distributed training job. Dataset = 40 TB on S3, per-GPU read throughput = 200 MB/s, using 16 GPUs across 4 nodes, epochs = 3, checkpoint size = 10 GB written every hour. Estimate total wall-clock time (approx), required network bandwidth, and storage write throughput during checkpoints. Explain assumptions.
MediumTechnical
27 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?
MediumTechnical
30 practiced
Problem-solving: Suppose training time increased by 30% after switching dataset storage from local NVMe to network-attached storage. Describe steps to diagnose the bottleneck (compute, I/O, network), metrics you would collect, and short-term and long-term remediation strategies.
HardSystem Design
21 practiced
Design a global, multi-region inference architecture for a real-time recommendation API that must serve 100M requests/day with p95 latency < 50ms worldwide. Include region placement, global load balancing, model synchronization strategy, consistency vs staleness trade-offs, and capacity planning considerations.

Unlock Full Question Bank

Get access to hundreds of Capacity Planning and Resource Optimization interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.