AWS Certified DevOps Engineer – Professional — Question 138

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

Option C is the correct solution because it ensures that the custom AMI includes the latest AWS Systems Manager Agent, allowing centralized access and logging via Systems Manager Session Manager. This setup also enables notifications to the security team through S3 notifications. Options A, B, and D do not meet all requirements as they involve additional complexities, such as internet access or do not address the need for centralized control and notifications effectively.