All jobs / Database administrator / Security

Database administrator interview question · 3–5 years

How do you rotate the application’s database password without downtime?

The strongest answer

Create a second credential or role, deploy the application with the new one while both are valid, verify no connections use the old one, then revoke it — and automate this via a secrets manager

Why it works

Exactly — overlap, verify, revoke, automate.

What a good answer covers

Answers that fall short

Who gets asked this

More Security questions