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

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: B

Explanation

The correct answer is B because a NAT gateway is specifically designed to provide outbound internet access for instances in a private subnet, allowing them to download updates without exposing them to the internet directly. Option A is incorrect as an internet gateway does not serve private subnets. Option C is not suitable because a NAT instance should be in a public subnet to function correctly. Option D inaccurately combines an internet gateway with a NAT instance in the same subnet, which is unnecessary and incorrect.