AWS Certified SysOps Administrator – Associate (legacy) — Question 665

A company's security policy states that connecting to Amazon EC2 instances is not permitted through SSH and RDP. If access is required, authorized staff can connect to instances by using AWS Systems Manager Session Manager.
Users report that they are unable to connect to one specific Amazon EC2 instance that is running Ubuntu and has AWS Systems Manager Agent (SSM Agent) pre-installed. These users are able to use Session Manager to connect to other instances in the same subnet, and they are in an IAM group that has Session
Manager permission for all instances.
What should a SysOps administrator do to resolve this issue?

Answer options

Correct answer: B

Explanation

For AWS Systems Manager to successfully manage an EC2 instance, the instance must have an IAM instance profile attached that grants the necessary permissions to interact with the Systems Manager API. Attaching the AmazonSSMManagedInstanceCore managed policy to the EC2 instance profile satisfies this requirement. Since Session Manager does not require open inbound ports (like port 22) or SSH key pairs, the other options are incorrect.