AWS Certified Solutions Architect – Associate (SAA-C02) — Question 426

An Amazon EC2 instance is located in a private subnet in a new VPC. This subnet does not have outbound internet access, but the EC2 instance needs the ability to download monthly security updates from an outside vendor.
What should a solutions architect do to meet these requirements?

Answer options

Correct answer: A

Explanation

Attaching an internet gateway to the VPC and updating the route table to route default traffic (0.0.0.0/0) through it directly enables the outbound connectivity required to download security updates. Other options, such as placing a NAT gateway or NAT instance directly in the private subnet without an associated public subnet and internet gateway route, will fail to provide internet access. This approach ensures a direct path to the external vendor, satisfying the connectivity requirement.