All jobs / Backend developer / Deployment Basics
Backend developer interview question · 5+ years
The interviewer asks: “How do you know failover works?” Strongest answer?
The strongest answer
I run it: game days or controlled chaos — kill a pod, a zone, a dependency — in a budgeted window, with a rollback. An untested runbook is a story. I don't first-discover failover during a real incident.
Why it works
Exactly. Rehearsal builds the muscle and finds the lie in the diagram (DNS TTLs, sticky sessions, a split brain). That's why serious teams game-day.
What a good answer covers
- Rehearse failover on purpose.
- Config ≠ a tested behaviour.
- Don't wait for the real incident.
- Chaos needs a commander and a blast radius.
Answers that fall short
- Close, but not the strongest: We configured it in Terraform, so it works.
Config is intent. Failover is a behaviour. Prove it. - Weak: I'll fail over live when we have a real outage; that's the only honest test.
The real outage is the worst time to learn the replica isn't promotable. Test when you choose. - Red flag: Chaos in production on a Friday with no commander.
Unscoped chaos is an outage you caused. Budget, communicate, contain.
Who gets asked this
More Deployment Basics questions
- What is the difference between a region and an availability zone?
- IaaS, PaaS, SaaS — what does each one leave to you?
- When would you use object storage rather than a block volume?
- You create a new storage bucket for user uploads. Who can read it by default, and what should you check?
- What is the difference between an IAM user and an IAM role?
- A security group allows inbound port 443. Do you also need an outbound rule for the responses?
- What is a VPC, in one sentence?
- Why put a load balancer in front of two web servers instead of pointing DNS at one?