All jobs / Database administrator / Security
Database administrator interview question · 5+ years
An auditor asks you to prove who can read personal data and who has read it. How do you answer?
The strongest answer
From the access model: roles and grants exported from the databases, the join to real people through the identity provider, audit logs of access to the sensitive schemas, and a periodic review process with sign-off
Why it works
Exactly — grants mapped to people, evidence of use, and a review cadence.
What a good answer covers
- Grants mapped to people.
- Audit logs of access.
- Periodic access review.
- Encryption is not access control.
Answers that fall short
- Close, but not the strongest: List the database users and their roles from each server
A user list without the mapping to people and the log of access answers half the question. - Weak: Explain that only the application reads the data
Shared application credentials are exactly what the auditor is worried about. - Red flag: Tell them the data is encrypted so nobody can read it
Encrypted at rest means nothing to a logged-in user with SELECT.
Who gets asked this
More Security questions
- What is the difference between a server-level login and a database-level user, and why does it bite you after…
- A developer asks for the application account to have superuser or db_owner rights “so nothing blocks the…
- The whole team logs in with one shared admin account. What is wrong, and what do you propose?
- Security asks for “the database to be encrypted”. What do you actually put in place?
- HR asks who changed a salary value last Tuesday. Can you answer, and what would you set up?
- Developers want a copy of the production database in staging. Conditions?
- How do you rotate the application’s database password without downtime?
- On an instance you have inherited, permissions are granted directly to dozens of named accounts, each set…