0%
AWS Solutions Architect Associate (SAA-C03) Exam Prep: Secure, Resilient, High-Performing and Cost-Optimized Architectures
Domain 1: Design Secure Architectures
Domain 2: Design Resilient Architectures
Domain 4: Design Cost-Optimized Architectures
Final Review and Mock Exams
High-Performing Networks and the Edge
Network design determines how fast and how reliably components talk to each other, to users and to on premises systems. The exam tests VPC building blocks, private access to AWS services, connecting many networks, hybrid links and edge services. VPC, Subnets and Route Tables and PrivateLink, Peering and Transit Gateway in the AWS in Practice course cover these in depth.
VPC building blocks
A VPC is a private network in one Region with an IPv4 CIDR block, such as 10.0.0.0/16, and optionally IPv6. Subnets divide it, each in one Availability Zone. A route table attached to each subnet decides where traffic goes. A public subnet has a route to an internet gateway, so resources with public IP addresses can be reached from the internet. A private subnet has no such route; its resources reach the internet, if needed, through a NAT gateway in a public subnet. AWS reserves five addresses in each subnet.
NAT gateways
A NAT gateway lets instances in private subnets start outbound connections to the internet, for updates or external APIs, while blocking inbound connections. It is managed, scales to 100 Gbps and is highly available within its zone, so a resilient design places one NAT gateway in each zone, with each private subnet routing to the NAT gateway in its own zone. This avoids a single point of failure and cross-zone data charges. NAT instances on EC2 are an older, self managed option rarely correct on the exam. For IPv6, an egress only internet gateway provides outbound only access.
Planning address space
CIDR ranges should be large enough for growth, including containers and Lambda functions with their own interfaces, and must not overlap with other VPCs or on premises networks that will be connected, because peering and Transit Gateway cannot route between overlapping ranges. A VPC can add secondary CIDR blocks if it runs short. Amazon VPC IP Address Manager plans and tracks address space across accounts and Regions.
Security groups and network ACLs
Security groups are stateful firewalls at the interface level, allowing traffic by rules that can reference other security groups, which is the standard way to let the web tier reach the application tier. Network ACLs are stateless filters at the subnet level with numbered allow and deny rules, useful for blocking specific addresses. Neither adds measurable latency. The security lessons covered them in detail; for performance, they matter only when misconfigured rules block traffic.
Elastic network interfaces and IP addresses
Each instance has a primary network interface and can attach more, each with private IP addresses and optionally an Elastic IP, a static public IPv4 address. Public IPv4 addresses are charged hourly, so designs that avoid them by using load balancers, NAT gateways and IPv6 save money. Elastic IPs suit cases where a fixed public address is needed, such as an allow list at a partner, though Global Accelerator or an NLB with Elastic IPs is often a better answer for highly available static addresses.
DNS in the VPC
The Route 53 Resolver answers DNS queries from instances in a VPC. Private hosted zones give internal names to resources in associated VPCs. Resolver endpoints forward queries between the VPC and on premises DNS servers, so hybrid networks resolve each other's names: inbound endpoints let on premises resolvers query AWS names, and outbound endpoints with forwarding rules let VPC resources query on premises names.
Monitoring network traffic
VPC Flow Logs record accepted and rejected IP traffic for interfaces, subnets or VPCs, to CloudWatch Logs or S3, for troubleshooting connectivity and security analysis. Reachability Analyzer checks whether a path exists between two resources and which component blocks it. Network Access Analyzer finds unintended access paths. These tools answer questions about why traffic is not reaching a destination.
Reading network clues in questions
Exam scenarios describe networks in plain language rather than naming components. Phrases such as instances must not be reachable from the internet but must download updates describe private subnets with a NAT gateway. Phrases such as the web tier must be reachable by customers describe a public subnet with a load balancer, not public instances. Phrases such as the application must survive the loss of a zone describe subnets and NAT gateways in at least two zones. Phrases such as traffic between the application and S3 must not traverse the internet describe a gateway endpoint. Translating each phrase into a component before reading the options makes wrong answers easy to spot.
Worked example: a new VPC for a growing product
A startup expects to grow from one application to dozens of services over three years, with containers, Lambda functions and a future connection to a parent company's data centre that uses 10.0.0.0/8. A sound plan picks a range that does not overlap the parent, such as 172.20.0.0/16, leaving room for many subnets. Each of three zones gets a public subnet of modest size for load balancers and NAT gateways, a large private subnet for containers and functions that consume many addresses, and a small database subnet. IPv6 is enabled in dual stack mode for future growth. VPC IP Address Manager records the allocation so that future VPCs in other accounts do not collide. When the data centre connection arrives, routing works immediately because nothing overlaps.
Subnet sizing details
Subnet sizes range from a /28 with 16 addresses to a /16. With five addresses reserved in each subnet, a /28 offers only 11 usable addresses, which fills quickly. Services that place network interfaces in subnets, such as load balancers, interface endpoints, EKS pods with the VPC CNI plugin, Lambda in a VPC and RDS, all consume addresses. A common mistake is creating small subnets that later block scaling, so size private subnets generously and keep public subnets small because they hold few resources.
Route tables in more detail
Every subnet is associated with exactly one route table, and if none is set it uses the main route table of the VPC. The most specific matching route wins, so a route for 10.1.0.0/16 to a peering connection beats a default route of 0.0.0.0/0 to a NAT gateway for traffic to that range. The local route for the VPC CIDR cannot be removed, which is why all subnets in a VPC can reach each other unless security groups or network ACLs block them. A good practice is to leave the main route table private and create explicit route tables for public subnets.
Shared VPCs
With VPC sharing through AWS Resource Access Manager, one networking account owns the VPC and shares subnets with other accounts in the organisation. Participant accounts launch their resources into the shared subnets but cannot change the network. This centralises IP management, NAT gateways and endpoints, reducing cost and duplication, while each team keeps billing and permissions for its own resources. When a question asks how many accounts can use one centrally managed network with fewer NAT gateways and endpoints, shared VPCs are a good answer.
Quick check
Ask yourself these questions about any VPC design: Is the CIDR range free of overlaps with every network it may connect to? Does every zone have its own public subnet, NAT gateway and private subnets? Are only load balancers and NAT gateways in public subnets? Do security groups allow traffic only from the tier in front? Is there room for growth in the private subnets? If any answer is no, the design has a weakness that an exam option is probably fixing.
Final tip
When two answers both work, choose the one that keeps application instances private, removes single points of failure in each zone and avoids unnecessary public IP addresses. These three principles resolve most VPC layout questions on the exam.
Common VPC traps
Several traps recur. Placing a NAT gateway in a private subnet breaks it, because the NAT gateway itself needs a route to the internet gateway. Forgetting to update route tables after creating a NAT gateway or endpoint leaves traffic on the old path. Security groups that allow traffic from a CIDR range instead of the tier's security group break when instances scale. Assuming a default VPC is production ready ignores that its subnets are all public. Each trap appears as a symptom in a question, such as instances cannot reach the internet, and the fix is the missing route or misplaced component.
Put a NAT gateway in each Availability Zone and route each zone's private subnets to it. One shared NAT gateway is a single point of failure and adds cross-zone charges.