InterviewStack.io LogoInterviewStack.io

Infrastructure Scaling and Capacity Planning Questions

Operational and infrastructure level planning to ensure systems meet current demand and projected growth. Topics include forecasting demand headroom planning and three to five year capacity roadmaps; autoscaling policies and metrics driven scaling using central processing unit memory and custom application metrics; load testing benchmarking and performance validation methodologies; cost modeling and right sizing in cloud environments and trade offs between managed services and self hosted solutions; designing non disruptive upgrade and migration strategies; multi region and availability zone deployment strategies and implications for data placement and latency; instrumentation and observability for capacity metrics; and mapping business growth projections into infrastructure acquisition and scaling decisions. Candidates should demonstrate how to translate requirements into capacity plans and how to validate assumptions with experiments and measurements.

HardTechnical
55 practiced
How would you scale a metadata store (like Hive Metastore or AWS Glue) that struggles with millions of partitions and thousands of small files per day? Discuss caching strategies, denormalizing frequently-accessed metadata, metastore sharding or federating, partition pruning and compaction strategies, and introducing a lightweight index service to reduce planning time and load.
MediumSystem Design
64 practiced
How would you scale stateful services in Kubernetes—such as a metadata store used by pipelines—while ensuring data durability and minimizing downtime? Discuss PVC resizing strategies, StatefulSet vs Deployment choices, PodDisruptionBudgets, node autoscaler interactions, storage class capabilities (volume expansion, snapshots), and recovery strategies for autoscaler-driven events.
MediumTechnical
74 practiced
You must change a widely-used streaming table schema (add a nullable column and change a field type). Describe a safe, zero-downtime migration approach covering schema registry updates, producer and consumer compatibility, staged rollout, backward/forward compatibility rules, testing strategy (integration and replay), and verification checks to ensure downstream consumers are unaffected.
EasyTechnical
74 practiced
Given an SLA that requires p95 query latency < 500ms and monthly availability 99.9%, outline a practical SLO and alerting strategy to detect capacity problems before SLA breaches. Include which metrics to monitor (and at what aggregation), warning vs critical threshold levels, alert routing, and immediate mitigation steps the on-call should take.
MediumSystem Design
76 practiced
You must validate cluster sizing for Spark jobs that process 10 TB of daily data and should complete within 2 hours. Design a load-testing and benchmarking plan listing representative job variants, dataset sampling strategy, executor/core/memory configs to test, shuffle/partition tuning to vary, and key metrics to collect (shuffle I/O, GC, CPU, task skew). Explain how to convert test results into a production cluster sizing and scheduling plan that supports concurrency.

Unlock Full Question Bank

Get access to hundreds of Infrastructure Scaling and Capacity Planning interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.