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

A company deploys Amazon EC2 instances that run in a VPC. The EC2 instances load source data into Amazon S3 buckets so that the data can be processed in the future. According to compliance laws, the data must not be transmitted over the public internet. Servers in the company's on-premises data center will consume the output from an application that runs on the EC2 instances.
Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

A gateway VPC endpoint for Amazon S3 allows EC2 instances to securely transfer data to S3 buckets over the private AWS network, avoiding the public internet. Additionally, AWS Direct Connect establishes a dedicated, private physical network connection between the on-premises data center and the VPC to keep the output retrieval off the public internet. Other options fail because NAT gateways and Site-to-Site VPNs traverse the public internet, or they propose invalid routing architectures.