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

A company wants to ensure that their EC2 instances are secure. They want to be notified if any new vulnerabilities are discovered on their instances, and they also want an audit trail of all login activities on the instances.

Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

The correct answer is D because Amazon Inspector is specifically designed to assess vulnerabilities in EC2 instances, while the Amazon CloudWatch Agent effectively captures system logs and sends them to CloudWatch Logs for monitoring. Options A and B mention AWS Systems Manager, which does not directly provide vulnerability detection as Amazon Inspector does, and option C uses Amazon CloudWatch for vulnerability detection, which is not its primary function.