Question 910

A CDK application composes identical NAT, subnet, and security-group patterns repeatedly. The engineering team needs a versioned abstraction rather than duplicating resource definitions. What should it build?

  1. Parameterize the reusable stack template and pass VPC-specific CIDR and subnet values
  2. Run CloudFormation drift detection on supported network stack resources
  3. Model explicit creation dependencies and confirm the share invitation and attachment acceptance stages before routing changes
  4. Encapsulate the network resources in a reusable AWS CDK construct

Explanation

Correct Answer

D:

A construct packages related infrastructure definitions and configuration interfaces so teams can maintain one implementation across many CDK stacks.

Incorrect Answers

A:

Parameters let one tested network template deploy into multiple contexts while preserving differing allocation values and reducing manual copy-and-paste errors; the operational gap would remain because the question requires a way to reuse tested network definitions in CDK.

B:

Drift detection compares live supported resource properties with the stack's expected template configuration, identifying unmanaged changes that standard deployments might otherwise overlook; it is not the action that directly makes the system reuse tested network definitions in CDK.

C:

Cross-account network provisioning has control-plane prerequisites; route entries should be introduced only after the shared resource and its attachment are actually established; that still would not establish the requested outcome: reuse tested network definitions in CDK.

Question 911

A CI/CD job deploys a Transit Gateway route update, then discovers packets no longer reach the inspection attachment. Which release safety pattern most directly limits blast radius?

  1. Examine the Terraform plan before applying the approved change
  2. Deploy to a small canary route domain, run connectivity tests, and retain a rollback plan
  3. Run CloudFormation drift detection on supported network stack resources
  4. Model explicit creation dependencies and confirm the share invitation and attachment acceptance stages before routing changes

Explanation

Correct Answer

B:

Testing the network change in a restricted scope before broad promotion can expose reachability regressions while the prior known-good route configuration remains recoverable.

Incorrect Answers

A:

The plan previews proposed changes against configured resources and state, enabling reviewers to catch unintended network deletion or route replacement before execution; it is not the action that directly makes the system validate routes before broad rollout.

C:

Drift detection compares live supported resource properties with the stack's expected template configuration, identifying unmanaged changes that standard deployments might otherwise overlook; the scenario instead needs an action that will validate routes before broad rollout.

D:

Cross-account network provisioning has control-plane prerequisites; route entries should be introduced only after the shared resource and its attachment are actually established; those conditions do not produce the required result: validate routes before broad rollout.

Question 912

New application accounts must consume a centrally owned Transit Gateway but should not receive broad permissions to change the hub itself. What automated provisioning sequence supports the distinction?

  1. Monitor Transit Gateway attachment CloudWatch metrics and correlate them with TGW Flow Logs
  2. Enable Transit Gateway Flow Logs for the relevant TGW or attachments
  3. Share the TGW via AWS RAM and automate participant attachment requests with owner-side approval policy
  4. Accept the shared Transit Gateway attachment request in the owner account

Explanation

Correct Answer

C:

Resource sharing allows limited participation; attachment acceptance and central gateway route-table configuration can remain controlled by the networking account.

Incorrect Answers

A:

TGW metrics report aggregate packet and byte behavior while Flow Logs add flow context, enabling a more precise hypothesis about attachment-specific drop patterns; that still would not establish the requested outcome: separate network-hub ownership from account enrollment.

B:

TGW Flow Logs provide network-flow metadata observed by the transit gateway and its attachments; ordinary VPC Flow Logs report traffic at their configured VPC resource scope; the scenario instead needs an action that will separate network-hub ownership from account enrollment.

D:

RAM sharing grants permission to request an attachment, but the TGW owner must accept pending attachment requests unless its attachment auto-acceptance setting handles them; it changes a different aspect of the architecture rather than fulfilling the need to separate network-hub ownership from account enrollment.

Question 913

A service team creates VPC CIDRs from informal spreadsheets and discovers collisions in new regional deployments. Which API-driven service should automate allocation approvals?

  1. Allocate VPC CIDRs from governed VPC IPAM pools in provisioning workflows
  2. Use Amazon VPC IP Address Manager with organization-wide allocation pools
  3. Renumber or translate overlapping prefixes and isolate route domains where necessary
  4. Configure hierarchical IPv6 address pools using Amazon VPC IPAM and provision VPC CIDRs from those pools

Explanation

Correct Answer

A:

IPAM maintains managed address spaces and pool allocation rules, reducing accidental CIDR reuse as infrastructure templates create VPCs across accounts.

Incorrect Answers

B:

IPAM tracks and allocates CIDR space across managed accounts and Regions, helping teams detect overlaps and apply consistent address plans before new VPCs are built; those conditions do not produce the required result: automate conflict-aware CIDR allocation.

C:

Transit Gateway needs unambiguous destination prefixes for predictable forwarding; a more-specific route may select only part of an overlapping space but cannot make arbitrary duplicates independently reachable; it changes a different aspect of the architecture rather than fulfilling the need to automate conflict-aware CIDR allocation.

D:

IPAM supplies allocation pools with policy and hierarchy for managed address assignments; it does not automatically create routing or security policies for those VPCs; the operational gap would remain because the question requires a way to automate conflict-aware CIDR allocation.

Question 914

The network team wants a programmatic compliance check to flag new network ACL rules that permit overly broad ingress. Which AWS managed compliance family supports rule evaluation and remediation workflows?

  1. Use AWS Config configuration history and rules for security-group exposure monitoring
  2. Configure an ordered network ACL deny on the target subnet with matching destination and protocol scope
  3. Create AWS Config rules for the intended network ACL compliance policy and automate response where supported
  4. Inspect security-group and network ACL rules along with the destination routing path

Explanation

Correct Answer

C:

AWS Config records resource configuration and can evaluate it against guardrails; a workflow can then notify or trigger controlled remediation.

Incorrect Answers

A:

AWS Config records supported resource configuration changes and can evaluate guardrails over time; CloudWatch connection metrics do not preserve the resource's compliance timeline; those conditions do not produce the required result: detect noncompliant subnet firewall rules.

B:

A network ACL explicitly rejects matching stateless traffic before later broader allow entries; security groups can only grant permitted flows; it changes a different aspect of the architecture rather than fulfilling the need to detect noncompliant subnet firewall rules.

D:

Flow Logs classify traffic as accepted or rejected at the interface-level logging view; they do not directly name the exact security-group or NACL rule responsible; it is not the action that directly makes the system detect noncompliant subnet firewall rules.

Question 915

A deployment needs the same Route 53 forwarding rule in multiple accounts and must prevent engineers from copying the rule configuration into every account. Which component should infrastructure automation provision centrally?

  1. Associate the domain-specific Route 53 Resolver forwarding rule with the workload VPC
  2. Apply Route 53 Resolver rule priority and longest-domain match precedence
  3. Share the Resolver rule through AWS Resource Access Manager and associate it with authorized VPCs
  4. Create a shared Resolver rule in the network account and distribute association permissions through RAM

Explanation

Correct Answer

D:

Centralized rule ownership with controlled sharing avoids independent drift while allowing application VPCs to opt into the appropriate hybrid DNS resolution path.

Incorrect Answers

A:

The rule association tells the VPC Resolver which suffix to forward via the outbound endpoint; endpoint creation alone does not redirect DNS requests for that domain; it changes a different aspect of the architecture rather than fulfilling the need to distribute managed resolver rules instead of copies.

B:

Resolver system and forwarding rules use domain matching and precedence; a more-specific nested rule can take priority over a broader forwarding rule, changing where that DNS query is resolved; the operational gap would remain because the question requires a way to distribute managed resolver rules instead of copies.

C:

Sharing lets other accounts reuse the centrally managed forwarding rule, while each intended VPC still requires association to activate it; it is not the action that directly makes the system distribute managed resolver rules instead of copies.

Question 916

A networking stack depends on an AWS RAM resource share created in a separate account; the dependent attachment fails if run before the share is available. Which pipeline design best avoids this sequencing error?

  1. Run CloudFormation drift detection on supported network stack resources
  2. Model explicit creation dependencies and confirm the share invitation and attachment acceptance stages before routing changes
  3. Use CloudFormation StackSets with appropriate organization/account permissions
  4. Parameterize the reusable stack template and pass VPC-specific CIDR and subnet values

Explanation

Correct Answer

B:

Cross-account network provisioning has control-plane prerequisites; route entries should be introduced only after the shared resource and its attachment are actually established.

Incorrect Answers

A:

Drift detection compares live supported resource properties with the stack's expected template configuration, identifying unmanaged changes that standard deployments might otherwise overlook; the operational gap would remain because the question requires a way to sequence cross-account network dependencies.

C:

StackSets deploy common infrastructure templates to designated accounts and Regions, supporting repeatable baseline network constructs at organizational scale; that still would not establish the requested outcome: sequence cross-account network dependencies.

D:

Parameters let one tested network template deploy into multiple contexts while preserving differing allocation values and reducing manual copy-and-paste errors; the scenario instead needs an action that will sequence cross-account network dependencies.

Question 917

An infrastructure team uses automated VPC network changes and must prevent privileged production deployments from using unapproved direct-console credentials. Which control helps enforce accountable pipeline execution?

  1. Use narrowly scoped IAM deployment roles and trace provisioning changes in AWS CloudTrail
  2. Use VPC Network Access Analyzer with a scope and finding condition matching the prohibited path
  3. Search CloudTrail management events for the relevant EC2 gateway-attachment API call
  4. Use AWS Network Manager and its global network observability features

Explanation

Correct Answer

A:

IAM roles constrain which networking APIs automation can call, and CloudTrail supplies audit events for changes; storing broad permanent access keys in pipeline code weakens control.

Incorrect Answers

B:

Network Access Analyzer evaluates modeled VPC networking configurations against defined access requirements and identifies unintended access patterns without generating live application packets; that still would not establish the requested outcome: enforce controlled and auditable infrastructure changes.

C:

CloudTrail records management-plane API actions such as attachment changes, including caller and timestamp; flow logs cannot identify the actor who modified the control plane; the scenario instead needs an action that will enforce controlled and auditable infrastructure changes.

D:

Network Manager provides centralized views of globally connected networking infrastructure and supported connection or topology events, complementing per-VPC packet-level diagnostics; those conditions do not produce the required result: enforce controlled and auditable infrastructure changes.

Question 918

After a provider change, a Direct Connect BGP session remains Established but the remote prefix is no longer accepted because an on-premises maximum-prefix limit was exceeded. What should the operator investigate first?

  1. Investigate optical signal health, patching, and physical circuit errors on the affected DX path
  2. Review received prefix counts and adjust the customer router's documented maximum-prefix policy appropriately
  3. Advertise only the intended private prefixes over the Direct Connect BGP session
  4. Match the customer router BGP ASN to the customer ASN configured on the Direct Connect VIF

Explanation

Correct Answer

B:

A BGP peer can stay reachable while a router enforces prefix limits or suppresses updates; diagnosing the actual routes received and the configured threshold avoids misclassifying the event as link failure.

Incorrect Answers

A:

Optical light or error alarms indicate a physical transport issue; BGP resets can be a downstream symptom rather than evidence that route selection needs tuning; that still would not establish the requested outcome: recover routes blocked by prefix-count policy.

C:

Restricting advertised prefixes keeps hybrid routing within the intended enterprise reachability boundary; unnecessary default route advertisements can attract traffic not meant for Direct Connect; those conditions do not produce the required result: recover routes blocked by prefix-count policy.

D:

BGP neighbors must agree on each other's peer ASNs; a functioning physical circuit and VLAN cannot establish the control-plane adjacency when the remote AS is configured incorrectly; it changes a different aspect of the architecture rather than fulfilling the need to recover routes blocked by prefix-count policy.

Question 919

An enterprise's customer gateway selects a longer BGP AS path even though another VPN tunnel has a shorter path because a higher local preference was assigned locally. Which attribute should engineers examine before trying AS-path prepending?

  1. Inspect the route selected by the specific workload subnet route table for the affected destination
  2. Assign nonoverlapping valid inside IPv4 tunnel CIDRs to each VPN tunnel
  3. Inspect and correct the router's local-preference policy for the competing routes
  4. Apply BGP local preference consistently to routes received over the intended primary VPN tunnel

Explanation

Correct Answer

C:

Local preference is normally considered before AS-path length within an AS; changing path length alone may not override a deliberately preferred route.

Incorrect Answers

A:

A healthy VPN control plane does not supersede an unrelated static route in an EC2 subnet route table; the active longest-prefix match controls the instance's next hop; the scenario instead needs an action that will correct BGP selection dominated by local preference.

B:

The inside addresses identify separate point-to-point BGP interfaces and must not collide; reusing the same inside tunnel CIDR makes distinct neighbor and forwarding contexts ambiguous; those conditions do not produce the required result: correct BGP selection dominated by local preference.

D:

Local preference is evaluated inside the customer's autonomous system for outbound route selection; changing route tables in an unrelated VPC will not establish router-side egress preference; the operational gap would remain because the question requires a way to correct BGP selection dominated by local preference.

Question 920

A regional transit gateway attachment is available, but packets from a VPC travel to the wrong inspection attachment. Both a /16 propagated route and /24 static route match the destination. Which routing property explains the result?

  1. The more-specific local 10.12.0.0/16 route wins longest-prefix matching
  2. Evaluate the longest matching destination prefix in the TGW route table
  3. Add or propagate the destination route into the TGW route table associated with the source attachment
  4. Add a destination CIDR route targeting the TGW attachment in the originating subnet route table

Explanation

Correct Answer

B:

A /24 destination route is more specific than a /16 and governs traffic to addresses in that range, regardless of broad propagation from another attachment.

Incorrect Answers

A:

VPC routing selects the most specific matching destination; a broader transit route cannot displace the direct local destination range; those conditions do not produce the required result: explain more-specific TGW route selection.

C:

TGW evaluates the route table associated with the inbound attachment; having a destination attached elsewhere is insufficient if that route table lacks a matching path; the operational gap would remain because the question requires a way to explain more-specific TGW route selection.

D:

TGW route tables act only after traffic enters the transit gateway; the source VPC route table must first select the transit gateway as next hop for the destination prefix; it is not the action that directly makes the system explain more-specific TGW route selection.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests