AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 241

A company gives its employees limited rights to AWS. DevOps engineers have the ability to assume an administrator role. For tracking purposes, the security team wants to receive a near-real-time notification when the administrator role is assumed.

How should this be accomplished?

Answer options

Correct answer: D

Explanation

The correct answer is D because it leverages AWS CloudTrail to monitor API calls related to the administrator role, triggering an AWS Lambda function that sends notifications. Options A and B do not provide a near-real-time alert mechanism, while option C does not utilize CloudTrail, which is essential for tracking role assumptions effectively.