All jobs / Database administrator / Security
Database administrator interview question · 1–3 years
Security asks for “the database to be encrypted”. What do you actually put in place?
The strongest answer
Encryption in transit with enforced TLS, encryption at rest for data files and backups with managed keys, and a clear answer on what column-level encryption is for — each protects against a different attacker
Why it works
Exactly — transit, rest and backups are separate controls against separate threats.
What a good answer covers
- TLS in transit, enforced.
- Encrypt data files and backups.
- Column encryption is a targeted tool.
- Each control matches a threat.
Answers that fall short
- Close, but not the strongest: Turn on encryption at rest; that covers the requirement
At rest protects a stolen disk; it does nothing for a sniffed connection or a leaked backup. - Weak: Encrypt every column so nobody can read the data
Encrypting every column breaks indexing and querying and misses the transport. - Red flag: The server is in a locked data centre, so encryption adds nothing
Physical security does not protect backups, copies or network traffic.
Who gets asked this
More Security questions
- 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…
- At three in the morning the application account starts running large SELECTs over the customer table from an…
- A new market requires that customer data stays within its borders. Impact on the database platform?
- An auditor asks you to prove who can read personal data and who has read it. How do you answer?
- What is the difference between a server-level login and a database-level user, and why does it bite you after…