
Answer-first summary for fast verification
Answer: By setting up a VPC endpoint for Amazon S3 within the VPC.
The correct answer is B. Setting up a VPC endpoint for Amazon S3 within the VPC allows Amazon EC2 instances to access the S3 bucket without traffic traversing the internet. This ensures the connection remains within the AWS network, providing a secure and efficient way to access S3 resources. Options A, C, and D would either incorrectly configure DNS, route traffic through the internet/third-party services or set up unnecessary VPN connections, none of which meet the requirement as effectively as a VPC endpoint.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How can a solutions architect ensure that an application hosted on Amazon EC2 instances accesses an Amazon S3 bucket without internet traversal?
A
By creating a private hosted zone with Amazon Route 53.
B
By setting up a VPC endpoint for Amazon S3 within the VPC.
C
By configuring EC2 instances to access the S3 bucket through a NAT gateway.
D
By establishing an AWS Site-to-Site VPN connection between the VPC and the S3 bucket.
No comments yet.