All jobs / Database administrator / Automation

Database administrator interview question · 5+ years

How do your maintenance and backup jobs authenticate to the databases, without a password sitting in a script?

The strongest answer

A managed identity where the platform offers one, otherwise a service account whose secret lives in a secret store and is fetched at run time — scoped to that job, and rotated automatically

Why it works

Exactly — no human-held secret in the path, least privilege per job, and a rotation nobody has to remember.

What a good answer covers

Answers that fall short

Who gets asked this

More Automation questions