
Answer-first summary for fast verification
Answer: Establish a VPC gateway endpoint and set the private subnet's route table to utilize it for S3 traffic.
The most cost-effective solution for reducing data output costs when interacting with Amazon S3 from a private subnet in a VPC is to use a VPC gateway endpoint. A VPC gateway endpoint for Amazon S3 allows instances in the VPC to communicate directly with S3 without using the NAT gateway, effectively reducing data transfer costs. Option C correctly suggests establishing a VPC gateway endpoint and configuring the private subnet's route table to use it for S3 traffic. This eliminates the need for a NAT gateway for S3 interactions and hence reduces costs.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company seeks a cost-effective solution to reduce data output costs for a service that interacts with an Amazon S3 bucket within the same AWS Region, currently using a NAT gateway. Which of the following options is the most cost-effective approach for an EC2-based service within a VPC's private subnet?
A
Deploy a dedicated EC2 NAT instance in the public subnet and update the private subnet's route table for S3 traffic.
B
Place a dedicated EC2 NAT instance in the private subnet and adjust the public subnet's route table for S3 traffic.
C
Establish a VPC gateway endpoint and set the private subnet's route table to utilize it for S3 traffic.
D
Add a second NAT gateway and modify the private subnet's route table to direct S3 traffic through it.