easymultiple choiceObjective-mapped

A company runs Amazon EC2 instances in private subnets. Those instances only need to access Amazon S3 (read/write) and Amazon DynamoDB. The VPC currently routes all outbound traffic through a NAT Gateway, increasing monthly cost. What change most directly reduces NAT Gateway usage for these AWS services?

Question 1easymultiple choice
Full question →

A company runs Amazon EC2 instances in private subnets. Those instances only need to access Amazon S3 (read/write) and Amazon DynamoDB. The VPC currently routes all outbound traffic through a NAT Gateway, increasing monthly cost. What change most directly reduces NAT Gateway usage for these AWS services?

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

Remove the NAT Gateway path for S3 and DynamoDB by creating S3 Gateway VPC endpoints and DynamoDB Gateway VPC endpoints, and updating the private subnet route tables to route S3/DynamoDB traffic to those endpoints.

S3 and DynamoDB Gateway VPC endpoints keep traffic inside AWS without sending it to the internet, so requests don’t traverse the NAT Gateway (avoiding NAT hourly charges and per-GB NAT data processing).

B

Distractor review

Keep the NAT Gateway but disable any cross-region routing settings for the route table entries that point to the NAT Gateway.

Cross-region routing settings do not prevent the traffic from still being sent to the NAT Gateway. If the route still points to NAT, NAT charges still apply.

C

Distractor review

Create interface VPC endpoints for all services (including S3) and route S3 traffic to the interface endpoint network interfaces (ENIs).

S3 does not use interface VPC endpoints. S3 uses Gateway VPC endpoints (and requires appropriate prefix-list route entries). Using the wrong endpoint type won’t address the NAT path.

D

Distractor review

Add an IAM policy that denies requests unless they originate from the public subnet, so the application sends fewer requests through the NAT Gateway.

IAM does not control whether traffic traverses the NAT Gateway at the network layer. Even if requests are denied, the EC2 instances will still attempt outbound connectivity through the existing NAT routes (and you would also likely break the application).

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: Remove the NAT Gateway path for S3 and DynamoDB by creating S3 Gateway VPC endpoints and DynamoDB Gateway VPC endpoints, and updating the private subnet route tables to route S3/DynamoDB traffic to those endpoints. — Use Gateway VPC endpoints for S3 and DynamoDB. By creating an S3 Gateway endpoint and a DynamoDB Gateway endpoint and then updating the private subnet route tables (using the endpoint’s prefix lists) so that S3 and DynamoDB traffic is routed to those endpoints, the instances can reach these services without sending the traffic to the internet. That means the requests do not pass through the NAT Gateway, reducing both the NAT Gateway hourly charge and the per-GB data processing charges. Interface endpoints are not the correct mechanism for S3, and IAM changes do not alter the underlying network path. Keeping the NAT Gateway path (even with other routing settings changed) still sends S3/DynamoDB traffic to NAT, so NAT charges continue. Interface endpoints don’t apply to S3, so they won’t remove NAT usage for S3. IAM denial rules can break functionality and do not change whether network traffic uses the NAT route.

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.