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.
Given an application with five 9s (99.999%) availability target within a single region, describe the architecture changes, redundancy patterns, and service-level considerations you would implement to approach that SLA for compute, storage and networking.
Explain how to perform capacity planning and autoscaling for a stateful web application that uses sticky sessions or an external session store. Provide formulas or metrics to estimate instance counts, headroom, and autoscaling thresholds, and outline a testing approach to validate your plan.
RDS instance creation is failing with a quota/service-limit error in a busy account. Propose immediate mitigations to restore functionality (workarounds that can be executed quickly) and longer-term architectural changes to prevent hitting the same service limits again.
Design an autoscaling strategy for a web application deployed in AWS that experiences predictable diurnal traffic and occasional sudden spikes (e.g., flash sales). Include metric selection (CPU, RPS, latency), scaling policy types (target tracking, step scaling), scheduled and predictive scaling, warm pools or pre-warming strategies, cooldown periods, and a short discussion of instance sizing trade-offs.
Explain autoscaling group (ASG) or managed instance group concepts: desired/min/max capacity, scaling policies (target tracking, step, scheduled), health checks, warm-up, and termination policies. Describe a simple policy to scale based on CPU and one for queue depth for background workers.
Unlock Full Question Bank
Get access to all 6 Infrastructure Scaling, Capacity Planning, and High Availability interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.