nerdexam
Amazon

DOP-C02 · Question #345

A company detects unusual login attempts in many of its AWS accounts. A DevOps engineer must implement a solution that sends a notification to the company's security team when multiple failed login at

The correct answer is A. Configure AWS CloudTrail to send management events to an Amazon CloudWatch Logs log. AWS CloudTrail management events include login attempts like ConsoleLogin. By sending these events to Amazon CloudWatch Logs, you can track and analyze these logs in real-time, which is ideal for detecting failed login attempts. A CloudWatch Logs metric filter can be configured t

Submitted by yuki_2020· Mar 6, 2026Incident & Event Response

Question

A company detects unusual login attempts in many of its AWS accounts. A DevOps engineer must implement a solution that sends a notification to the company's security team when multiple failed login attempts occur. The DevOps engineer has already created an Amazon Simple Notification Service (Amazon SNS) topic and has subscribed the security team to the SNS topic. Which solution will provide the notification with the LEAST operational effort?

Options

  • AConfigure AWS CloudTrail to send management events to an Amazon CloudWatch Logs log
  • BConfigure AWS CloudTrail to send management events to an Amazon S3 bucket. Create an
  • CConfigure AWS CloudTrail to send data events to an Amazon CloudWatch Logs log group.
  • DConfigure AWS CloudTrail to send data events to an Amazon S3 bucket. Configure an Amazon

How the community answered

(37 responses)
  • A
    70% (26)
  • B
    5% (2)
  • C
    16% (6)
  • D
    8% (3)

Explanation

AWS CloudTrail management events include login attempts like ConsoleLogin. By sending these events to Amazon CloudWatch Logs, you can track and analyze these logs in real-time, which is ideal for detecting failed login attempts. A CloudWatch Logs metric filter can be configured to detect specific patterns (such as failed ConsoleLogin events) in the logs. This provides an efficient and automated way to detect multiple failed login attempts. Once the metric filter is in place, you can create a CloudWatch alarm that triggers when the number of failed login attempts exceeds a predefined threshold. This alarm can automatically notify the security team by sending a message to the SNS topic. This solution is efficient because it: - Uses existing services like CloudTrail and CloudWatch, which are designed for monitoring and - Provides real-time detection and notification with minimal configuration. - Requires no custom code or manual intervention after setup. It provides the best balance of simplicity, real-time monitoring, and minimal operational effort for detecting and notifying about failed login attempts.

Topics

#AWS CloudTrail#CloudWatch Logs#CloudWatch Alarms#SNS Notifications#Failed Logins

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice