Quick revision
The short answer
For 25 minutes the 20 surviving instances carried the work of 30, about 105 percent CPU each, so latency rose, queues grew and timeouts and retries added more load until new capacity arrived. The plan depended on the control plane, launches and autoscaling, during a zone event when control planes are busiest. We redesign for static stability: about 45 instances so the 30 survivors stay near 70 percent, which means normal peak utilisation below about 47 percent, plus fast removal of the failed zone, even cross-zone balancing, load shedding as the last guard, and reserved capacity to control the cost.
What to remember
In this answer, we saw that losing a zone pushed the 20 survivors to about 105 percent, and queues and retries kept them overloaded until new capacity arrived 25 minutes later. The plan relied on the control plane during the event. Static stability fixes it with about 45 instances, which keeps normal peak near 47 percent, backed by fast health checks, even cross-zone balancing, load shedding and reserved capacity for the floor.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
For 25 minutes the 20 surviving instances carried the work of 30, about 105 percent CPU each, so latency rose, queues grew and timeouts and retries added more load until new capacity arrived. The plan depended on the control plane, launches and autoscaling, during a zone event when control planes are busiest. We redesign for static stability: about 45 instances so the 30 survivors stay near 70 percent, which means normal peak utilisation below about 47 percent, plus fast removal of the failed zone, even cross-zone balancing, load shedding as the last guard, and reserved capacity to control the cost.
Why this question is asked
Autoscaling feels like a safety net: if we lose capacity, the platform will add more. This scenario shows when that net is not there. The service ran in three zones and the design looked redundant, yet customers had 25 bad minutes because recovery depended on launching new machines at the worst possible time. Interviewers ask this to see whether we can reason about overload numerically and whether we know the difference between the control plane and the data plane. In this answer, we will go through what the 20 instances experienced, why the plan failed, how static stability fixes it, what else must be true for it to work, and how to keep the cost reasonable.
1What the 20 Survivors Went Through
Before the failure, 30 instances ran at about 70 percent CPU. The total work was 30 x 0.70 = 21 instances' worth. When one zone lost its network, its 10 instances stopped serving, and the remaining 20 had to absorb all of it: 21 / 20 = 1.05, about 105 percent each. A server cannot run at 105 percent; it means requests arrive faster than they can be processed.
So queues formed. Each request waited behind others, latency climbed from tens of milliseconds to seconds, and clients started timing out. Timed-out clients retried, which added more requests, which made the queues longer. This feedback loop means an overload of 5 percent can produce far worse latency than 5 percent suggests, and it lasted the full 25 minutes until the new instances arrived and warmed up.
- Zone lost10 of 30 instances stop serving
- Survivors at about 105% CPU21 instances of work on 20 instances
- Queues grow, latency risesrequests wait behind each other
- Clients time out and retrymore requests arrive, not fewer
- New capacity arrives after 25 min?launch API throttledYesLoad falls back below capacityNoOverload continues
5 steps in order. Play them, or step through them one at a time.
2Why the Plan Failed: Control Plane Versus Data Plane
Cloud systems have two halves. The data plane is what serves traffic right now: running instances, load balancers forwarding packets, databases answering queries. The control plane is what changes the system: launching instances, autoscaling, creating load balancers, updating DNS records. The data plane is built to keep working during incidents. The control plane is often the busiest or most degraded part during a regional event, because every customer affected by the same zone failure is asking it for new instances at the same moment, so throttling is normal.
Our plan said: when a zone fails, autoscaling will launch 10 more instances. That is a dependency on the control plane during exactly the event where the control plane is least reliable. The 25-minute delay was not bad luck; it is the expected behaviour that the design should have assumed.
3Static Stability: Survive Without Launching Anything
A statically stable design keeps working through a failure without needing any change to be made. For zone loss, that means the capacity is already there. We want the survivors to stay near 70 percent after losing a zone. The survivors are two thirds of the fleet, so we need two thirds of the fleet to equal 30 instances at 70 percent. That gives 45 instances in total, 15 per zone.
So the same rule can be stated as a utilisation target: at normal peak, keep CPU below about 47 percent across three zones. If a zone fails, the survivors rise to about 70 percent and nothing needs to be launched. Autoscaling still runs, but it only handles growth above that floor, and if it is slow during an event, nothing breaks.
4What Else Must Be True During the Failure
Pre-provisioned capacity helps only if traffic actually reaches it evenly. Health checks must remove the failed zone's instances quickly, within seconds, so the load balancer stops sending requests into a black hole. Cross-zone load balancing should spread traffic evenly over all surviving instances; otherwise one zone's balancer node may overload its local instances while another zone's are idle.
Load shedding stays as the last guard. If the estimate of peak was wrong, or two problems arrive together, overloaded instances should reject excess requests quickly with a 503 instead of letting every request slow down. A fast rejection for a few percent of users is far better than timeouts for everyone, and it breaks the retry loop we saw earlier.
5Keeping the Cost Under Control
Running 45 instances instead of 30 costs 50 percent more compute, so we manage it deliberately. The static floor is predictable, so it can run on committed or reserved capacity at a discount, while autoscaling with on-demand instances covers growth above it. Some teams also run lower-priority batch work in the headroom and preempt it when a zone fails.
We also check the headroom against reality: how often zones actually fail for us, how long those events last, and what an hour of overload costs in lost orders and support load. For a shopping API at evening peak, that cost is usually far higher than the extra instances. For an internal tool it may not be, and a lower target is reasonable.
6Follow-up questions
Which other control-plane actions do failover runbooks often depend on without anyone noticing?
Common ones are DNS record changes to move traffic, creating or modifying load balancers or target groups, promoting a database replica through the provider's API, issuing or attaching certificates, changing security groups or firewall rules, scaling node groups in Kubernetes, rotating or fetching secrets from a service that runs in the failed zone, and even logging in through an identity provider to run the runbook. Each of these should be reviewed and, where possible, replaced by a pre-built data-plane mechanism such as health-check-driven routing or an already running standby.
Is static stability only about compute?
No. Databases need replicas or quorum members in the other zones, caches need enough memory in the survivors, and connection pools and queue consumers need room for the extra load. Every tier in the request path needs the same headroom.
Could we use smaller instances and scale faster instead?
Faster scaling helps for ordinary growth, but it still depends on the control plane and on warm-up time, especially for JVM services. It reduces the gap but cannot remove it.
7Conclusion
In this answer, we saw that losing a zone pushed the 20 survivors to about 105 percent, and queues and retries kept them overloaded until new capacity arrived 25 minutes later. The plan relied on the control plane during the event. Static stability fixes it with about 45 instances, which keeps normal peak near 47 percent, backed by fast health checks, even cross-zone balancing, load shedding and reserved capacity for the floor.
Open with
Before the failure the fleet was doing about 21 instances' worth of work, 30 instances at 70 percent. When a zone dropped, 20 instances had to carry that, which is about 105 percent each, so requests arrived faster than they could be served.
Then, if they want more
Queues grew, latency went to seconds, clients timed out and retried, and those retries made the overload worse, for the full 25 minutes until new instances launched and warmed up.
The real flaw was that recovery depended on the control plane, launching instances and autoscaling, during a zone event, which is exactly when the provider's control plane is most loaded and throttled, while the data plane that serves existing traffic keeps working. I would redesign for static stability: pre-provision so losing a zone needs no action.
If the 30 survivors should stay near 70 percent, two thirds of the fleet must be 30, so about 45 instances, which is the same as keeping normal peak utilisation under about 47 percent.
I would also make sure health checks drop the failed zone in seconds and cross-zone balancing spreads load evenly, and keep load shedding as the last guard so overload causes fast 503s, not timeouts.
To control cost, the static floor runs on reserved capacity and autoscaling only handles growth above it, and we revisit the target against real zone failure rates and the cost of an hour of overload.
About this answer
- Last updated
- 13 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the official documentation for the version you use. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "What did the remaining 20 instances go through during those 25 minutes, and how would...": https://scrivio-interview-library.netlify.app/architecture/high-availability/9af0ab18c1/