
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.
A company has applications that run on Amazon EC2 instances in a VPC. One of the applications needs to call the Amazon S3 API to store and read objects. According to the company's security regulations, no traffic from the applications is allowed to travel across the internet. Which solution will meet these requirements?
A
Configure an S3 gateway endpoint.
B
Create an S3 bucket in a private subnet.
C
Create an S3 bucket in the same AWS Region as the EC2 instances.
D
Configure a NAT gateway in the same subnet as the EC2 instances.
Explanation:
Correct Answer: A - Configure an S3 gateway endpoint.
Why this is correct:
S3 Gateway Endpoint is a VPC endpoint specifically designed for Amazon S3 that enables private connectivity between your VPC and S3 without requiring an internet gateway, NAT device, VPN connection, or AWS Direct Connect.
No internet traffic: When you configure an S3 gateway endpoint, traffic between your VPC and S3 stays within the AWS network and never traverses the public internet, meeting the security requirement.
Direct VPC-to-S3 routing: The gateway endpoint creates a route in your VPC route table that directs S3 traffic through the AWS private network.
Why other options are incorrect:
B. Create an S3 bucket in a private subnet.
C. Create an S3 bucket in the same AWS Region as the EC2 instances.
D. Configure a NAT gateway in the same subnet as the EC2 instances.
Key AWS Concepts:
Security Benefits: