nerdexam
Amazon

SCS-C03 · Question #8

A company is using AWS CloudTrail and Amazon CloudWatch to monitor resources in an AWS account. The company's developers have been using an IAM role in the account for the last 3 months. A security…

The correct answer is A. Implement AWS IAM Access Analyzer policy generation on the role. AWS IAM Access Analyzer policy generation is specifically designed to help security engineers generate least-privilege IAM policies based on actual usage recorded in AWS CloudTrail. According to the AWS Certified Security - Specialty documentation, policy generation analyzes…

Submitted by hassan_iq· Mar 6, 2026Identity and Access Management

Question

A company is using AWS CloudTrail and Amazon CloudWatch to monitor resources in an AWS account. The company's developers have been using an IAM role in the account for the last 3 months. A security engineer needs to refine the customer managed IAM policy attached to the role to ensure that the role provides least privilege access. Which solution will meet this requirement with the LEAST effort?

Options

  • AImplement AWS IAM Access Analyzer policy generation on the role.
  • BImplement AWS IAM Access Analyzer policy validation on the role.
  • CSearch CloudWatch logs to determine the actions the role invoked and to evaluate the
  • DUse AWS Trusted Advisor to compare the policies assigned to the role against AWS best

How the community answered

(33 responses)
  • A
    70% (23)
  • B
    18% (6)
  • C
    6% (2)
  • D
    6% (2)

Explanation

AWS IAM Access Analyzer policy generation is specifically designed to help security engineers generate least-privilege IAM policies based on actual usage recorded in AWS CloudTrail. According to the AWS Certified Security - Specialty documentation, policy generation analyzes historical CloudTrail data to identify the exact API actions and resources that a role has accessed over a specified time period. Because the role has been actively used for three months, there is sufficient CloudTrail data for IAM Access Analyzer to generate a refined customer managed policy automatically. This significantly reduces manual effort and eliminates the need to analyze logs or infer permissions. The generated policy can be reviewed and attached directly to the role, ensuring least privilege access with minimal engineering effort. Option B only validates existing policies for security warnings and does not reduce permissions. Option C requires manual analysis of CloudWatch logs, which is time-consuming and error-prone. Option D does not analyze real usage and cannot generate role-specific least privilege policies. AWS documentation explicitly recommends IAM Access Analyzer policy generation as the fastest and most accurate method to refine IAM permissions based on observed behavior.

Topics

#IAM Access Analyzer#policy generation#least privilege#CloudTrail activity

Community Discussion

No community discussion yet for this question.

Full SCS-C03 Practice