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

A highly regulated company has a policy that DevOps engineers should not log in to their Amazon EC2 instances except in emergencies. If a DevOps engineer does log in, the security team must be notified within 15 minutes of the occurrence.

Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

Option B is the best choice because it utilizes the Amazon CloudWatch agent to monitor logs specifically for user logins and can send alerts promptly through Amazon SNS. The other options either do not effectively focus on user logins in real-time or involve more complex setups that may delay notification, failing to meet the requirement for a 15-minute alert.