AWS VPC Networking Explained for SAA-C03: Subnets, Routing, NAT and Endpoints

FE
FigigExams Team
Senior Network & Security Engineers · 6+ years designing and securing enterprise networks. We build the FigigExams AWS SAA exam. This guide maps to task 1.2 and 3.4 of AWS's SAA-C03 exam guide.
Aligned to the AWS SAA-C03 exam guide · Nov 2026
Try it · free · no credit card

Know this topic? Test it on a full SAA-C03 paper

A complete SAA-C03 practice exam: 65 questions in 130 minutes, an explanation on every item and an Exam Coach report that ranks your weakest domains.

Already have an account? Log in to redeem

A VPC is your private network in an AWS Region. A subnet is public only because its route table has a route to an internet gateway. Instances in private subnets reach out through a NAT gateway, and they reach S3 or DynamoDB through a gateway VPC endpoint, which has no additional charge. Security groups are stateful and work at instance level; network ACLs are stateless and work at subnet level.Checked against AWS's published exam guide on 9 November 2026.

The building blocks

ComponentWhat it doesExam point
SubnetA range of IPs in one Availability ZoneA subnet lives in exactly one AZ
Route tableDecides where traffic goesA route to an internet gateway makes the subnet public
Internet gatewayConnects the VPC to the internetAttached to the VPC
NAT gatewayOutbound-only internet access for private subnetsLives in a public subnet, in one AZ
VPC endpointPrivate access to AWS servicesGateway type for S3 and DynamoDB; interface type for others
Security groupInstance-level firewallStateful, allow rules only
Network ACLSubnet-level firewallStateless, allow and deny

Security groups vs network ACLs

Security groupNetwork ACL
Applies toInstance (ENI)Subnet
StateStateful: return traffic is allowedStateless: return traffic needs its own rule
RulesAllow onlyAllow and deny
EvaluationAll rules togetherIn number order, first match wins

To block one specific IP address, use a network ACL deny rule. A security group cannot deny.

Reaching AWS services privately

Gateway endpointInterface endpoint (PrivateLink)
ServicesS3 and DynamoDBMany AWS services and partner services
HowRoute table entryAn ENI with a private IP in your subnet
CostNo additional chargeHourly and per-GB charges

A common cost question: private instances send heavy S3 traffic through a NAT gateway. A gateway endpoint removes that NAT processing charge.

Connecting networks

OptionUse it whenRemember
VPC peeringA few VPCs need to talkNot transitive; no overlapping CIDRs
Transit GatewayMany VPCs and on-premises networksHub and spoke
Site-to-Site VPNQuick, encrypted link over the internetFast to set up, variable latency
Direct ConnectConsistent, private bandwidthTakes longer to provision; not encrypted by default

NAT gateway placement

A NAT gateway sits in one Availability Zone. For resilience, deploy one per AZ and route each private subnet to the NAT gateway in its own AZ. A single shared NAT gateway is cheaper but creates a single-AZ dependency and cross-AZ data charges. AWS's guide tests this trade-off directly under Task 4.4.

A worked scenario: the three-tier VPC

Requirement: a web application must be reachable from the internet, its application servers must download patches and read from S3, and its database must never be reachable from the internet.

  1. Put the Application Load Balancer in public subnets in two Availability Zones. Only the load balancer needs an internet-facing address.
  2. Put the application servers in private subnets with a default route to a NAT gateway in the same AZ. They can reach out for patches, and nothing can reach in directly.
  3. Add a gateway VPC endpoint for S3 so S3 traffic skips the NAT gateway and its data processing charge.
  4. Put the database in a private subnet with no route to the internet at all.
  5. Chain the security groups. The application security group allows traffic from the load balancer's security group, and the database security group allows port 3306 only from the application security group.

Referencing a security group instead of an IP range keeps the rule correct as instances scale in and out. Exam answers that open a database to 0.0.0.0/0 or to a whole VPC range are there to be eliminated.

NAT gateway vs NAT instance

NAT gatewayNAT instance
Managed byAWSYou
ScalingAutomaticLimited by the instance size
AvailabilityRedundant within one AZYou build any failover yourself
Setup detailNoneMust disable the source/destination check

Choose the NAT gateway unless a question specifically requires the lowest possible cost at very small scale. For IPv6, an egress-only internet gateway does the same job as NAT: outbound only.

How the exam words it

If the question saysThink
Private instances need outbound internetNAT gateway
Reach S3 without traversing the internet or NATGateway endpoint
Expose a service privately to other VPCsAWS PrivateLink
Block a specific IP addressNetwork ACL deny rule
Connect dozens of VPCsTransit Gateway
Encrypted link, needed quicklySite-to-Site VPN
Consistent bandwidth to a data centerDirect Connect
Direct Connect plus encryptionA VPN over Direct Connect

VPC Networking: practice questions

Five original questions. Each explanation says why the other options fail.

Try it · free · no credit card

Your free AWS SAA exam code is ready

Sit the full SAA-C03 paper against the real 130-minute clock. AWS SAA is $39 once, lifetime, future versions included.

AWS-SAA-FULL Redeem the code

Already have an account? Log in to redeem

Frequently asked questions

What is the difference between a public and a private subnet in AWS?

A public subnet's route table has a route to an internet gateway. A private subnet does not, so it reaches the internet only through a NAT device.

What is the difference between a security group and a network ACL?

Security groups work at the instance level, are stateful and only allow traffic. Network ACLs work at the subnet level, are stateless, support allow and deny, and are evaluated in order.

Do gateway VPC endpoints cost money?

No. AWS states there is no additional charge for using gateway endpoints, which serve S3 and DynamoDB.

When should I use Transit Gateway instead of VPC peering?

When many VPCs and on-premises networks need to connect. Peering is one-to-one and not transitive.

Study guides Free exam