AWS Certified SysOps Administrator – Associate — Question 174

A SysOps administrator configures an Amazon S3 gateway endpoint in a VPC. The private subnets inside the VPC do not have outbound internet access. User logs in to an Amazon EC2 instance in one of the private subnets and cannot upload a file to an Amazon S3 bucket in the same AWS Region.

Which solution will solve this problem?

Answer options

Correct answer: C

Explanation

The correct answer is C because adding the S3 prefix list destination routes to the route table allows traffic from the private subnet to reach the S3 gateway endpoint without needing internet access. Option A does not address the routing issue, B suggests allowing outbound traffic that isn't necessary, and D focuses on bucket permissions rather than network connectivity.