AWS Certified Advanced Networking – Specialty (ANS-C01) — Question 23

A company has deployed Amazon EC2 instances in private subnets in a VPC. The EC2 instances must initiate any requests that leave the VPC, including requests to the company's on-premises data center over an AWS Direct Connect connection. No resources outside the VPC can be allowed to open communications directly to the EC2 instances.
The on-premises data center's customer gateway is configured with a stateful firewall device that filters for incoming and outgoing requests to and from multiple VPCs. In addition, the company wants to use a single IP match rule to allow all the communications from the EC2 instances to its data center from a single IP address.
Which solution will meet these requirements with the LEAST amount of operational overhead?

Answer options

Correct answer: C

Explanation

The correct answer is C because deploying a NAT gateway allows the EC2 instances to initiate outbound connections without exposing them directly to incoming traffic. The other options either introduce unnecessary complexity (A and B) or rely on a NAT instance, which requires more operational management than a NAT gateway (D).