Identity and Access Management

An IAM Access Analyzer unused access finding identifies unused actions in a production role that also has actively used permissions. After confirming application requirements, what is the BEST remediation?

Show the answer

Correct answerD. Remove the unused actions while retaining the permissions the application needs.

AWhy not this: A permissions boundary does not grant permissions, so replacing the role's policies with it would break required access.

BWhy not this: Tags do not reduce existing permissions unless applicable policies use them to constrain authorization.

CWhy not this: Deleting an actively used role disrupts required access rather than selectively removing unnecessary permissions.

DWhy this is right: Confirmed unused actions can be removed without discarding the permissions required by the application.

Removing verified unused actions reduces unintended privileges while preserving required application access. A permissions boundary limits permissions but does not grant the permissions that replacing the role's policies would remove.