AWS Advanced Networking – Specialty (ANS-C01): 5 Practice Questions on Network Design

ANS-C01 is being retired: the last day to take this exam is Dec 31, 2026.

Here are 5 ANS-C01 practice questions on Network Design. It carries about 30% of the exam score. Each answer explains the correct choice and what is wrong with the others.

ANS-C01 Network Design: 5 practice questions

AWS Advanced Networking – Specialty (ANS-C01) · Network Design · 5 questions with answers and explanations

📊 About this set

Exam: ANS-C01 · 65 questions · 170 minutes · passing score 750 · the largest of 4 domains
This set: 3 advanced, 2 applied · 2 scenario, 1 comparison, 1 concept check, 1 troubleshooting
Topics: AWS Direct Connect, AWS Transit Gateway, Gateway Load Balancer, Elastic Load Balancing, Amazon Route 53, Amazon CloudFront

Question 1 of 5

A multinational company has Direct Connect connections established at Direct Connect locations in two different countries and wants to send traffic directly between those two on-premises sites through the AWS Direct Connect network backbone, without that traffic being routed through a VPC or an AWS Region. Which Direct Connect feature enables this?

AA Direct Connect Gateway with a private VIF in each Region
BAWS Global Accelerator with custom routing
CAWS Direct Connect SiteLink
DTransit Gateway inter-Region peering
Show answer

✅ Answer: C

Difficulty: advanced · Topic: AWS Direct Connect

Normal Direct Connect traffic flow
Without extra features, a virtual interface connects on premises to AWS. Two offices connected at two Direct Connect locations can only exchange traffic through a VPC or transit gateway in a Region, which adds hops and cost.

SiteLink
AWS Direct Connect SiteLink lets traffic travel between Direct Connect locations over the AWS global backbone without entering any Region.
• You enable SiteLink on private or transit VIFs attached to the same Direct Connect gateway.
• The Direct Connect gateway then exchanges routes between those VIFs, so each site learns the other's prefixes through BGP.
• It is billed per hour of SiteLink-enabled VIF plus data transfer.
Example: a site in Tokyo advertises 10.10.0.0/16 and a site in Frankfurt advertises 10.20.0.0/16; with SiteLink both learn each other's routes and traffic flows location to location.

Why each option works or fails
• ✗ A. Direct Connect gateway with private VIFs: without SiteLink a Direct Connect gateway does not route traffic between on-premises VIFs; it only connects them to AWS gateways.
• ✗ B. Global Accelerator custom routing: Global Accelerator brings internet users onto the AWS network toward AWS endpoints. It does not connect two private on-premises sites over Direct Connect.
• ✓ C. Direct Connect SiteLink (correct): it is the feature that sends traffic directly between Direct Connect locations over the AWS backbone without passing through a VPC or Region.
• ✗ D. TGW inter-Region peering: this connects transit gateways in Regions, so traffic would still pass through Regions, which the requirement forbids.

Question 2 of 5

A company deploys a centralized inspection VPC with a Gateway Load Balancer and stateful firewall appliances to inspect east-west traffic between spoke VPCs, all connected through a Transit Gateway. Testing reveals that some flows between two spoke VPCs are being dropped by the firewall because outbound and return traffic for the same flow are inspected by different firewall appliance instances in different Availability Zones. What should be enabled to fix this for VPC-to-VPC (east-west) inspection through Transit Gateway?

AAppliance mode on the inspection VPC attachment
BMulticast support on the Transit Gateway
CA second Transit Gateway only for return traffic
DCross-zone load balancing on the Transit Gateway
Show answer

✅ Answer: A

Difficulty: advanced · Topic: AWS Transit Gateway, Gateway Load Balancer

How a transit gateway picks an Availability Zone
A VPC attachment has an ENI in one subnet per Availability Zone. By default, a transit gateway keeps traffic in the AZ where it entered when it forwards to the next attachment. For east-west inspection this is a problem:
• Request from spoke A in AZ-a is sent to the inspection VPC in AZ-a.
• The reply from spoke B in AZ-b is sent to the inspection VPC in AZ-b.
A stateful firewall in AZ-b never saw the start of the flow and drops the reply.

Appliance mode
With appliance mode enabled on the inspection VPC attachment, the transit gateway uses a flow hash to select one AZ attachment for the whole life of the flow, for both directions. Both request and reply go through the same appliance (and the same Gateway Load Balancer endpoint).
Example: aws ec2 modify-transit-gateway-vpc-attachment --options ApplianceModeSupport=enable.

Why each option works or fails
• ✓ A. Appliance mode on the inspection attachment (correct): it keeps both directions of a flow in the same Availability Zone, so the same stateful firewall sees the request and the reply.
• ✗ B. Multicast support: multicast is for one-to-many traffic. It has no effect on which AZ a unicast flow uses.
• ✗ C. Second TGW for return traffic: splitting directions across transit gateways makes asymmetry worse and adds cost; the problem is AZ selection, which appliance mode solves on one gateway.
• ✗ D. Cross-zone load balancing on the TGW: cross-zone load balancing is a load balancer setting, not a transit gateway option, and it would not pin a flow's two directions to one appliance.

Question 3 of 5

An application needs WebSocket connections behind a load balancer with HTTP routing rules. Which option fits?

AApplication Load Balancer (ALB)
BClassic Load Balancer (CLB)
CVPC endpoint service (PrivateLink)
DGateway Load Balancer (GWLB)
Show answer

✅ Answer: A

Difficulty: applied · Topic: Elastic Load Balancing

WebSocket and load balancers
A WebSocket connection starts as an HTTP request with an Upgrade: websocket header and then stays open as a long-lived, two-way connection over the same TCP session. The load balancer must understand the HTTP upgrade and keep the connection open.

Which load balancer does what
• Application Load Balancer (ALB): layer 7. Natively supports WebSocket on HTTP and HTTPS listeners and routes by host header, path, HTTP headers, methods, query strings or source IP. Example: /chat/* to a WebSocket target group, /api/* to REST services.
• Network Load Balancer: layer 4. Can pass WebSocket traffic as TCP, but cannot inspect HTTP, so no path or host routing.
• Gateway Load Balancer: sends packets to third-party appliances such as firewalls using GENEVE.
• Classic Load Balancer: previous-generation, without listener rules for host or path routing.

Why each option works or fails
• ✓ A. Application Load Balancer (correct): it handles the WebSocket upgrade natively and offers HTTP listener rules for routing, meeting both requirements in one managed load balancer.
• ✗ B. Classic Load Balancer: this legacy load balancer has no content-based routing rules, so it cannot route by path or host, and AWS recommends current-generation load balancers instead.
• ✗ C. VPC endpoint service: an endpoint service exposes a service to other VPCs through PrivateLink, fronted by a Network or Gateway Load Balancer. It is a connectivity feature, not an HTTP routing load balancer.
• ✗ D. Gateway Load Balancer: it transparently inserts virtual appliances into the traffic path at layer 3. It does not terminate HTTP or provide HTTP routing rules for applications.

Question 4 of 5

A company has application stacks deployed in us-east-1 and eu-west-1. They currently use geolocation routing but want to be able to gradually shift a small, controlled percentage of traffic from one Region to the other for a capacity test, without changing which physical Region actually serves which countries. Which Route 53 capability should they use instead?

AGeolocation routing with a default record that points at the Region under test
BGeoproximity routing with a bias value set on the records for each Region
CSimple routing with one A record holding the IP addresses of both Regions
DLatency-based routing records for both Regions, each with an attached health check
Show answer

✅ Answer: B

Difficulty: advanced · Topic: Amazon Route 53

Route 53 routing policies that depend on location
• Geolocation routes by where the user is (continent, country, US state). A user in France always gets the record for France or Europe, all or nothing.
• Latency-based routes to the Region with the lowest measured latency for the user.
• Geoproximity routes by the physical distance between users and your resources. A bias value (from -99 to +99) grows or shrinks the area that is routed to a given Region, so you can move the boundary between Regions step by step.
Geoproximity was originally configured in Traffic Flow policies; today it can also be set directly on records.

Shifting a small share of traffic
Raising the bias for eu-west-1 slightly moves the edge of its area outward, so a small group of users near the boundary starts going to eu-west-1. You tune the value up or down to control how much traffic moves.

Why each option works or fails
• ✗ A. Geolocation with a default record: the default record only answers for locations that match no other record, so it moves users who were unmatched, not a small controlled share of the traffic.
• ✓ B. Geoproximity with a bias (correct): the bias moves the geographic boundary between the two Regions gradually, giving controlled, reversible shifts of traffic for a capacity test, which geolocation cannot do.
• ✗ C. Simple routing with both IP addresses: simple routing returns all values in random order with no weighting or location logic, so you cannot control how much traffic goes to each Region.
• ✗ D. Latency-based routing with health checks: latency routing chooses the fastest Region per user, and health checks only remove unhealthy endpoints; there is no setting to move a chosen amount of traffic.

Question 5 of 5

A company needs to restrict content in CloudFront to viewers in specific countries. Which feature fits?

ACloudFront geographic restrictions
BCloudFront Origin Shield
CCloudFront real-time logs
DCloudFront field-level encryption
Show answer

✅ Answer: A

Difficulty: applied · Topic: Amazon CloudFront

CloudFront geographic restrictions
CloudFront can decide, per request, whether a viewer's country is allowed to receive content from a distribution. It looks up the viewer's IP address in a GeoIP database and maps it to a country.
• Allow list: only the listed countries are served, for example US, CA and GB.
• Block list: every country is served except the listed ones.
A blocked viewer receives HTTP 403 (Forbidden), and you can configure a custom error page for that response.

Scope and alternatives
The built-in setting applies to the whole distribution. When rules must differ by path or combine country with other conditions, teams use an AWS WAF geo match rule, or read the CloudFront-Viewer-Country header in CloudFront Functions or Lambda@Edge.

Why each option works or fails
• ✓ A. Geographic restrictions (correct): this is the native CloudFront feature that allows or blocks viewers by country, which is exactly the requirement, with no code or extra service.
• ✗ B. Origin Shield: an additional caching layer in front of the origin that raises the cache hit ratio and reduces origin load. It never looks at the viewer's country or denies requests.
• ✗ C. Real-time logs: streams request details to Kinesis Data Streams within seconds for monitoring. It records who requested what but cannot stop a request from being served.
• ✗ D. Field-level encryption: encrypts specific POST form fields at the edge with a public key so only the backend can decrypt them. It protects data, not access by location.

🎯 Quick recap

• Site-to-site over the AWS backbone without touching a Region is SiteLink; everything else routes through a Region.
• For stateful inspection through a transit gateway, enable appliance mode on the inspection VPC attachment so both directions of a flow stay symmetric.
• Need WebSockets plus HTTP routing rules: ALB; layer 4 or legacy load balancers cannot route on HTTP content.
• Gradually move the geographic line between Regions → geoproximity with bias. Split by exact percentages regardless of location → weighted routing.
• Country-based allow or deny at CloudFront is geo restriction; Origin Shield, logging and field-level encryption do not decide who gets served.

🔗 Keep practicing on this blog

• 5 Questions to Test Your Network Implementation Knowledge (ANS-C01)
• AWS Advanced Networking – Specialty (ANS-C01): 5 Practice Questions on Network Management and Operation
• ANS-C01 Study Notes in Questions: Network Security, Compliance, and Governance
• All ANS-C01 practice sets
• Every exam on this blog

📚 Beyond this set

More ANS-C01 questions: https://hyunhp.github.io/cert-bank/#exam=ANS-C01
Study guide: https://hyunhp.github.io/cert-bank/study.html#exam=ANS-C01

These are original practice questions, not real exam questions, and cert-bank is not affiliated with any certification vendor.

Original practice questions written for this blog, not exam dumps.

Comments