Medium1 markMultiple Choice
Domain 1.1: Network ConnectivityNetworkingS3VPC Endpoints

AWS SAP-C02 · Question 05 · Domain 1.1: Network Connectivity

A company requires that all API calls to Amazon S3 from their VPC must not traverse the public internet. Furthermore, access to S3 must be restricted to only a specific S3 bucket owned by the company. How should the architect implement this?

Answer options:

A.

Create a VPC Interface Endpoint for S3. Use a security group to restrict access to the bucket.

B.

Create a VPC Gateway Endpoint for S3. Attach an endpoint policy that allows access only to the specific S3 bucket ARN.

C.

Route S3 traffic through a NAT Gateway and use an IAM policy on the EC2 instances to restrict bucket access.

D.

Enable S3 Block Public Access on the bucket and use an Internet Gateway.

How to approach this question

Combine private connectivity (VPC Endpoint) with resource restriction (Endpoint Policy).

Full Answer

B.Create a VPC Gateway Endpoint for S3. Attach an endpoint policy that allows access only to the specific S3 bucket ARN.✓ Correct
Create a VPC Gateway Endpoint for S3. Attach an endpoint policy that allows access only to the specific S3 bucket ARN.
VPC Gateway Endpoints provide private connectivity to S3. Endpoint policies allow you to restrict which S3 buckets can be accessed through the endpoint.

Common mistakes

Using NAT Gateway, which violates the requirement to avoid the public internet.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 6

75 questions · hints · full answers · grading

More questions from this exam