easymultiple choiceObjective-mapped

You have an EC2 instance in private subnets with no NAT Gateway. The instance must access an Amazon S3 bucket (for example, to read configuration files) without sending traffic to the public internet. What VPC endpoint type should you use for S3?

Question 1easymultiple choice
Full question →

You have an EC2 instance in private subnets with no NAT Gateway. The instance must access an Amazon S3 bucket (for example, to read configuration files) without sending traffic to the public internet. What VPC endpoint type should you use for S3?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

Create a Gateway VPC endpoint for the S3 service

S3 uses a Gateway VPC endpoint type. Gateway endpoints integrate with your VPC route tables so that traffic destined for S3 is routed privately within the VPC, avoiding the need for NAT Gateway and public internet egress for S3 access.

B

Distractor review

Create an Interface VPC endpoint (powered by PrivateLink) for S3

Interface endpoints are used by many AWS services, but S3 is specifically accessed via a Gateway endpoint. Using an Interface endpoint for S3 would not provide the intended S3 connectivity pattern for private subnets in the standard AWS design.

C

Distractor review

Use a Transit Gateway to route to S3 over the internet

A Transit Gateway routes traffic between networks/VPCs, but it does not replace the service-specific private connectivity required to reach S3 without public internet. You would still need an appropriate private path (such as a gateway endpoint) rather than sending traffic over the internet.

D

Distractor review

Place a NAT Gateway and restrict security group egress to port 443 to reduce exposure

Adding a NAT Gateway directly violates the constraint of having no NAT Gateway. Security group egress restrictions cannot substitute for the required private S3 routing path.

Common exam trap

Common exam trap: usable hosts are not the same as total addresses

Subnetting questions often tempt you into counting all addresses. In normal IPv4 subnets, the network and broadcast addresses are not usable host addresses.

Technical deep dive

How to think about this question

Subnetting questions test whether you can identify the network, broadcast address, usable range, mask and correct subnet. Slow down enough to calculate the block size correctly.

KKey Concepts to Remember

  • CIDR notation defines the prefix length.
  • Block size helps identify subnet boundaries.
  • Network and broadcast addresses are not usable hosts in normal IPv4 subnets.
  • The required host count determines the smallest suitable subnet.

TExam Day Tips

  • Write the block size before choosing the subnet.
  • Check whether the question asks for hosts, subnets or a specific address range.
  • Do not confuse /24, /25, /26 and /27 host counts.

Related practice questions

Related SAA-C03 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this SAA-C03 question test?

CIDR notation defines the prefix length.

What is the correct answer to this question?

The correct answer is: Create a Gateway VPC endpoint for the S3 service — Use a Gateway VPC endpoint for S3. Gateway endpoints connect your private subnets to S3 by updating route tables so that S3 traffic is routed to the endpoint within AWS’s private networking. This allows S3 access without NAT Gateway and without traversing the public internet, aligning with the security and connectivity requirements. Why others are wrong: S3 uses a Gateway endpoint rather than an Interface endpoint. Transit Gateway does not automatically create private service access to S3; you still need the correct S3 endpoint mechanism. NAT Gateway contradicts the stated requirement of no NAT Gateway.

What should I do if I get this SAA-C03 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.