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.

HardSystem Design
70 practiced

Design a non-disruptive online schema migration strategy for a very large table (terabytes) that minimizes write latency impact. Include steps for schema change propagation, dual-write or shadow table strategies, backfill mechanisms, safe cutover, monitoring for replication/backfill progress, and rollback considerations.

EasyTechnical
54 practiced

A product team projects 3x user growth in two years. Explain how you'd translate that business projection into infrastructure capacity acquisitions and a procurement timeline. Describe the assumptions you would make, how you would add headroom, risk buckets, and how you'd present a phased budget and procurement plan to finance and stakeholders.

EasyTechnical
66 practiced

Define capacity planning concepts a systems administrator must know. Explain the terms 'headroom', 'safety margin', 'peak vs average utilization', and 'capacity runway'. For two example services (a low-latency web frontend and a nightly batch-processing job), recommend a headroom percentage and justify your choice with operational trade-offs.

HardTechnical
106 practiced

You observe periodic latency spikes caused by JVM garbage collection on server nodes serving user requests. Design capacity and deployment changes to mitigate user impact while optimizing cost: include GC tuning, pod sizing, instance sizing, rolling restarts, and architectural changes (e.g., service partitioning or more pods with smaller heap).

MediumSystem Design
52 practiced

Design a migration plan from self-hosted PostgreSQL on VMs to a managed cloud RDS/Cloud SQL instance for a live application that cannot tolerate significant downtime. Include steps for schema migration, initial sync, continuous replication, cutover, verification, rollback options, and how to validate performance and capacity after cutover.

Unlock Full Question Bank

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