A company runs Amazon EC2 instances in a VPC that load source data into Amazon S3 buckets for later processing. Compliance requires that the data must not be transmitted over the public internet. Servers in the company's on-premises data center will consume the output from the application running on the EC2 instances. Which solution meets these requirements?
Choose an answer
Tap an option to check your answer.
Correct answer: Deploy a gateway VPC endpoint for Amazon S3. Set up an AWS Direct Connect connection between the on-premises network and the VPC..
Why this is the answer
The correct solution ensures data remains private and accessible. A gateway VPC endpoint for Amazon S3 allows EC2 instances within the VPC to access S3 buckets without traversing the public internet, satisfying the compliance requirement. AWS Direct Connect establishes a private, dedicated network connection between the on-premises data center and the AWS VPC, enabling secure consumption of output from the EC2 instances without using the public internet. Incorrect options: An interface VPC endpoint for EC2 is for managing EC2, not accessing S3. Site-to-Site VPN uses the public internet. AWS Transit Gateway does not directly connect to S3 buckets; S3 endpoints are needed for private access. Site-to-Site VPN uses the public internet. Proxy EC2 instances with NAT gateways would route traffic over the public internet, violating compliance.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed