nerdexam
Amazon

SAP-C02 · Question #25

A start up company hosts a fleet of Amazon EC2 instances in private subnets using the latest Amazon Linux 2 AMI. The company's engineers rely heavily on SSH access to the instances for…

The correct answer is D. Create an IAM role with the AmazonSSMManagedInstanceCore managed policy attached. Attach. Allows client machines to be able to connect to Session Manager using the AWS CLI instead of going through the AWS EC2 or AWS Server Manager console. https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with- install-plugin.html

Submitted by ravi_2018· Mar 6, 2026Continuous Improvement for Existing Solutions

Question

A start up company hosts a fleet of Amazon EC2 instances in private subnets using the latest Amazon Linux 2 AMI. The company's engineers rely heavily on SSH access to the instances for troubleshooting. The company's existing architecture includes the following:

  • A VPC with private and public subnets, and a NAT gateway
  • Site-to-Site VPN for connectivity with the on-premises environment
  • EC2 security groups with direct SSH access from the on-premises

environment The company needs to increase security controls around SSH access and provide auditing of commands executed by the engineers. Which strategy should a solutions architect use?

Options

  • AInstall and configure EC2 Instance Connect on the fleet of EC2 instances. Remove all security
  • BUpdate the EC2 security groups to only allow inbound TCP on port 22 to the IP addresses of the
  • CUpdate the EC2 security groups to only allow inbound TCP on port 22 to the IP addresses of the
  • DCreate an IAM role with the AmazonSSMManagedInstanceCore managed policy attached. Attach

How the community answered

(36 responses)
  • A
    6% (2)
  • B
    14% (5)
  • C
    6% (2)
  • D
    75% (27)

Explanation

Allows client machines to be able to connect to Session Manager using the AWS CLI instead of going through the AWS EC2 or AWS Server Manager console. https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with- install-plugin.html

Community Discussion

No community discussion yet for this question.

Full SAP-C02 Practice