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

A company has a data ingestion application that runs across multiple AWS accounts. The accounts are in an organization in AWS Organizations. The company needs to monitor the application and consolidate access to the application. Currently, the company is running the application on Amazon EC2 instances from several Auto Scaling groups. The EC2 instances have no access to the internet because the data is sensitive. Engineers have deployed the necessary VPC endpoints. The EC2 instances run a custom AMI that is built specifically for the application.

To maintain and troubleshoot the application, system administrators need the ability to log in to the EC2 instances. This access must be automated and controlled centrally. The company’s security team must receive a notification whenever the instances are accessed.

Which solution will meet these requirements?

Answer options

Correct answer: C

Explanation

The correct answer, C, effectively integrates the latest AWS Systems Manager Agent into the custom AMI and assigns the necessary role for EC2 instances to utilize Systems Manager. This allows for automated, controlled access while enabling logging for security notifications. Options A and B fail to provide a centralized access solution without internet access, while option D complicates the setup unnecessarily and does not utilize the latest image-building practices.