AWS Certified Security – Specialty — Question 433

A security engineer for a company wants to maintain all IAM users and roles according to the principle of least privilege. The security engineer plans to audit the IAM permissions once every 365 days. The security engineer must view the permissions that each IAM identity used in the last 365 days and must remove any unused permissions.

Which solution will meet these requirements?

Answer options

Correct answer: C

Explanation

AWS Identity and Access Management Access Analyzer provides last accessed information, allowing administrators to view which services and actions were used within the last 365 days to safely remove unused permissions. AWS CloudTrail logs record API calls but require complex manual analysis to determine unused permissions over a long duration. AWS Config and AWS Trusted Advisor do not track granular service-level permission usage over a 365-day period for the purpose of least-privilege refinement.