All jobs / Database administrator / Automation

Database administrator interview question · 5+ years

Two hundred database servers need the same configuration change, and you are writing a PowerShell script to do it.

How do you script it so that it is safe?

The strongest answer

Idempotent, driven by one inventory, with a report-only mode showing what would change; then roll out in waves with a check between them, log per server, and keep a way to stop

Why it works

Exactly — a dry run plus waves means a mistake costs you five servers instead of two hundred.

What a good answer covers

Answers that fall short

Who gets asked this

More Automation questions