Question 370

A data center has two valid BGP paths, but the engineer wants the customer router to use one for outgoing traffic. Which solution best addresses these network requirements?

  1. Change the router's local preference for routes learned on the preferred path
  2. Withdraw the old prefix and advertise the new address block from the customer router
  3. Inspect BGP prefix specificity and AWS route selection preferences before changing AS_PATH
  4. Compare BGP hold timers, device restarts, and control-plane reachability
  5. Compare route filters and permitted prefix advertisements on each BGP peer

Explanation

Correct Answer

A:

With this choice, the selected action influences customer-side egress BGP selection; AWS-side inbound choices are not generally controlled by customer local preference, providing intentional outbound hybrid path preference for the network described.

Incorrect Answers

B:

This approach updates the dynamic routing control plane to match address ownership; obsolete announcements can create traffic black holes after a migration, which helps with correct routes after on-premises renumbering instead of delivering intentional outbound hybrid path preference.

C:

This alternative evaluates longest-prefix matches and platform path priorities as part of route choice; a shorter AS_PATH does not override all route-selection rules, so it addresses explaining unexpected preferred hybrid routes rather than the required intentional outbound hybrid path preference.

D:

Although this setting diagnoses session stability independently of physical interface counters, a clean optical link does not prove routing control-plane stability; this concerns root cause of intermittent BGP adjacency loss, not the specified intentional outbound hybrid path preference.

E:

The proposed action identifies asymmetric route learning or advertisement policy; a healthy BGP session may advertise only a subset of the needed networks, supporting consistent hybrid reachability over redundant peers but leaving intentional outbound hybrid path preference unmet.

Question 371

A customer-facing domain needs authoritative records resolvable by arbitrary recursive resolvers on the internet. What is the best next configuration decision?

  1. Maintain separate public and private hosted zones with the same name
  2. Enable the VPC attributes for DNS support and DNS hostnames as required
  3. Create a Route 53 public hosted zone and delegate the registered domain
  4. Create a Route 53 private hosted zone and associate both VPCs

Explanation

Correct Answer

C:

With this choice, the selected action publishes DNS records via Route 53's publicly reachable authoritative nameservers; creation of a hosted zone alone does not update the registrar's delegation, providing public authoritative DNS hosting for the network described.

Incorrect Answers

A:

Although this setting applies split-view name resolution based on whether the querying VPC is associated with the private zone, VPC resolver selection must be considered when names are absent in the private zone; this concerns distinct internal and internet DNS views, not the specified public authoritative DNS hosting.

B:

The proposed action makes the Amazon-provided resolver and AWS DNS hostname behavior available within the VPC; DHCP DNS server settings also must direct clients toward a resolver that can answer these zones, supporting normal private hosted zone resolution through VPC DNS but leaving public authoritative DNS hosting unmet.

D:

This alternative exposes private DNS records through VPC resolver behavior only for associated networks; a public zone could expose the record data through internet-accessible authoritative servers, so it addresses VPC-scoped private name resolution rather than the required public authoritative DNS hosting.

Question 372

A CDN serves one host for five independent applications whose object paths must use different backend origins. How should this network requirement be implemented?

  1. Apply CloudFront geographic restrictions to the distribution
  2. Attach a CloudFront Function to the appropriate viewer event
  3. Create path-pattern cache behaviors with dedicated origin assignments
  4. Use Lambda@Edge for the supported CloudFront trigger

Explanation

Correct Answer

C:

The approach matches requests to ordered cache behaviors and sends them to their selected origins; behavior ordering matters when path patterns overlap, directly enabling routing CDN paths to separate application backends in this situation.

Incorrect Answers

A:

This alternative restricts viewer requests using country-level geographic information at the edge; the control is geographic rather than a substitute for identity-aware authorization, so it addresses country-based CDN access enforcement rather than the required routing CDN paths to separate application backends.

B:

Although this setting runs lightweight JavaScript logic at CloudFront edge locations for supported viewer events, the function cannot make network requests or perform heavyweight origin-facing operations; this concerns inexpensive edge URI normalization, not the specified routing CDN paths to separate application backends.

D:

This approach runs richer request or response logic at regional edge locations with supported network operations; supported events and runtime restrictions must be checked before selecting the integration, which helps with edge logic requiring capabilities beyond CloudFront Functions instead of delivering routing CDN paths to separate application backends.

Question 373

An accelerator endpoint group contains two ALBs, and operations wants one endpoint to receive a smaller share of new traffic. Which solution best addresses these network requirements?

  1. Set the Global Accelerator traffic dial for that Region's endpoint group to zero
  2. Configure Global Accelerator client affinity by source IP
  3. Use Global Accelerator with UDP-capable endpoints
  4. Adjust the Global Accelerator endpoint weights within that endpoint group

Explanation

Correct Answer

D:

With this choice, the selected action influences distribution among healthy endpoints in the same regional group; endpoint weights and regional traffic dials operate at different scopes, providing uneven traffic allocation between endpoints for the network described.

Incorrect Answers

A:

This approach controls the fraction of traffic sent to an endpoint group by Region; the change affects new routing decisions rather than draining an established application connection by force, which helps with region-wide traffic evacuation during maintenance instead of delivering uneven traffic allocation between endpoints.

B:

This alternative maintains endpoint affinity based on the client IP rather than independently distributing every flow; affinity may reduce balancing flexibility and is not an application session store, so it addresses endpoint consistency across a client's connections rather than the required uneven traffic allocation between endpoints.

C:

Although this setting transports supported UDP flows using AWS's global anycast ingress addresses, a TCP-only application gateway would not preserve the UDP transport requirement; this concerns globally available entry for UDP application traffic, not the specified uneven traffic allocation between endpoints.

Question 374

An application moves sizable data between Availability Zones through a centralized inspection chain. What is the best next configuration decision?

  1. Review inter-AZ transfer and inspection path costs against required security architecture
  2. Route eligible S3 access through an S3 gateway endpoint
  3. Cache eligible content with CloudFront at edge locations
  4. Evaluate Direct Connect throughput, port hours and data transfer pricing

Explanation

Correct Answer

A:

The approach accounts for cross-AZ traffic and intermediate service processing; skipping mandatory inspection solely to reduce charges may violate security requirements, directly enabling cost-aware east-west inspection design in this situation.

Incorrect Answers

B:

This approach bypasses the NAT for supported service destinations; endpoint and bucket policies must still permit the operation, which helps with lower-cost private S3 traffic path instead of delivering cost-aware east-west inspection design.

C:

This alternative reduces repeated origin fetches by serving cached content near viewers; CloudFront pricing and cache hit ratio must still be measured for the workload, so it addresses lower repeated long-haul object transfer rather than the required cost-aware east-west inspection design.

D:

Although this setting trades fixed connection cost against network variability and transfer economics, private circuits are not automatically cheaper for low traffic levels; this concerns measured bulk hybrid connectivity cost, not the specified cost-aware east-west inspection design.

Question 375

An EC2 router appliance exchanges BGP routes with a Transit Gateway Connect attachment over GRE. The BGP neighbors remain idle even though the VPC attachment is healthy. Which pairing is essential to validate?

  1. Configure an internet gateway to advertise the appliance's BGP routes
  2. Validate the Transit Gateway Connect peer's GRE endpoints and the configured BGP peer IP addresses and ASNs on both sides
  3. Create a public Route 53 CNAME for the transit gateway attachment ID
  4. Replace GRE with an HTTPS listener on Application Load Balancer

Explanation

Correct Answer

B:

Transit Gateway Connect encapsulates traffic with GRE and establishes BGP routing over the Connect peer. Incorrect tunnel endpoint addresses, peer IPs or ASNs can prevent adjacency independently of the underlying VPC attachment status.

Incorrect Answers

A:

An internet gateway does not participate in Transit Gateway Connect BGP adjacencies and will not exchange private network prefixes with the appliance over GRE.

C:

A DNS alias is not a GRE endpoint or BGP neighbor address. Connect peers need routing and compatible tunnel/session parameters rather than a public hostname record.

D:

ALB operates at the HTTP application layer and cannot terminate GRE or establish the BGP session used by a Transit Gateway Connect attachment.

Question 376

A VPC has IPv6 CIDR space but a new subnet cannot allocate IPv6 addresses for instances. Which action directly resolves the stated problem?

  1. Enable a supported dualstack load-balancer IP address type and publish the appropriate DNS
  2. Add a ::/0 route to an internet gateway and allow appropriate IPv6 network controls
  3. Route IPv6 outbound traffic through an egress-only internet gateway
  4. Associate an IPv6 CIDR block with the subnet and configure assignment settings

Explanation

Correct Answer

D:

With this choice, the selected action allocates a portion of the VPC IPv6 range to subnet interfaces; giving the VPC an IPv6 range does not allocate one to each subnet automatically, providing routable subnet IPv6 addresses for workloads for the network described.

Incorrect Answers

A:

This alternative exposes reachable IPv4 and IPv6 service addresses; an IPv4-only listener address family cannot answer IPv6 client connections, so it addresses dual-stack client access at the load-balancer edge rather than the required routable subnet IPv6 addresses for workloads.

B:

Although this setting forwards public IPv6 packets to the internet egress target, IPv4 NAT gateway routes do not create an IPv6 default path; this concerns direct IPv6 internet routing for dual-stack workloads, not the specified routable subnet IPv6 addresses for workloads.

C:

The proposed action provides stateful outbound-only IPv6 internet reachability; an ordinary internet gateway would not enforce the same outbound-only property, supporting IPv6 egress without inbound initiation but leaving routable subnet IPv6 addresses for workloads unmet.

Question 377

An endpoint policy permits GetObject from S3 but the request still receives AccessDenied. Which option should the architect select?

  1. Restrict the interface endpoint ENI security group to the application source
  2. Review IAM identity and S3 bucket resource policies as well as the endpoint policy
  3. Enable and validate supported PrivateLink private DNS for the interface endpoint
  4. Apply an S3 gateway endpoint policy scoped to the approved bucket and actions

Explanation

Correct Answer

B:

This configuration distinguishes authorization layers governing an S3 API call; an endpoint policy granting an action is not a blanket permission overriding other denies, so it delivers complete authorization on a private S3 request under the stated constraints.

Incorrect Answers

A:

This approach limits network sessions accepted at the private service endpoint; endpoint policy permissions cannot compensate for blocked network traffic, which helps with source-limited access to interface endpoint IPs instead of delivering complete authorization on a private S3 request.

C:

Although this setting directs clients toward service endpoint ENI addresses, simply adding a VPC route does not rewrite hostname resolution to the endpoint; this concerns service access that stays on private endpoint paths, not the specified complete authorization on a private S3 request.

D:

The proposed action limits eligible service operations through that endpoint; IAM and bucket policies remain separate layers of authorization, supporting least-privilege service access over a VPC endpoint but leaving complete authorization on a private S3 request unmet.

Question 378

A single HTTPS service must direct /checkout to one target group and /catalog to another while using the same listener. What is the most suitable design or configuration?

  1. Configure an Application Load Balancer with path-based rules
  2. Put Amazon CloudFront in front of the origin with cacheable behaviors
  3. Configure Route 53 geolocation routing for the public records
  4. Publish the interface through Amazon API Gateway

Explanation

Correct Answer

A:

This configuration evaluates HTTP request attributes at layer 7 and forwards matching requests to distinct target groups; listener priorities decide which matching rule takes precedence, so it delivers path-specific application traffic steering under the stated constraints.

Incorrect Answers

B:

This approach caches eligible HTTP objects near viewers and fetches the origin mainly on misses or revalidation; a cache policy can exclude unnecessary cookies and query strings from the cache key, which helps with edge caching that lowers origin load instead of delivering path-specific application traffic steering.

C:

This alternative chooses a DNS response using the location of a query's source resolver or supported EDNS client-subnet information; a default geolocation record should handle requests whose location cannot be matched, so it addresses continent-specific DNS answer selection rather than the required path-specific application traffic steering.

D:

Although this setting applies API request processing, authorization and usage controls before integrating with a backend, gateway stages and integration settings govern deployment independently of edge caching; this concerns managed REST API front-door controls, not the specified path-specific application traffic steering.

Question 379

A centrally managed AWS Cloud WAN core network separates production and nonproduction attachments into segments. A shared monitoring attachment in a third segment must be reachable from production only, without permitting nonproduction to exchange routes with production. What policy capability best expresses this?

  1. Define explicit Cloud WAN segment-sharing policy between production and the monitoring segment while keeping nonproduction isolated
  2. Associate every attachment with one default segment to simplify route exchange
  3. Add an internet gateway route in each workload VPC for the monitoring prefix
  4. Use Route 53 latency routing to select the Cloud WAN segment for each packet

Explanation

Correct Answer

A:

Cloud WAN segments establish independent routing domains. Targeted segment sharing lets approved routes become reachable between specified segments without merging all attachments into one unrestricted routing table.

Incorrect Answers

B:

Placing all attachments in a common segment removes the routing separation the organization explicitly needs. A single shared segment can allow reachability between networks intended to remain isolated.

C:

An internet gateway is not a Cloud WAN segment exchange mechanism and does not advertise private attachment routes between segments. It could also direct traffic toward the wrong boundary.

D:

DNS response selection does not determine the Cloud WAN segment membership or core network routing table for a flow. Segment policies must handle permitted network reachability.

Question 380

A company plans traffic engineering by advertising more-specific routes over one connection and summaries over another. Which solution best addresses these network requirements?

  1. Review BGP preferences and advertisements on both circuits
  2. Deploy Site-to-Site VPN as a failover path and adjust routing priorities
  3. Simulate primary Direct Connect failure and observe BGP route convergence
  4. Review longest-prefix selection before applying BGP preference changes
  5. Enable and validate VPN ECMP with appropriate dynamic routes on the TGW

Explanation

Correct Answer

D:

The approach recognizes that more-specific routing matches can override broad path preference; comparing AS_PATH for different-length prefixes does not override destination longest-match logic, directly enabling predictable forwarding with mixed BGP prefix lengths in this situation.

Incorrect Answers

A:

This alternative determines which valid session's routes are selected and available for backup; additional physical links do not force desired routing distribution, so it addresses correct primary-secondary Direct Connect behavior rather than the required predictable forwarding with mixed BGP prefix lengths.

B:

Although this setting retains an alternate IPsec path when the primary private circuit becomes unavailable, both primary and backup must advertise compatible destinations with sensible preference; this concerns backup hybrid routing over an independent transport, not the specified predictable forwarding with mixed BGP prefix lengths.

C:

The proposed action verifies that the alternate tunnel carries real traffic when the preferred path disappears; an idle VPN status page alone is not evidence of end-to-end recovery, supporting tested hybrid link failover but leaving predictable forwarding with mixed BGP prefix lengths unmet.

E:

This alternative allows eligible equivalent VPN routes to share flows using transit gateway ECMP; ECMP requires compatible dynamic routing and does not make the internet transport deterministic, so it addresses supported multipath use of VPN tunnels rather than the required predictable forwarding with mixed BGP prefix lengths.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests