Employees have limited AWS permissions, but DevOps engineers can assume an administrator role. The security team needs near-real-time notifications whenever the administrator role is assumed. What should be implemented?
Choose an answer
Tap an option to check your answer.
Correct answer: Create an Amazon EventBridge rule that matches the CloudTrail API event for AssumeRole, have it invoke an AWS Lambda function that publishes a message to an Amazon SNS topic when the administrator role is assumed..
Why this is the answer
The correct solution uses an Amazon EventBridge rule to directly detect the AssumeRole API call, which CloudTrail logs. This provides near-real-time detection. The EventBridge rule can then invoke an AWS Lambda function to process the event and publish a customized message to an Amazon SNS topic, ensuring the security team receives immediate and relevant notifications. Incorrect options: AWS Config and Amazon Athena are suitable for auditing and historical analysis, not near-real-time notifications. Amazon GuardDuty focuses on detecting threats and anomalous behavior, not specifically on notifying about every AssumeRole event for a known administrator role. Matching "AWS Management Console sign-in events" in EventBridge would miss programmatic AssumeRole calls and might not specifically filter for the administrator role assumption itself, leading to incomplete or inaccurate notifications.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed