AWS Certified Solutions Architect – Associate (SAA-C03) — Question 721

A company’s developers want a secure way to gain SSH access on the company's Amazon EC2 instances that run the latest version of Amazon Linux. The developers work remotely and in the corporate office.

The company wants to use AWS services as a part of the solution. The EC2 instances are hosted in a VPC private subnet and access the internet through a NAT gateway that is deployed in a public subnet.

What should a solutions architect do to meet these requirements MOST cost-effectively?

Answer options

Correct answer: D

Explanation

AWS Systems Manager Session Manager provides secure, one-click interactive shell access to EC2 instances without needing to open inbound ports, manage SSH keys, or run bastion hosts, making it the most cost-effective and secure option. Since the instances run the latest version of Amazon Linux, the SSM Agent is pre-installed, requiring only the AmazonSSMManagedInstanceCore IAM policy to function. Other options involving bastion hosts or VPN connections introduce unnecessary management overhead, infrastructure costs, and security risks.