nerdexam
Amazon

SCS-C02 · Question #102

A company's security team needs to receive a notification whenever an AWS access key has not been rotated in 90 or more days. A security engineer must develop a solution that provides these…

The correct answer is A. Deploy an AWS Config managed rule to run on a periodic basis of 24 hours. Select the access-. The AWS Config managed rule access-keys-rotated performs automatic periodic evaluation of IAM access key age and can trigger SNS notifications, requiring minimal configuration effort.

Submitted by rania.sa· Mar 6, 2026Identity and Access Management

Question

A company's security team needs to receive a notification whenever an AWS access key has not been rotated in 90 or more days. A security engineer must develop a solution that provides these notifications automatically. Which solution will meet these requirements with the LEAST amount of effort?

Options

  • ADeploy an AWS Config managed rule to run on a periodic basis of 24 hours. Select the access-
  • BCreate a script to export a .csv file from the AWS Trusted Advisor check for IAM access key
  • CCreate a script to download the IAM credentials report on a periodic basis. Load the script into an
  • DCreate an AWS Lambda function that queries the IAM API to list all the users. Iterate through the

How the community answered

(54 responses)
  • A
    80% (43)
  • B
    7% (4)
  • C
    11% (6)
  • D
    2% (1)

Why each option

The AWS Config managed rule access-keys-rotated performs automatic periodic evaluation of IAM access key age and can trigger SNS notifications, requiring minimal configuration effort.

ADeploy an AWS Config managed rule to run on a periodic basis of 24 hours. Select the access-Correct

The access-keys-rotated AWS Config managed rule is a built-in periodic rule that checks whether active access keys have been rotated within a configurable number of days (default 90), and integrating it with an SNS notification via Config requires only enabling the rule and setting up a Config notification channel, minimizing engineering effort.

BCreate a script to export a .csv file from the AWS Trusted Advisor check for IAM access key

Exporting a CSV from Trusted Advisor and scripting around it requires custom automation and does not provide native integration with a notification pipeline, requiring more ongoing effort.

CCreate a script to download the IAM credentials report on a periodic basis. Load the script into an

Downloading the IAM credentials report and parsing it in a Lambda function is a viable approach but requires custom code development, scheduling, and maintenance, representing more effort than the managed rule.

DCreate an AWS Lambda function that queries the IAM API to list all the users. Iterate through the

Building a custom Lambda to iterate all IAM users and check key ages requires writing, deploying, scheduling, and maintaining code, which is significantly more effort than using a managed Config rule.

Concept tested: AWS Config managed rule for IAM access key rotation

Source: https://docs.aws.amazon.com/config/latest/developerguide/access-keys-rotated.html

Topics

#AWS Config#IAM access key rotation#managed rules#compliance monitoring

Community Discussion

No community discussion yet for this question.

Full SCS-C02 Practice