nerdexam
Amazon

DOP-C02 · Question #35

A DevOps engineer at a company is supporting an AWS environment in which all users use AWS IAM Identity Center (AWS Single Sign-On). The company wants to immediately disable credentials of any new…

The correct answer is A. Create an Amazon EventBridge rule that reacts to an IAM CreateUser API call in AWS C. Create an AWS Lambda function that is a target of the EventBridge rule. Configure the Lambda E. Create an Amazon Simple Notification Service (Amazon SNS) topic that is a target of the. To automatically disable new IAM user credentials and notify the security team, create an EventBridge rule that detects CreateUser API calls. This rule should trigger a Lambda function to perform the disabling action and concurrently publish a notification to an SNS topic.

Submitted by deeparc· Mar 6, 2026Security & Compliance

Question

A DevOps engineer at a company is supporting an AWS environment in which all users use AWS IAM Identity Center (AWS Single Sign-On). The company wants to immediately disable credentials of any new IAM user and wants the security team to receive a notification. Which combination of steps should the DevOps engineer take to meet these requirements? (Choose three.)

Options

  • ACreate an Amazon EventBridge rule that reacts to an IAM CreateUser API call in AWS
  • BCreate an Amazon EventBridge rule that reacts to an IAM GetLoginProfile API call in AWS
  • CCreate an AWS Lambda function that is a target of the EventBridge rule. Configure the Lambda
  • DCreate an AWS Lambda function that is a target of the EventBridge rule. Configure the Lambda
  • ECreate an Amazon Simple Notification Service (Amazon SNS) topic that is a target of the
  • FCreate an Amazon Simple Queue Service (Amazon SQS) queue that is a target of the Lambda

How the community answered

(26 responses)
  • A
    73% (19)
  • B
    15% (4)
  • D
    8% (2)
  • F
    4% (1)

Why each option

To automatically disable new IAM user credentials and notify the security team, create an EventBridge rule that detects `CreateUser` API calls. This rule should trigger a Lambda function to perform the disabling action and concurrently publish a notification to an SNS topic.

ACreate an Amazon EventBridge rule that reacts to an IAM CreateUser API call in AWSCorrect

An Amazon EventBridge rule can be configured to detect specific AWS API calls, such as `iam:CreateUser` via CloudTrail, providing the necessary trigger for automation when a new IAM user is created.

BCreate an Amazon EventBridge rule that reacts to an IAM GetLoginProfile API call in AWS

The `iam:GetLoginProfile` API call is used to retrieve an existing user's login profile, not to detect the creation event of a new IAM user.

CCreate an AWS Lambda function that is a target of the EventBridge rule. Configure the LambdaCorrect

An AWS Lambda function serves as an ideal target for the EventBridge rule, allowing custom code execution to programmatically disable the newly created IAM user's credentials, for example, by deleting their login profile or access keys.

DCreate an AWS Lambda function that is a target of the EventBridge rule. Configure the Lambda

A Lambda function configured to create an IAM role does not fulfill the requirement of disabling credentials for a new IAM user; it performs an entirely different administrative action.

ECreate an Amazon Simple Notification Service (Amazon SNS) topic that is a target of theCorrect

An Amazon Simple Notification Service (SNS) topic can be configured as another target of the EventBridge rule, ensuring the security team receives an immediate notification whenever a new IAM user is detected as created.

FCreate an Amazon Simple Queue Service (Amazon SQS) queue that is a target of the Lambda

An Amazon Simple Queue Service (SQS) queue is a message queuing service for decoupling applications and does not directly provide a notification mechanism for human users or teams like Amazon SNS.

Concept tested: Event-driven automation for IAM security with EventBridge, Lambda, SNS

Source: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-troubleshooting-events.html

Topics

#EventBridge#IAM automation#Lambda#SNS

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice