ANS-C01 Practice Set: Network Implementation

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 Implementation. About 26% of the exam comes from this domain. Each answer explains the correct choice and what is wrong with the others.

ANS-C01 Network Implementation: 5 practice questions

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

📊 This set at a glance

Exam: ANS-C01 · 65 questions · 170 minutes · passing score 750 · the second largest of 4 domains
This set: 3 applied, 2 advanced · 2 scenario, 1 comparison, 1 trade-off, 1 troubleshooting
Topics: CDK, CloudFormation, Transit Gateway, Route 53 Resolver, Resource Access Manager, Direct Connect, AWS Organizations, Amazon VPC IPAM

Question 1 of 5

A platform team is building a reusable component in AWS CDK that provisions a Transit Gateway attachment for any VPC stack across the organization, and wants application teams to consume this logic without understanding the underlying CloudFormation resource details. Which CDK concept should they use?

AA custom CDK construct with a typed props interface
BA nested stack written in raw JSON
CConfig conformance packs, the CDK-native way to share infrastructure logic
DA Parameter Store value with raw CloudFormation YAML that stacks copy and paste
Show answer

✅ Answer: A

Difficulty: applied · Topic: CDK, CloudFormation, Transit Gateway

Constructs: the reusable unit in AWS CDK
In the AWS CDK, infrastructure is built from constructs. A custom construct is a class that wraps one or more lower-level resources behind a simple API.
• Its props interface defines the inputs, for example vpc, transitGatewayId and subnetIds, with types that the compiler and IDE check.
• Inside, it creates the CfnTransitGatewayAttachment, route entries or tags the platform team wants, with validation and defaults.
• It is published as a library (for example to npm or a private CodeArtifact repository), so application teams install it like any package.

Example
An app team writes new TgwAttachment(this, 'Tgw', { vpc }). They never touch CloudFormation property names; the platform team can fix bugs or add tags in a new library version.

Why each option works or fails
• ✓ A. Custom construct with a typed props interface (correct): it packages the attachment logic behind a small, validated API that other CDK stacks import and reuse, hiding the CloudFormation details.
• ✗ B. Raw JSON nested stack: a nested stack is still a template that consumers must understand and pass parameters to as strings; it loses the typing, validation and library packaging that CDK constructs provide.
• ✗ C. Config conformance packs: conformance packs bundle AWS Config rules and remediation for compliance checking; they are not a CDK mechanism and do not provision attachments.
• ✗ D. YAML in Parameter Store to copy and paste: copying template fragments has no versioning, typing or testing, and every copy drifts from the original.

Question 2 of 5

A Resolver rule for corp.internal was shared from a networking account to a spoke account via RAM, and the invitation was accepted. However, associating the rule with a VPC in the spoke account is not available in the console. What is a likely cause?

AThe spoke VPC is in a different Region from the rule targets' DNS servers
BShared rules are associated through the CLI or API; the console hides them
CCross-account sharing applies to inbound-endpoint rules, not to forwarding rules
DThe spoke principal lacks the route53resolver:AssociateResolverRule permission
Show answer

✅ Answer: D

Difficulty: applied · Topic: Route 53 Resolver, Resource Access Manager

Sharing Resolver rules with AWS RAM
A central networking account can share Route 53 Resolver forwarding rules with other accounts through AWS Resource Access Manager (RAM). Sharing only makes the rule *visible* to the other account. Using it is a separate step:
• The spoke account associates the rule with its VPC (AssociateResolverRule).
• The IAM principal doing this needs route53resolver:AssociateResolverRule and related permissions (for example to read the rule and the VPC).
If the principal lacks that permission, the rule can appear in the account, but association is refused or the console cannot offer it.

Example
The spoke's operator role has only a read-only policy. The rule corp.internal appears as shared in the Resolver console, but the operator cannot associate it. Adding route53resolver:AssociateResolverRule (and the related describe/list actions) to the role allows the association.
Also remember that a Resolver rule and its share live in one Region, so the spoke works with it in that same Region.

Why each option works or fails
• ✗ A. Rule targets' Region: target IPs are on-premises DNS servers and have no Region; the real constraint is the rule's own Region (where its outbound endpoint lives). The stem also gives no sign of a Region mismatch, so the missing permission is the likely gap.
• ✗ B. Console hides shared rules: shared rules can be associated in the console as well as with the CLI or API, provided the principal has permission.
• ✗ C. Inbound-endpoint rules only: forwarding rules (which use outbound endpoints) are exactly what is commonly shared through RAM for centralized hybrid DNS.
• ✓ D. Missing association permission (correct): RAM sharing grants access to the rule, but associating it with a VPC is an IAM-controlled API call in the spoke account, and without route53resolver:AssociateResolverRule the principal cannot perform it.

Question 3 of 5

A customer's on-premises router receives the same VPC prefix from AWS over two Direct Connect private VIFs: one path has a shorter AS path but the administrator manually set a lower local preference for it, while the other path has a longer AS path but a higher local preference. Which path does standard BGP best path selection choose?

AThe higher local preference path (evaluated before AS path)
BBoth paths are installed and load-balanced
CThe shorter AS path, since AS path length is evaluated before local preference
DNeither until MED is compared, since MED precedes local preference
Show answer

✅ Answer: A

Difficulty: applied · Topic: Direct Connect

The BGP best-path order
When a router has several routes to the same prefix, BGP compares attributes in a fixed order and stops at the first difference. The common order (vendor-specific weight aside) is:
• Highest local preference
• Locally originated routes
• Shortest AS path
• Lowest origin type
• Lowest MED
• eBGP over iBGP, then lowest IGP metric and other tie-breakers
Local preference is a local policy decision: the administrator is saying "I prefer this exit", and BGP honors that before looking at path length.

Example
Path 1 has AS path 64512 with local preference 100. Path 2 has AS path 64512 64512 64512 with local preference 200. The router compares local preference first, sees 200 is higher, and chooses path 2; AS path length is never reached.

Why each option works or fails
• ✓ A. Higher local preference path (correct): local preference is compared before AS path length, so the path with the higher local preference wins even though its AS path is longer.
• ✗ B. Both installed and load-balanced: multipath needs the paths to be equal on the attributes up to that step and multipath to be configured; routes with different local preference are not equal, so only one is chosen.
• ✗ C. Shorter AS path first: AS path length is evaluated after local preference, so it only matters when local preference is equal.
• ✗ D. MED before local preference: MED is one of the last tie-breakers, after both local preference and AS path, so it does not come into play here.

Question 4 of 5

A company wants to share a Transit Gateway created in a central network account with 40 accounts spanning two different AWS Organizations after an acquisition, so all accounts can create attachments to it. What is a key constraint they must design around when using AWS RAM?

ATransit Gateways cannot be shared through RAM at all; only VPC subnets support sharing with accounts
BCross-organization RAM sharing is not supported, so each organization needs its own Transit Gateway
COwn-organization accounts get the share automatically; acquired accounts are added by ID and must accept
DThe two Organizations must be merged into one before any RAM resource share can be created at all
Show answer

✅ Answer: C

Difficulty: advanced · Topic: Resource Access Manager, Transit Gateway, AWS Organizations

AWS RAM sharing inside and outside an organization
AWS RAM can share resources, including transit gateways, with different kinds of principals:
• Inside your organization: after enabling RAM sharing with AWS Organizations, you can share with the whole organization, an OU or individual accounts. No invitation is needed, and new accounts in the OU get access automatically.
• Outside your organization: you must list each account ID. Each account receives an invitation and must accept it before it can use the resource.
Not every resource type can be shared outside the organization (for example, subnets for VPC sharing cannot), but transit gateways can.

After an acquisition
With two organizations, the network account can share with its own organization or OUs in one step, and must add the acquired company's accounts by ID; each of those accounts accepts the invitation and then creates its attachment.

Why each option works or fails
• ✗ A. Transit gateways cannot be shared: transit gateways are one of the most common RAM-shared resources, along with subnets, prefix lists and Route 53 Resolver rules.
• ✗ B. Cross-organization sharing not supported: transit gateways can be shared with external accounts; the only difference is the invitation and acceptance step, so a second transit gateway is not required.
• ✓ C. (correct): Automatic inside the organization, invitations for the other one: sharing is seamless for the owner's organization, while accounts in the acquired organization must be listed by account ID and accept invitations, which the design must plan for until the organizations are merged.
• ✗ D. Organizations must be merged first: RAM can share transit gateways with individual accounts outside the organization through invitations, so merging is not a prerequisite.

Question 5 of 5

A company wants to plan, allocate, and track IP address space across accounts and Regions to avoid overlapping CIDRs. Which service fits?

ARoute 53 Resolver query logging
BAWS Config aggregators by account
CVPC Flow Logs in each account
DAmazon VPC IP Address Manager (IPAM)
Show answer

✅ Answer: D

Difficulty: advanced · Topic: Amazon VPC IPAM

Amazon VPC IP Address Manager (IPAM)
IPAM is a central service for planning, allocating and monitoring IP space across an AWS Organization.
• You build a pool hierarchy, for example a top-level pool 10.0.0.0/8, Regional pools such as 10.16.0.0/12 for eu-west-1, and environment pools for prod and dev.
• Pools can be shared with accounts through AWS RAM, and allocation rules set allowed netmask lengths and required tags.
• When a team creates a VPC, it requests a CIDR from a pool, and IPAM hands out a free, non-overlapping block.
• IPAM continuously monitors usage and flags overlapping or non-compliant CIDRs, and keeps allocation history.

Why each option works or fails
• ✗ A. Resolver query logging: records DNS queries made from VPCs. It helps security analysis, but it knows nothing about CIDR allocation.
• ✗ B. Config aggregators: collect configuration and compliance data from many accounts into one view. You could see existing CIDRs, but Config cannot hand out non-overlapping ranges.
• ✗ C. VPC Flow Logs: record accepted and rejected traffic metadata per interface. They show traffic, not address planning or allocation.
• ✓ D. IPAM (correct): it is the service built to plan, allocate and track IP address space across accounts and Regions and prevent overlapping CIDRs.

🎯 What to remember

• Reusable CDK infrastructure is shared as a custom construct library with typed props, not as copied templates or compliance tools.
• RAM sharing makes a Resolver rule available, but associating it with a VPC still requires IAM permission in the receiving account.
• BGP compares local preference before AS path and MED; a manual local preference setting overrides a shorter path.
• RAM inside the organization is automatic; outside it, list account IDs and wait for each account to accept the invitation.
• Organization-wide IP planning and overlap prevention is IPAM; Config and Flow Logs only observe what already exists.

🔗 Related practice sets

• Can You Answer These 5 ANS-C01 Questions on Network Management and Operation?
• Can You Answer These 5 ANS-C01 Questions on Network Security, Compliance, and Governance?
• ANS-C01 Study Notes in Questions: Network Design (Set 2)
• All ANS-C01 practice sets
• Every exam on this blog

📚 More ANS-C01 practice

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