Design Secure Architectures

A production role has overly broad permissions, and representative application activity is recorded in AWS CloudTrail. An architect needs a draft replacement policy based on API actions actually used, rather than only service-level last-accessed information; which approach BEST meets this requirement?

Show the answer

Correct answerA. Generate a policy using IAM Access Analyzer

AWhy this is right: Policy generation analyzes CloudTrail activity to draft permissions that can be reviewed and refined.

BWhy not this: Service last-accessed information identifies service usage but does not generate the required action-level policy.

CWhy not this: Policy validation checks policy grammar and security practices, not which permissions the application actually used.

DWhy not this: Configuration history tracks resource configuration changes rather than generating permissions from API usage.

IAM Access Analyzer policy generation uses CloudTrail activity to draft permissions based on observed use. IAM service last-accessed information helps identify unused services but does not generate an action-level policy from API activity.