Identity and Access Management (IAM)
A log audit shows administrators running sudo to open root shells, after which their commands are not recorded individually. Which change BEST restores accountability for escalated activity?
Show the answer
Correct answerB. Restrict sudo to approved commands and record privileged sessions
AWhy not this: Permanent root logins remove even the sudo log entry and create standing privilege.
BWhy this is right: Command limits stop open-ended shells, and session recording attributes actions to a named user.
CWhy not this: Root password rotation does not capture activity inside a shell opened through sudo.
DWhy not this: Recertification reviews who holds access, but it records nothing about what they do with it.
The gap is that a root shell hides what happens after escalation. Limiting sudo to approved commands and recording sessions shows what each named user did. Recertification checks entitlements periodically but does not record activity.