All jobs / Database administrator / High Availability
Database administrator interview question · 1–3 years
The standby was set up two years ago by someone who has since left.
There is a standby but nobody has ever failed over to it. What do you propose?
The strongest answer
A planned failover in a low-traffic window with the application team on hand, checking connection strings, replication back to the old primary, and timing it — then repeat regularly
Why it works
Exactly — an untested standby is a hope; a rehearsed failover is a plan.
What a good answer covers
- Rehearse failover deliberately.
- Involve the application team.
- Check the way back too.
- Repeat on a schedule.
Answers that fall short
- Close, but not the strongest: Leave it; the automatic failover will handle it when needed
Automatic failover that has never run has never been proven. - Weak: Document the manual steps so someone can follow them in an emergency
Documentation nobody has executed is fiction with headings. - Red flag: Failover is risky, so we should avoid ever triggering it deliberately
Deliberate, calm and observed is the safe way to discover the problems.
Who gets asked this
More High Availability questions
- A product needs high availability for its main relational database. How do you pick the topology?
- What can go wrong with automatic failover, and how do you guard against it?
- Analysts run heavy ad-hoc queries against the production primary and slow the application. What do you set up?
- The data platform wants a change feed from the database. Physical or logical replication, and why?
- How do you set up quorum and a witness, and why does the vote count matter?
- For SQL Server, when do you choose an availability group over a failover cluster instance, and what does each…
- After a network partition, two nodes both accepted writes for several minutes. What now?
- Several teams each want their own change-data-capture connector on the same production databases. How do you…