ANS-C01 VPC Gateway Endpoint Practice Question
A company has a VPC with resources that need to access an S3 bucket in the same region. To minimize latency and avoid internet traffic, which configuration should be used?
⚠ Common exam trap
Some may select VPC Interface Endpoint (D) because it also offers private access to S3; however, AWS recommends Gateway Endpoints for S3 and DynamoDB as they are free and purpose-built for these services. Interface Endpoints are more suitable for other services via PrivateLink.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Create a VPC Gateway Endpoint for S3
A VPC Gateway Endpoint for S3 provides private connectivity without traversing the internet, minimizing latency and avoiding data transfer costs. It is the recommended approach for accessing S3 from a VPC. While VPC Interface Endpoints for S3 also provide private access, they incur hourly charges and additional data processing fees. In most scenarios, Gateway Endpoints are preferred for S3 and DynamoDB due to their simplicity and cost-effectiveness. NAT Gateway (A) is used for internet-bound traffic, not private S3 access. VPC peering (C) connects VPCs but does not provide direct access to S3.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use a NAT Gateway in a public subnet and route traffic through it
Why it's wrong here
A NAT Gateway is used for outbound internet access, not for private S3 access.
- ✓
Create a VPC Gateway Endpoint for S3
Why this is correct
Creating a VPC Gateway Endpoint for S3 is the correct method for private, low-latency access to S3 within the same region. It is free and uses prefix lists in route tables.
- ✗
Use VPC peering to connect to an S3 bucket
Why it's wrong here
VPC peering does not inherently grant access to S3; you would still need an endpoint or internet gateway.
- ✗
Create a VPC Interface Endpoint for S3
Why it's wrong here
While VPC Interface Endpoints can provide private access to S3, they are not the recommended choice for same-region VPC access due to additional costs and complexity. The question seeks the optimal configuration, making D incorrect.
Visual reference
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
Go deeper
Related to this question
About these practice questions
This ANS-C01 question is part of Courseiva's 1,621-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This ANS-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ANS-C01 exam.