AWS Certified DevOps Engineer – Professional — Question 21

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 correct because it uses the Amazon CloudWatch agent to monitor logs for user logins and sends notifications to the Security team when such logins are detected, aligning with the policy requirements. Options A, C, and D involve unnecessary complexity or do not directly address the need for immediate notification of user logins to the Security team within the specified timeframe.