mediummultiple choiceObjective-mapped

A company hosts application servers in private subnets. They must access Amazon S3 and read secrets from AWS Secrets Manager, but they want to avoid internet egress. They currently use a NAT gateway and see high NAT-related costs. What change most directly reduces cost while keeping traffic on the AWS network?

Question 1mediummultiple choice
Full question →

A company hosts application servers in private subnets. They must access Amazon S3 and read secrets from AWS Secrets Manager, but they want to avoid internet egress. They currently use a NAT gateway and see high NAT-related costs. What change most directly reduces cost while keeping traffic on the AWS network?

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

Distractor review

Keep the NAT gateway and reduce instance size to lower NAT throughput charges

Reducing instance size might reduce some traffic, but it does not directly eliminate NAT gateway usage. NAT costs can remain high if the application still sends requests through NAT.

B

Best answer

Create a Gateway VPC endpoint for S3 and an Interface VPC endpoint for Secrets Manager, then route requests via those endpoints instead of NAT

VPC endpoints allow private connectivity to specific AWS services without sending traffic through a NAT gateway. S3 uses a Gateway endpoint type, while Secrets Manager uses an Interface endpoint type. This directly targets and reduces NAT gateway costs while meeting the “no internet egress” requirement.

C

Distractor review

Switch Secrets Manager to use S3 as a storage backend so both services can use the S3 endpoint only

Secrets Manager is a managed secrets service and does not provide an option to “swap” storage to S3 for direct endpoint sharing. This would change the application and introduces unnecessary redesign risk.

D

Distractor review

Move the private subnets to public subnets and attach an Internet Gateway to eliminate NAT

Using public subnets with an Internet Gateway removes NAT, but it allows internet-routed traffic, which violates the requirement to avoid internet egress and can increase exposure.

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 S3 and an Interface VPC endpoint for Secrets Manager, then route requests via those endpoints instead of NAT — To avoid NAT gateway costs while keeping traffic on the AWS network, the team should use VPC endpoints for the required services. S3 supports a Gateway VPC endpoint, and Secrets Manager supports an Interface VPC endpoint. With these endpoints configured and route traffic sent through them, requests from private subnets to S3 and Secrets Manager are routed privately within AWS infrastructure instead of through the NAT gateway, directly reducing NAT-related charges. Simply resizing instances does not remove the NAT gateway path, so NAT charges may not meaningfully decrease. Re-architecting secrets storage around S3 is unnecessary and does not address the service connectivity requirement. Moving to public subnets with an Internet Gateway avoids NAT but breaks the “avoid internet egress” constraint and increases security risk.

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.