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

A company needs to move data from an Amazon EC2 instance to an Amazon S3 bucket. The company must ensure that no API calls and no data are routed through public internet routes. Only the EC2 instance can have access to upload data to the S3 bucket.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

Option A is correct because creating an interface VPC endpoint allows secure communication between the EC2 instance and S3 without going through the public internet. Option B involves a gateway endpoint, which is not necessary for this use case, and options C and D suggest using DNS lookups or public IP ranges, which contradicts the requirement of avoiding public internet routes.