Interview Prep/Real-World Interview/Outages, incidents & mistakes

Tell me about a data-loss incident or near miss.

AdvancedBehavioralOutages, incidents & mistakes
Answer

What they're really testing → Seriousness about backups, restores, and verification.

Sample STAR answer →

  • Situation: A migration script deleted 18,000 customer address rows in production due to a missing WHERE clause.
  • Task: I owned database operations and had to restore the data without rolling back the whole database.
  • Action: I used RDS point-in-time restore to spin up a new instance at 2 minutes before the script ran, exported just the affected rows with pg_dump --table=addresses --data-only, and loaded them into a staging table in production. The app team verified and merged rows that had not been edited since.
  • Result: All rows recovered in 2.5 hours with zero lost customer edits. Afterwards we required migrations to run inside a transaction with a row-count assertion, and I started quarterly restore drills because this was the first real restore we had ever done.

Avoid → Claiming backups "just worked" without mentioning that restores need testing.

All Real-World Interview questions Roadmap: Interview readiness

More on Outages, incidents & mistakes