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

A company hired a penetration tester to simulate an internal security breach. The tester performed port scans on the company's Amazon EC2 instances. The company's security measures did not detect the port scans.

The company needs a solution that automatically provides notification when port scans are performed on EC2 instances. The company creates and subscribes to an Amazon Simple Notification Service (Amazon SNS) topic.

What should the company do next to meet the requirement?

Answer options

Correct answer: A

Explanation

The correct answer is A because Amazon GuardDuty is designed to detect malicious activity, including port scans, and it can trigger alarms in CloudWatch which can then send notifications through SNS. Options B and C focus on Amazon Inspector, which is more about vulnerability assessments than real-time threat detection. Option D involves CloudTrail, which logs API calls rather than detecting active scanning behavior.