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

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 the EC2 instances to securely and privately access S3 without routing traffic over the public internet. AWS Direct Connect establishes a private, dedicated network connection from the on-premises data center to the VPC, which ensures compliance for the consuming servers. Other options are incorrect because NAT gateways route traffic over the public internet, and AWS Transit Gateway cannot directly connect a VPC to Amazon S3 buckets.