AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 373

An organization is using a VPC endpoint for Amazon S3. When the security group rules for a set of instances were initially configured, access was restricted to allow traffic only to the IP addresses of the Amazon S3 API endpoints in the region from the published JSON file. The application was working properly, but now is logging a growing number of timeouts when connecting with Amazon S3. No internet gateway is configured for the VPC.
Which solution will fix the connectivity failures with the LEAST amount of effort?

Answer options

Correct answer: C

Explanation

Using an AWS-managed prefix-list in the security group outbound rules is the most efficient solution because AWS automatically maintains the list of IP addresses for Amazon S3, eliminating the need for manual or scripted updates. Option A is overly complex and requires maintaining custom code, while Option B addresses routing rather than the security group restriction causing the timeouts. Option D is incorrect because the issue is caused by firewall blocking due to changed IPs, not endpoint throughput limits.