AWS Advanced Networking – Specialty (ANS-C01): 5 Practice Questions on Network Implementation (Set 2)
ANS-C01 is being retired: the last day to take this exam is Dec 31, 2026.
5 questions, one domain: Network Implementation from the AWS Advanced Networking – Specialty (ANS-C01) exam. It makes up about 26% of the exam. Pick your answer, then check it against the explanation.

AWS Advanced Networking – Specialty (ANS-C01) · Network Implementation · 5 questions with answers and explanations
Question 1 of 5
A company peers transit gateway TGW-A in us-east-1 (VPC 10.10.0.0/16) with TGW-B in eu-west-1 (VPC 10.20.0.0/16). Both transit gateways use their default route table for association and propagation, the peering attachment is accepted and available, and each VPC route table sends 10.0.0.0/8 to its transit gateway. Traffic between the VPCs still fails. Which TWO actions fix this? (Select TWO)
Show answer
✅ Answer: B, E
Difficulty: applied · Topic: AWS Transit Gateway, Amazon VPC
Transit gateway peering is static
An inter-Region transit gateway peering attachment connects two transit gateways over the AWS backbone. Unlike VPC, VPN and Direct Connect attachments, a peering attachment does not support route propagation or BGP. Each side must be told, with a static route, which prefixes live behind the peer.
Where the routes go
• On TGW-A: 10.20.0.0/16 → peering attachment in the route table used by the VPC attachment.
• On TGW-B: 10.10.0.0/16 → peering attachment in its route table.
• Return traffic that arrives on the peering attachment is looked up in the route table associated with that attachment. Here that is the default route table, which already has the local VPC CIDR propagated.
Both directions are needed: with only one static route, packets reach the far VPC but replies are dropped.
Why each option works or fails
• ✗ A. Propagation from the peering attachment: transit gateway peering attachments do not support route propagation, so there is nothing to enable; the routes must be static.
• ✓ B. Static route on TGW-B (correct): the reply direction needs the mirror route for 10.10.0.0/16 on TGW-B; with both routes in place, requests and replies are forwarded.
• ✗ C. BGP over the peering: inter-Region transit gateway peering has no dynamic routing protocol. Distinct ASNs are good practice, but no BGP session is formed over the peering attachment.
• ✗ D. VPC routes to the peering attachment: a VPC route table can target the transit gateway, not an attachment on it. The VPC routes are already correct; the gap is in the transit gateway route tables.
• ✓ E. Static route on TGW-A (correct): peering attachments never propagate routes, so TGW-A only learns that 10.20.0.0/16 lives behind the peering attachment from a static route.
Question 2 of 5
A company must create a private VIF on a hosted Direct Connect connection provided by a partner. Which step must the company perform?
Show answer
✅ Answer: A
Difficulty: advanced · Topic: AWS Direct Connect
Dedicated versus hosted Direct Connect
• Dedicated connection: you order a physical port from AWS, receive a Letter of Authorization (LOA-CFA), and arrange the cross-connect.
• Hosted connection: an AWS Direct Connect Partner already has capacity and provisions a connection of a given speed in your account.
• Hosted VIF: the partner (or another account) creates a virtual interface on its own connection and assigns it to your account.
Steps for the customer
• In both hosted cases, the resource appears in your account in a pending state and you must accept it.
• For a hosted connection, you then create your private VIF on it; for a hosted VIF, you attach it to a virtual private gateway or Direct Connect gateway while accepting.
• Finally, configure BGP on your router: VLAN, your ASN, peer IP addresses and optional MD5 key.
Why each option works or fails
• ✓ A. Accept, then configure BGP (correct): the partner provisions the hosted resource, but it stays pending until the customer accepts it; the VIF only comes up after BGP is configured on the customer router.
• ✗ B. Order a dedicated port: that is the dedicated connection process with an LOA. A hosted connection already exists through the partner, so no port order is needed.
• ✗ C. Public VIF advertising all prefixes: the requirement is a private VIF to a VPC. A public VIF reaches public AWS endpoints and accepts only public prefixes you own, not all company prefixes.
• ✗ D. Internet gateway on the VPC: a private VIF terminates on a virtual private gateway or Direct Connect gateway; an internet gateway plays no part in bringing it up.
Question 3 of 5
A network team must deploy the same Transit Gateway route tables and VPC attachments to 40 accounts and 3 Regions, with drift detection. Which approach fits?
Show answer
✅ Answer: D
Difficulty: advanced · Topic: AWS CloudFormation, AWS Transit Gateway
Declarative networking across many accounts
AWS CloudFormation describes resources in a template, including Transit Gateway types such as AWS::EC2::TransitGatewayRouteTable, AWS::EC2::TransitGatewayVpcAttachment, AWS::EC2::TransitGatewayRouteTableAssociation, AWS::EC2::TransitGatewayRouteTablePropagation and AWS::EC2::TransitGatewayRoute.
StackSets deploys one template as stack instances to many accounts and Regions in a single operation, for example 40 accounts × 3 Regions = 120 stack instances, with controls such as maximum concurrent accounts and failure tolerance.
Drift detection
CloudFormation can compare a stack's resources with their actual configuration and report drift, for example an attachment option changed in the console. StackSets can run drift detection across all stack instances and show which accounts have drifted.
A typical layout: the TGW route tables live in the network account that owns the transit gateway, while the VPC attachments are deployed into each spoke account, all from templates.
Why each option works or fails
• ✗ A. EventBridge-scheduled API calls: custom scripts calling EC2 APIs are imperative and must handle ordering, errors and cleanup themselves, and they provide no built-in drift detection or deployment status.
• ✗ B. Manual console setup with a runbook: repeating the same steps in 40 accounts and 3 Regions is slow and error-prone, and nothing detects later drift.
• ✗ C. Config rules that create resources: AWS Config evaluates resource compliance. Remediation can run Automation documents on non-compliant resources, but Config is not a provisioning tool for building consistent TGW topologies.
• ✓ D. CloudFormation StackSets (correct): they deploy the same TGW templates to every account and Region consistently, update them all from one place, and support drift detection on the stack instances.
Question 4 of 5
A VPC has a DNS Firewall rule group blocking known-malicious domains, and a separate conditional forwarding rule sending queries for internal.example.com to an on-premises DNS server. A query is issued for a domain that matches both the DNS Firewall block list and is a subdomain of internal.example.com. What determines the outcome, and why does this matter operationally?
Show answer
✅ Answer: C
Difficulty: advanced · Topic: Route 53 Resolver, Route 53 Resolver DNS Firewall
Where DNS Firewall sits
Route 53 Resolver DNS Firewall is attached to a VPC through rule group associations. It inspects DNS queries that the VPC sends to the Route 53 Resolver, before the Resolver answers them from a hosted zone, resolves them on the internet, or forwards them with a Resolver rule.
• Each rule matches a domain list and takes an action: ALLOW, BLOCK (with a response such as NODATA, NXDOMAIN or a custom override record) or ALERT.
• Forwarding rules decide *where* a query goes; DNS Firewall decides *whether* it is allowed to go anywhere.
Example
A block list contains bad.internal.example.com. A forwarding rule sends internal.example.com to 172.16.0.10. An instance queries bad.internal.example.com: DNS Firewall matches it and returns the configured block response, so it is never forwarded on-premises.
Operationally, this means a block list can affect internal names too: a broad entry (or a wildcard) can break on-premises lookups, so review lists and consider ALLOW exceptions.
Why each option works or fails
• ✗ A. Only internet-bound queries: DNS Firewall filters queries that go through the VPC's Resolver, including names in private hosted zones and forwarded domains, not just internet names.
• ✗ B. Always SERVFAIL: the result depends on the BLOCK response you configure (NODATA, NXDOMAIN or an override). There is no fixed SERVFAIL outcome for overlapping configurations.
• ✓ C. DNS Firewall can still block it (correct): DNS Firewall evaluates queries passing through the Resolver regardless of whether they would be forwarded, so a block match wins before any forwarding happens.
• ✗ D. Forwarding rules always win: forwarding does not bypass DNS Firewall; the firewall check is applied to the query before the Resolver sends it to the on-premises target.
Question 5 of 5
A transit gateway's attachment to a Direct Connect gateway shows the state available in the Amazon VPC console, yet on-premises users cannot reach VPC workloads over Direct Connect. The engineer suspects that the BGP session on the transit virtual interface is down. Where can the engineer check the BGP status of that session?
Show answer
✅ Answer: C
Difficulty: advanced · Topic: AWS Direct Connect, AWS Transit Gateway
What each view shows
A transit gateway connects to Direct Connect through an attachment to a Direct Connect gateway, which is associated with one or more transit virtual interfaces.
• A transit gateway attachment state such as available is a lifecycle state: the attachment is provisioned. It says nothing about whether routes are being exchanged.
• The BGP session for Direct Connect runs between the on-premises router and AWS on the virtual interface (here a transit VIF). Its state is a property of the VIF.
Where the BGP state lives
The Direct Connect console shows each virtual interface with its BGP peers and their BGP status (up or down). The same data is returned by the DescribeVirtualInterfaces API as bgpPeers[].bgpStatus.
Example: the attachment is available, but the transit VIF shows BGP status down because the on-premises router has the wrong ASN or MD5 key. Fixing the router brings BGP up and the Direct Connect gateway starts propagating on-premises prefixes to the transit gateway route table.
Why each option works or fails
• ✗ A. Attachment state: available only means the transit gateway attachment to the Direct Connect gateway exists. It stays available while the BGP session on the VIF is down.
• ✗ B. VPC Flow Logs: the BGP session runs between the on-premises router and the Direct Connect endpoint, not through ENIs in a VPC subnet, so flow logs never contain these keepalives.
• ✓ C. Direct Connect VIF BGP status (correct): the BGP session belongs to the transit virtual interface, and the Direct Connect console and DescribeVirtualInterfaces report each BGP peer's status directly, so this is the place to confirm whether the session is down.
• ✗ D. Route Analyzer: Route Analyzer walks transit gateway route tables between a source and a destination. It does not report BGP session state for Direct Connect connections or virtual interfaces.
🎯 Key ideas from this set
• Inter-Region transit gateway peering needs a static route on each side pointing at the peering attachment; propagation and BGP do not apply to peering attachments.
• Hosted Direct Connect resources are created by the partner and must be accepted by the customer before BGP can come up; no port order is involved.
• Deploy identical networking to many accounts and Regions with CloudFormation StackSets, which also detect drift; Config evaluates, it does not provision.
• Forwarding rules pick the destination, but DNS Firewall decides first whether the query is allowed, so a blocked name stays blocked even for forwarded domains.
• An available transit gateway attachment is not proof of routing; check the BGP status of the virtual interface itself in Direct Connect.
📊 About this set
Exam: ANS-C01 · 65 questions · 170 minutes · passing score 750 · the second largest of 4 domains
This set: 4 advanced, 1 applied · 2 troubleshooting, 1 concept check, 1 scenario, 1 trade-off · 1 with more than one answer
Topics: AWS Transit Gateway, Amazon VPC, AWS Direct Connect, AWS CloudFormation, Route 53 Resolver, Route 53 Resolver DNS Firewall
🔗 Related practice sets
• 5 Questions to Test Your Network Management and Operation Knowledge (ANS-C01)
• 5 Questions to Test Your Network Security, Compliance, and Governance Knowledge (ANS-C01)
• Can You Answer These 5 ANS-C01 Questions on Network Design? (Set 2)
• 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
Post a Comment