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

A company uses Amazon EC2 as its primary compute platform. A DevOps team wants to audit the company's EC2 instances to check whether any prohibited applications have been installed on the EC2 instances.

Which solution will meet these requirements with the MOST operational efficiency?

Answer options

Correct answer: B

Explanation

Option B is correct as it effectively utilizes AWS Systems Manager Inventory and AWS Config rules to monitor and identify prohibited applications with minimal manual intervention. Options A and C involve additional complexities with S3 and CloudTrail that could reduce efficiency. Option D relies on a scripted approach and CloudWatch, which may not be as streamlined as using AWS Config for monitoring changes.