AWS Certified Security – Specialty — Question 272

A security engineer recently rotated all IAM access keys in an AWS account. The security engineer then configured AWS Config and enabled the following AWS
Config managed rules; mfa-enabled-for-iam-console-access, iam-user-mfa-enabled, access-key-rotated, and iam-user-unused-credentials-check.
The security engineer notices that all resources are displaying as noncompliant after the IAM GenerateCredentialReport API operation is invoked.
What could be the reason for the noncompliant status?

Answer options

Correct answer: A

Explanation

AWS Config uses the IAM credential report to evaluate these specific managed rules. Because IAM limits the generation of a new credential report to once every 4 hours, AWS Config will retrieve the cached version if a report was generated too recently. This cached report likely contains outdated information from before the key rotation, causing the rules to falsely report resources as noncompliant.