All jobs / Database administrator / Disaster Recovery
Database administrator interview question · 5+ years
Checksum failures are climbing on the primary of the order system; some reads return errors and the standby may have replicated the damage.
You are the incident commander. What are your first moves?
The strongest answer
Stop the spread: fence writes, preserve the corrupted files and logs, check whether the standby shares the corruption, choose between a clean standby and a point-in-time restore against the RPO, and announce a status cadence
Why it works
Exactly — contain, preserve, assess the standby, choose the recovery path deliberately, communicate.
What a good answer covers
- Contain writes first.
- Preserve evidence.
- Verify the standby is clean.
- Choose the path against RPO; communicate.
Answers that fall short
- Close, but not the strongest: Fail over to the standby immediately to restore service
If the corruption replicated, the standby is not clean; check before you promote. - Weak: Restore last night’s backup over the primary and bring the service back up
That discards a day of writes without checking whether PITR could keep them. - Red flag: Run the repair tool on the primary while users keep working
Repair tools on a live, corrupted primary can destroy evidence and make things worse.
Who gets asked this
More Disaster Recovery questions
- Leadership wants the database to survive a full region outage. How do you approach it?
- During a long database outage, executives keep asking for updates. How do you communicate?
- The business asks for zero data loss and zero downtime. What do you say?
- An engineer dropped a production table by running a script against the wrong environment. How do you run the…
- A team says they do not need backups because they have a replica in another region. What do you tell them?
- Explain RPO and RTO and how they shape a backup design.
- Design a disaster-recovery drill for the main database.
- You are writing the restore runbook a colleague will follow at three in the morning, possibly for the first…