All jobs / Database administrator / Security

Database administrator interview question · 0–1 years

The release is tomorrow and the new service fails with a permissions error on start-up.

A developer asks for the application account to have superuser or db_owner rights “so nothing blocks the release”.

The strongest answer

I grant the application exactly the objects and operations it uses, and separate accounts for migrations and for the app’s runtime

Why it works

Exactly — least privilege, and a split between the account that changes schema and the one that serves requests.

What a good answer covers

Answers that fall short

Who gets asked this

More Security questions