Question 320

The network team cannot determine which transit gateway and VPN attachments link three branches to different Regions. Which solution best addresses these network requirements?

  1. Use Transit Gateway Route Analyzer where supported
  2. Use Network Manager monitoring with relevant CloudWatch-backed metrics
  3. Use AWS Network Manager topology views for registered global networks
  4. Verify Network Manager site and device associations
  5. Separate topology registration from actual network route configuration

Explanation

Correct Answer

C:

With this choice, the selected action displays managed global network resources and connections; a single VPC subnet route list lacks the global context, providing visibility into multi-Region WAN attachment relationships for the network described.

Incorrect Answers

A:

This alternative evaluates a modeled routing path through transit gateway route tables; a general health-check probe does not describe transit route resolution, so it addresses transit-layer path assessment between attachments rather than the required visibility into multi-Region WAN attachment relationships.

B:

Although this setting aggregates WAN and AWS network telemetry across managed connections, individual interface packet captures do not provide a persistent WAN health overview; this concerns consolidated operational status for global links, not the specified visibility into multi-Region WAN attachment relationships.

D:

This approach aligns registered branch inventory with its logical connectivity metadata; CloudFront access logs cannot discover WAN site registration gaps, which helps with accurate branch-to-transit topology inventory instead of delivering visibility into multi-Region WAN attachment relationships.

E:

This alternative distinguishes management inventory from data-plane forwarding; adding a device to a topology map does not establish TGW or VPC routes, so it addresses correct operations model for managed network topology rather than the required visibility into multi-Region WAN attachment relationships.

Question 321

A new CDK network construct repeats shared subnet and security-group patterns across many applications. Which option should the architect select?

  1. Build reusable AWS CDK constructs with context-specific parameters
  2. Pass VPC identifiers through parameters or trusted lookup mechanisms
  3. Define reusable AWS CloudFormation networking templates and parameters
  4. Review a CloudFormation change set before execution

Explanation

Correct Answer

A:

This configuration synthesizes infrastructure definitions from code for consistent deployments; hardcoded account-specific IDs weaken portability, so it delivers programmatic reuse of network infrastructure components under the stated constraints.

Incorrect Answers

B:

This alternative decouples network deployment definitions from fixed environment-specific identifiers; blindly copying IDs from one Region can reference nonexistent resources, so it addresses portable networking configuration across accounts rather than the required programmatic reuse of network infrastructure components.

C:

Although this setting deploys VPC, subnet, routing and related resources as declarative stacks, console-only manual changes increase configuration drift and inconsistency; this concerns reproducible multi-account network construction, not the specified programmatic reuse of network infrastructure components.

D:

The proposed action previews planned stack mutations and replacement behavior; an immediate update hides the proposed resource transition until it is underway, supporting controlled network infrastructure change review but leaving programmatic reuse of network infrastructure components unmet.

Question 322

A network team maintains approved corporate IPv4 CIDR ranges used as sources in many security-group ingress rules. Those ranges change monthly, and all dependent security groups must pick up the approved changes without editing each rule. What should the team use?

  1. Create a customer-managed VPC prefix list, reference it in eligible security-group rules, and maintain its entries within quota limits
  2. Copy every individual office CIDR into each security group and update each group manually whenever it changes
  3. Use the AWS-managed S3 prefix list and add corporate source addresses to it
  4. Create a Route 53 private hosted zone whose records automatically become security-group source CIDRs

Explanation

Correct Answer

A:

Customer-managed prefix lists hold reusable CIDR entries that security-group rules can reference. Updating a prefix list produces a new version consumed by the references; the maximum entries must still fit the relevant security-group rule quota.

Incorrect Answers

B:

Individual rules can technically restrict each source range, but they create many independent policy copies. That does not satisfy the requirement to update a centralized approved address set once.

C:

AWS-managed prefix lists represent AWS-defined service address ranges and cannot be edited by customers. An S3 service range is not a substitute for the company's trusted office-source list.

D:

Private hosted zones publish DNS records and control name resolution within associated VPCs. Security-group source rules use CIDRs, security-group references, or supported prefix lists, not automatic DNS-to-source authorization.

Question 323

A regulated platform already collects VPC Flow Logs. It must now archive them in a protected, retention-controlled central store and include original packet addresses for investigations involving translated paths. Which additional logging changes meet the requirements? Choose TWO.

  1. Turn on VPC Flow Logs at the database ENI and retain ACCEPT/REJECT records
  2. Deliver VPC Flow Logs to a protected central S3 destination with retention controls
  3. Account for Flow Logs exclusions, aggregation intervals, and collection limitations
  4. Use Athena over a suitable Flow Logs dataset and aggregate by IP fields
  5. Add supported pkt-srcaddr and pkt-dstaddr fields to the Flow Logs format

Explanation

Correct Answers

B:

This component archives flow records for long-term cross-account audit; local instance disks are not a reliable organization-wide log store, contributing durable governed network activity evidence to the combined requirement for durable governed network activity evidence and better attribution of original communicating IP endpoints.

E:

This component exposes packet-origin addressing distinct from some observation-interface values; the default field set may not capture the original addresses needed for this question, contributing better attribution of original communicating IP endpoints to the combined requirement for durable governed network activity evidence and better attribution of original communicating IP endpoints.

Incorrect Answers

A:

Although this setting records packet-flow metadata and network allow or reject disposition, application database logs will not see packets denied before arrival; this concerns forensic visibility into database connection attempts, not the specified durable governed network activity evidence and better attribution of original communicating IP endpoints.

C:

This approach treats absence of flow metadata as incomplete evidence rather than certainty; not all AWS-reserved traffic is recorded like an ordinary ENI flow, which helps with defensible interpretation of VPC flow record gaps instead of delivering durable governed network activity evidence and better attribution of original communicating IP endpoints.

D:

This alternative supports SQL analysis of archived network records; CloudTrail does not provide per-connection byte counts for data-plane network flows, so it addresses historical large-scale flow anomaly investigation rather than the required durable governed network activity evidence and better attribution of original communicating IP endpoints.

Question 324

A TGW peer connection across two Regions reports pending acceptance and no data traffic crosses it. Which option should the architect select?

  1. Add a static route to the peering attachment in the local TGW table
  2. Maintain independent route-table configuration on both peered TGWs
  3. Evaluate AWS Cloud WAN core network attachments and network policies
  4. Accept the peering attachment in the receiving Region or account

Explanation

Correct Answer

D:

This configuration completes the cross-gateway attachment approval workflow; adding routes cannot activate an unaccepted connection, so it delivers an active regional transit peer attachment under the stated constraints.

Incorrect Answers

A:

This alternative forwards the destination CIDR toward the peer transit gateway; TGW peering does not propagate remote VPC prefixes automatically, so it addresses local transit routing to a peered Region rather than the required an active regional transit peer attachment.

B:

Although this setting applies separate regional routing decisions on each side of the peering, peering does not merge or synchronize transit route tables; this concerns deliberate cross-Region reachability policy, not the specified an active regional transit peer attachment.

C:

The proposed action supplies global segment governance beyond manually peered transit gateways; Cloud WAN migration still requires explicit attachment planning and route-domain design, supporting scalable centrally policy-controlled multi-Region transit but leaving an active regional transit peer attachment unmet.

Question 325

A dedicated circuit is used to reach a public AWS endpoint but the router advertises only RFC1918 routes on a public VIF. Which change is the most appropriate?

  1. Configure allowed prefixes on the Direct Connect gateway association
  2. Configure the customer BGP peer ASN, peering addresses, VLAN, and session settings correctly
  3. Configure the public VIF with appropriate publicly routable prefixes and BGP requirements
  4. Use different BGP ASNs for the TGW and the Direct Connect gateway
  5. Provision a transit VIF connected to a Direct Connect gateway

Explanation

Correct Answer

C:

This configuration exchanges AWS public endpoint reachability over the public peering session; public peering has separate addressing and advertisement rules from private VIF routing, so it delivers valid public VIF route advertisements under the stated constraints.

Incorrect Answers

A:

This approach controls the AWS-side prefixes permitted for advertisement toward on-premises peers; TGW route tables still control packet forwarding independently of allowed prefix lists, which helps with controlled hybrid prefix advertisement instead of delivering valid public VIF route advertisements.

B:

This alternative establishes the BGP adjacency required to exchange reachable private prefixes; a physical up state does not establish BGP neighbors automatically, so it addresses active layer-three routing across the private VIF rather than the required valid public VIF route advertisements.

D:

The proposed action satisfies the distinct-ASN requirement of the TGW-DX gateway association; changing a VPC route table will not repair an ASN association conflict, supporting valid DX gateway-to-transit gateway association but leaving valid public VIF route advertisements unmet.

E:

This approach provides the VIF type supported for DX gateway-to-TGW route exchange; the transit VIF and TGW-DX gateway association form the supported attachment path, which helps with correct interface type for transit gateway connectivity instead of delivering valid public VIF route advertisements.

Question 326

A hybrid administrator cannot create a Resolver forwarding rule because the chosen endpoint exists in a different Region. What is the best next configuration decision?

  1. Create or select a supported outbound Resolver endpoint in the rule's Region
  2. Fix endpoint subnet routing and security-group rules toward the target DNS addresses
  3. Set conditional forwarding to IP addresses of a Resolver inbound endpoint
  4. Associate a forwarding rule backed by a reachable outbound Resolver endpoint

Explanation

Correct Answer

A:

The approach aligns forwarding rule configuration with the regional resolver endpoint; cross-Region DNS reachability via networks is distinct from regional endpoint ownership, directly enabling valid regional DNS forwarding configuration in this situation.

Incorrect Answers

B:

This approach allows the resolver endpoint to exchange UDP and TCP DNS with its upstreams; changing record TTL cannot compensate for a missing route or blocked DNS flow, which helps with reachable hybrid DNS transport for resolver endpoints instead of delivering valid regional DNS forwarding configuration.

C:

This alternative makes the VPC's resolver available to authorized off-cloud DNS clients; using a Resolver outbound endpoint reverses the intended query direction, so it addresses inbound corporate name queries for private AWS records rather than the required valid regional DNS forwarding configuration.

D:

Although this setting uses private routed endpoint IPs to query the remote corporate DNS servers, TGW routing must allow the resolver endpoint to reach its target addresses; this concerns conditional resolution toward on-prem DNS, not the specified valid regional DNS forwarding configuration.

Question 327

A financial customer needs an enhanced DDoS response service and advanced detection for critical public applications. Which action provides the required behavior?

  1. Use Shield Advanced event visibility and configured notifications
  2. Use AWS Shield Standard protections built into eligible AWS infrastructure
  3. Cache eligible responses through CloudFront with suitable protections
  4. Subscribe to AWS Shield Advanced for the supported protected resources

Explanation

Correct Answer

D:

This configuration adds enhanced DDoS detection, response support, and related protections; Shield Standard lacks the same advanced incident-response features, so it delivers premium response for high-risk DDoS exposure under the stated constraints.

Incorrect Answers

A:

Although this setting tracks observed DDoS attack events for protected resources, generic application logs alone may not classify infrastructure-level DDoS events; this concerns auditable advanced DDoS response monitoring, not the specified premium response for high-risk DDoS exposure.

B:

The proposed action supplies baseline protection against common network and transport DDoS events; a custom WAF rule is not a general replacement for underlying network volumetric mitigation, supporting default AWS DDoS protection coverage but leaving premium response for high-risk DDoS exposure unmet.

C:

This approach distributes content delivery across the CDN edge infrastructure; forcing all requests directly to one EC2 origin retains a central bottleneck, which helps with scalable edge absorption of repeated web requests instead of delivering premium response for high-risk DDoS exposure.

Question 328

A VPC is associated with a Route 53 private hosted zone named example.com. Its public hosted zone contains api.example.com, but the private zone contains no api.example.com record. EC2 queries for that hostname return NXDOMAIN. What is the correct explanation and fix?

  1. The matching private zone takes precedence; add the required private record or redesign the private namespace so the query can use public DNS
  2. Increase the TTL of the public api.example.com record so Route 53 prefers it
  3. Add a second default route from the VPC subnet to the internet gateway
  4. Disable VPC Flow Logs because they can hide public hosted-zone DNS replies

Explanation

Correct Answer

A:

When the VPC Resolver finds a matching private hosted zone but no record of the requested name and type, it returns NXDOMAIN rather than falling back to the public zone. Publishing the needed record privately, or changing the zone strategy, addresses that namespace shadowing.

Incorrect Answers

B:

TTL affects how long a returned answer may be cached, not which authoritative namespace the VPC Resolver chooses. Raising a public record's TTL cannot overcome a matching private-zone miss.

C:

A missing DNS record is resolved at the VPC Resolver layer before any application connection could follow an internet route. Additional default routing would not change the NXDOMAIN response.

D:

Flow Logs record network flow metadata. They do not intercept or hide Route 53 hosted-zone answers, and disabling logs would remove useful evidence without repairing name resolution.

Question 329

A hybrid platform has dozens of VPCs behind a Transit Gateway and wants one consolidated Direct Connect routing interface. What is the most suitable design or configuration?

  1. Establish a Direct Connect public VIF with appropriate public routing
  2. Use a transit VIF to a Direct Connect gateway associated with the Transit Gateway
  3. Associate multiple supported VGWs with a Direct Connect gateway
  4. Create a Direct Connect private VIF to the target virtual private gateway

Explanation

Correct Answer

B:

This configuration supplies BGP routing into the transit gateway architecture through a DX gateway; private VIFs attached per-VGW would add repeated VPC-specific connectivity management, so it delivers private connectivity to multiple TGW-attached VPCs under the stated constraints.

Incorrect Answers

A:

This approach reaches AWS public service endpoints using public-address BGP advertisements; a private VIF provides private VPC reachability, not general public endpoint access, which helps with dedicated-path access to AWS public IP services instead of delivering private connectivity to multiple TGW-attached VPCs.

C:

Although this setting enables private VIF reachability to multiple associated virtual private gateways, a DX gateway distributes routing information rather than serving as a general internet router; this concerns cross-Region private gateway access through DX, not the specified private connectivity to multiple TGW-attached VPCs.

D:

The proposed action exchanges private routing for VPC connectivity over Direct Connect; a public VIF is aimed at public AWS service prefixes instead, supporting private VPC routing on a dedicated connection but leaving private connectivity to multiple TGW-attached VPCs unmet.

Question 330

A customer gateway supports only an IKE cipher that the AWS VPN tunnel settings do not permit. What should the network specialist configure?

  1. Permit required VPN IKE and NAT-T traffic through intervening firewalls
  2. Align phase-two IPsec proposals and relevant perfect-forward-secrecy groups
  3. Align DPD behavior and keep the peer reachable under the tunnel configuration
  4. Use supported link-local tunnel-inside CIDRs according to AWS VPN configuration rules
  5. Align IKE proposal algorithms and versions with supported AWS tunnel options

Explanation

Correct Answer

E:

With this choice, the selected action ensures both IPsec peers negotiate compatible phase-one security parameters; a VPC route adjustment cannot repair phase-one crypto incompatibility, providing successful IKE security-association establishment for the network described.

Incorrect Answers

A:

The proposed action enables negotiation packets for IPsec peers behind address translation; a TCP listener rule is not relevant to IKE UDP negotiation, supporting uninterrupted IPsec control traffic across NAT devices but leaving successful IKE security-association establishment unmet.

B:

This approach negotiates compatible ESP and child security association settings; a working initial IKE exchange does not prove phase-two compatibility, which helps with successful data-plane IPsec tunnel establishment instead of delivering successful IKE security-association establishment.

C:

This alternative checks the remote IPsec peer and drives expected reestablishment behavior; DPD tuning cannot overcome permanent loss of the remote internet path, so it addresses stable VPN liveness and recovery rather than the required successful IKE security-association establishment.

D:

Although this setting establishes the logical point-to-point addressing used by the tunnel interfaces, reusing conflicting tunnel inside addresses can break router configuration; this concerns valid inside IP addressing for VPN routing, not the specified successful IKE security-association establishment.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests