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

A company uses AWS Systems Manager to manage a fleet of Amazon Linux EC2 instances that have SSM Agent installed. All EC2 instances are configured to use Instance Metadata Service Version 2 (IMDSv2) and are running in the same AWS account and AWS Region. Company policy requires developers to use only Amazon Linux.

The company wants to ensure that all new EC2 instances are automatically managed by Systems Manager after creation.

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

Answer options

Correct answer: A

Explanation

Option A is correct because Default Host Management Configuration (DHMC) allows Systems Manager to automatically manage EC2 instances in an account and Region without needing individual instance profile configurations, providing the highest operational efficiency. Because the Amazon Linux instances already have the SSM Agent pre-installed and use IMDSv2, DHMC works seamlessly once the default-ec2-instance-management-role is configured with the AmazonSSMManagedEC2InstanceDefaultPolicy. Options B, C, and D are incorrect as they introduce unnecessary operational overhead through AWS Config rules, remediation scripts, or Patch Manager tasks for an agent that is already present.