
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
An application that is hosted on Amazon EC2 instances needs to access an Amazon S3 bucket. Traffic must not traverse the internet. How should a solutions architect configure access to meet these requirements?
A
Create a private hosted zone by using Amazon Route 53.
B
Set up a gateway VPC endpoint for Amazon S3 in the VPC.
C
Configure the EC2 instances to use a NAT gateway to access the S3 bucket.
D
Establish an AWS Site-to-Site VPN connection between the VPC and the S3 bucket.
Explanation:
Correct Answer: B - Set up a gateway VPC endpoint for Amazon S3 in the VPC.
Why this is correct:
Why other options are incorrect:
A. Create a private hosted zone by using Amazon Route 53.
C. Configure the EC2 instances to use a NAT gateway to access the S3 bucket.
D. Establish an AWS Site-to-Site VPN connection between the VPC and the S3 bucket.
Key AWS Concepts:
Best Practice: Always use VPC endpoints for accessing AWS services from within a VPC when you need to keep traffic within AWS's network for security, compliance, or performance reasons.