Identity and Access Management (IAM)
A nightly batch job's service account password is hardcoded in a script and has not changed in years. Several former staff members knew it. Which action BEST addresses the credential risk?
Show the answer
Correct answerA. Store the credential in a vault that rotates it automatically
AWhy this is right: vaulting with automatic rotation removes hardcoded secrets and voids passwords former staff know.
BWhy not this: a review is detective and leaves the exposed, unchanged password in force.
CWhy not this: tying a job to a person's account breaks when they leave and gives the job human privileges.
DWhy not this: unattended jobs cannot answer MFA prompts, so this would break the job or be bypassed.
Service accounts are non-interactive, so their credentials should be held in a secrets vault and rotated automatically, which also invalidates what former staff know. Review alone detects problems but does not change the exposed password.