Database administrator · Interview kit
Scorecard
Agree these before the first interview and don't change them during the search. Each interviewer owns some competencies and submits scores before the debrief.
| Competency | Questions | Rating (1–4) |
|---|---|---|
| Performance tuning | 2 | To be filled in by the interviewer |
| Backup and recovery | 2 | To be filled in by the interviewer |
| Change safety | 2 | To be filled in by the interviewer |
| Security and access | 2 | To be filled in by the interviewer |
| Advising engineers | 2 | To be filled in by the interviewer |
Rating scale
- 1 Strong no Clear evidence against, or no evidence at all.
- 2 No Some evidence, but below what the role needs.
- 3 Yes Solid evidence that meets what the role needs.
- 4 Strong yes Specific, repeated evidence above what the role needs.
Questions
Performance tuning
-
A query that used to take one second now takes a minute. How do you find out why?
What good looks like
Looks at the query plan, statistics, recent data growth, locks and index use, and compares with the earlier plan. Tests changes in a copy and measures the improvement.
-
When is adding an index a bad idea?
What good looks like
When it slows heavy writes, duplicates existing indexes, targets low-selectivity columns or is created without knowing the query. Explains how to measure the effect first.
Backup and recovery
-
The primary database server fails. What happens and how do you know it will work?
What good looks like
Describes failover, data-loss limits, how applications reconnect and the practised steps. Has run drills and recorded timings, and describes what failed during a drill.
-
How do you prove a backup is good?
What good looks like
Restores it to a separate system, checks integrity and data samples, and times the process. Automates the check and alerts on failure.
Change safety
-
An engineer wants to add a column to a very large table during business hours. What do you advise?
What good looks like
Checks the locking behaviour for the version, uses a safe approach such as adding a nullable column, back-fills in batches, and schedules a low-traffic window if needed. Plans rollback.
-
Tell me about a schema change that went wrong. What did you learn?
What good looks like
Describes the effect, how it was contained, and the process change that followed, such as testing on production-sized data or stricter review. Owns their part.
Security and access
-
Who should be able to read employee salary data in the database, and how would you enforce it?
What good looks like
Limits access to a few approved roles, uses views or column permissions, separates admin from data access, logs reads and reviews them regularly. Escalates unusual requests.
-
A developer needs production data to reproduce a bug. What do you do?
What good looks like
Offers masked or sampled data, avoids copying personal information to laptops, grants time-limited access if truly needed, and records the reason. Explains the rule respectfully.
Advising engineers
-
Tell me about a time you taught an engineer something about databases that changed how they worked.
What good looks like
Chose a recent example, such as transactions or indexes, used their own query as a case, and saw better practice follow. Kept the tone encouraging.
-
How do you decide that it is time to split or shard a database, rather than keep tuning it?
What good looks like
Looks at measured limits for storage, write load and maintenance windows, evaluates simpler options first, and considers the operational cost. Plans the move in stages.