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

A company runs a web application on multiple Amazon EC2 instances in a VPC. The application needs to write sensitive data to an Amazon S3 bucket. The data cannot be sent over the public internet.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

Creating a gateway VPC endpoint for Amazon S3 allows EC2 instances within a VPC to securely communicate with S3 buckets over the AWS private network, bypassing the public internet entirely. This solution requires updating the VPC route table so that traffic destined for S3 is directed to the gateway endpoint. Other options are invalid because S3 buckets cannot be deployed inside a VPC, Network Load Balancers do not support S3 buckets as targets, and AWS Direct Connect is designed for connecting on-premises data centers to AWS rather than internal VPC-to-S3 routing.