All jobs / Backend developer / Architecture
Backend developer interview question · 5+ years
The interviewer asks: “A bad deploy took all regions with it. What architecture would have contained it?” Strongest answer?
The strongest answer
Shrink blast radius: cells or shards with independent deploys, progressive delivery (one cell, then more), and a kill switch. One binary to the world is one failure domain.
Why it works
Exactly. Cell-based / zonal deploys turn an outage into a slice. You still need the switch to stop the rollout.
What a good answer covers
- Isolate deploys into cells.
- Roll out progressively; keep a kill switch.
- Replicas ≠ failure isolation.
- Watch global shared stores — they couple cells.
Answers that fall short
- Close, but not the strongest: More replicas in the same cluster so it can ride it out.
Replicas of the same broken build stay broken. That's capacity, not isolation. - Weak: A longer CI pipeline so bad deploys never happen.
CI helps; it will miss some bugs. Production isolation is the backstop. - Red flag: A single global write database so at least data is consistent while we're down.
One global DB is often the thing that made the blast radius global. Consistency during a total outage is a cold comfort.
Who gets asked this
More Architecture questions
- A team proposes ports and adapters for a service that reads a queue, writes to one database, and will never…
- The interviewer asks: “Two years of events, consumers you don't own. How do you evolve the schema?” Strongest…
- The interviewer asks: “Auth, TLS, and WAF — in every service or at the gateway?” Strongest answer?
- An interviewer says: “Design a URL shortener.” What do you do first?
- What does a load balancer do, and what does it not do?
- What is the difference between scaling up and scaling out?
- Why do interviewers keep asking whether a service is stateless?
- When does adding a cache help, and when does it not?