AWS Certified Solutions Architect – Professional (SAP-C02) — Question 63

A startup 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 run by the engineers.

Which strategy should a solutions architect use?

Answer options

Correct answer: D

Explanation

The correct answer is D because it enhances security by removing direct SSH access while using AWS Systems Manager for secure access and auditing. Options A, B, and C do not provide the same level of security and auditing capabilities as using Systems Manager, as they either retain direct SSH access or do not implement auditing effectively.