Medium1 markMultiple Choice
Domain 1.2: Secure WorkloadsDomain 1SecurityVPCS3

AWS SAA-C03 · Question 07 · Domain 1.2: Secure Workloads

A company has an Amazon S3 bucket containing confidential files. The bucket must only be accessible from a specific Amazon VPC. Which TWO steps are required to enforce this? (Select TWO.)

Answer options:

A.

Create a VPC endpoint for Amazon S3.

B.

Create a NAT Gateway in the VPC.

C.

Add an S3 bucket policy allowing access only from the VPC endpoint.

D.

Configure a Network ACL to block all non-VPC traffic.

E.

Enable S3 Block Public Access.

How to approach this question

Combine network routing with resource-based policies.

Full Answer

Create a VPC endpoint for S3. Add an S3 bucket policy denying access unless the request comes from the VPC endpoint.
A VPC endpoint provides a private route to S3. The bucket policy enforces that only traffic from that endpoint (aws:sourceVpce) is allowed.

Common mistakes

Thinking a NAT Gateway provides private access to S3.

Practice the full AWS SAA-C03 Practice Exam 2

65 questions · hints · full answers · grading

More questions from this exam