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.

Question 381

A team wants to guard against an accidental route change exposing a sensitive database to an untrusted subnet. What should the network specialist configure?

  1. Inspect Reachability Analyzer's modeled intermediate network components
  2. Create a Network Access Analyzer finding or scoped network access analysis
  3. Specify compatible source and destination resources in Reachability Analyzer
  4. Run VPC Reachability Analyzer and inspect the path explanation

Explanation

Correct Answer

B:

With this choice, the selected action evaluates reachability conditions against declared access-intent requirements; a successful app health check would not reveal broad unauthorized paths, providing proactive detection of undesirable network reachability for the network described.

Incorrect Answers

A:

This approach reasons about supported AWS resources rather than depending on ICMP responses; managed routers do not necessarily respond to classic traceroute probes, which helps with AWS resource-path explanation beyond traceroute instead of delivering proactive detection of undesirable network reachability.

C:

Although this setting evaluates supported network paths through routing and security constructs, packet capture requires actual traffic and does not model every configuration condition; this concerns predeployment validation of intended private network reachability, not the specified proactive detection of undesirable network reachability.

D:

The proposed action analyzes network configuration and identifies blocking components for a modeled connection; it does not prove that the application process is actually listening, supporting configuration-based finding for a blocked EC2 path but leaving proactive detection of undesirable network reachability unmet.

Question 382

Two nonoverlapping VPCs in one Region need private communication without a central hub or transitive routing. Which action directly resolves the stated problem?

  1. Establish a VPC peering connection and add reciprocal routes
  2. Share selected VPC subnets using AWS RAM
  3. Use an interface VPC endpoint to consume an already published third-party PrivateLink service
  4. Publish the service through AWS PrivateLink

Explanation

Correct Answer

A:

With this choice, the selected action enables direct private IP forwarding between the two peer VPCs; VPC peering does not act as transitive routing to a third peer, providing simple one-to-one private VPC connectivity for the network described.

Incorrect Answers

B:

This approach lets participant accounts create permitted resources in centrally owned shared subnets; participants do not receive ownership of core VPC network constructs, which helps with multi-account shared-VPC subnet administration instead of delivering simple one-to-one private VPC connectivity.

C:

This alternative supplies a consumer-side ENI for connecting to an existing endpoint service; publishing a new private API requires the provider to expose an endpoint service, so it addresses third-party service consumption rather than provider-side service publication rather than the required simple one-to-one private VPC connectivity.

D:

Although this setting creates service-specific private endpoint connectivity without general VPC peering, supported endpoint types and service setup still need to be configured; this concerns private application exposure across overlapping network ranges, not the specified simple one-to-one private VPC connectivity.

Question 383

A public ALB should terminate HTTPS, filter malicious HTTP requests, and forward only approved traffic to private targets. What is the best next configuration decision?

  1. Apply appropriate NLB security-group and backend network controls where supported
  2. Integrate an ALB HTTPS listener with AWS WAF and private target groups
  3. Place the application behind an approved identity-aware access proxy or VPN
  4. Combine supported AWS Shield protections with WAF at the eligible web entry points

Explanation

Correct Answer

B:

This configuration combines layer-seven TLS ingress and web request filtering before backend forwarding; exposing the backend instances directly would bypass the web front door, so it delivers layered HTTP perimeter protection for private applications under the stated constraints.

Incorrect Answers

A:

Although this setting limits permitted transport connections according to source network policy, WAF is not natively an arbitrary TCP payload firewall for an NLB; this concerns restricted layer-four public ingress, not the specified layered HTTP perimeter protection for private applications.

C:

This approach requires authenticated access before sensitive network endpoints are reachable; allowing the entire internet CIDR through a security group does not meet access control intent, which helps with authenticated administrative ingress isolation instead of delivering layered HTTP perimeter protection for private applications.

D:

This alternative applies complementary network-scale and HTTP request threat mitigations; a single subnet ACL cannot inspect both global floods and web attack signatures, so it addresses layered perimeter resilience for public services rather than the required layered HTTP perimeter protection for private applications.

Question 384

A global service should respond with the endpoint whose Region has the best measured network latency for the DNS requester. Which solution best addresses these network requirements?

  1. Use Route 53 geolocation records plus a default location record
  2. Use Route 53 geoproximity routing with bias controls
  3. Use Route 53 latency-based routing records
  4. Use Route 53 weighted records with relative weights

Explanation

Correct Answer

C:

The approach selects regional DNS answers using AWS latency measurements for the origin of the query; it evaluates DNS resolver location and does not provide a fixed anycast application IP, directly enabling DNS routing toward a lower-latency Region in this situation.

Incorrect Answers

A:

This alternative maps resolver geography to country, continent or default responses; this is geographic policy and does not automatically choose the fastest healthy endpoint, so it addresses rule-based geographic content steering rather than the required DNS routing toward a lower-latency Region.

B:

Although this setting chooses destinations according to geographic proximity and optional traffic-shifting bias, latency-routing measurements and proximity maps are different decision inputs; this concerns fine-grained proximity-based geographic routing, not the specified DNS routing toward a lower-latency Region.

D:

This approach selects an answer in proportion to configured record weights for a shared name and type; cached answers can cause observed request percentages to differ from assigned resolution weights, which helps with DNS-level canary distribution for a release instead of delivering DNS routing toward a lower-latency Region.

Question 385

An internet-facing ALB is vulnerable to HTTP requests containing a known SQL injection signature. What is the best next configuration decision?

  1. Configure a WAF rate-based rule with the intended aggregation keys
  2. Attach an AWS WAF web ACL with appropriate managed or custom rules
  3. Set the rule action to Count during evaluation and review metrics or logs
  4. Use a CloudFront-scope WAF web ACL for the distribution
  5. Build WAF rules with header and URI matching conditions

Explanation

Correct Answer

B:

The approach evaluates supported HTTP request components before forwarding to protected resources; a subnet NACL cannot parse HTTP payload signatures, directly enabling application-layer filtering of malicious web requests in this situation.

Incorrect Answers

A:

This approach counts matching requests and applies an action after configured rates are exceeded; Route 53 health checks do not throttle abusive HTTP callers, which helps with managed per-client web request-rate mitigation instead of delivering application-layer filtering of malicious web requests.

C:

Although this setting records matches without applying the blocking decision, immediately blocking every match can interrupt legitimate application traffic; this concerns safe observation of candidate WAF rule impact, not the specified application-layer filtering of malicious web requests.

D:

The proposed action applies WAF inspection at the global CDN integration scope; a regional web ACL attached to an ALB does not automatically protect every CloudFront viewer request, supporting security policy for the distribution edge but leaving application-layer filtering of malicious web requests unmet.

E:

This approach inspects layer-seven request attributes before the origin receives traffic; security groups operate on network addresses and transport ports instead, which helps with fine-grained application HTTP request filtering instead of delivering application-layer filtering of malicious web requests.

Question 386

A company wants ACM to issue public certificates for customer-facing domains with browser trust. What is the best next configuration decision?

  1. Distribute the private CA trust anchor to intended client trust stores
  2. Request an ACM public certificate with successful domain validation
  3. Revoke the affected private CA certificate and publish supported revocation information
  4. Define AWS Private CA subordinate CA and issuance controls

Explanation

Correct Answer

B:

This configuration obtains publicly trusted certificates for supported integrated services; a certificate from an internal private CA is not automatically trusted by internet browsers, so it delivers public domain TLS identity and trust under the stated constraints.

Incorrect Answers

A:

The proposed action establishes certificate-chain trust for privately issued endpoint certificates; server-side certificate installation alone does not make clients trust a private issuer, supporting accepted private-service TLS validation but leaving public domain TLS identity and trust unmet.

C:

This alternative tells relying parties that the compromised certificate should no longer be trusted; merely removing the certificate from one server does not invalidate all copies, so it addresses controlled PKI response to exposed keys rather than the required public domain TLS identity and trust.

D:

Although this setting delegates private certificate issuance within a governed PKI hierarchy, a single unrestricted public certificate issuance workflow cannot enforce internal machine identity policy; this concerns controlled workload certificate identities, not the specified public domain TLS identity and trust.

Question 387

A customer uses Direct Connect for deterministic performance but requires an encrypted overlay to AWS. What should the network specialist configure?

  1. Deploy an appropriate VPN over Direct Connect architecture where supported
  2. Configure compatible IKEv2 on both VPN peers
  3. Rotate IPsec tunnel credentials under a coordinated, redundant tunnel procedure
  4. Manage strong VPN pre-shared keys and secure tunnel settings for customer gateways

Explanation

Correct Answer

A:

This configuration carries IPsec-protected sessions on top of the dedicated network connectivity; private routing and traffic confidentiality are separate properties, so it delivers encryption in addition to private hybrid transport under the stated constraints.

Incorrect Answers

B:

The proposed action establishes an approved newer IKE negotiation protocol for IPsec; a matching route prefix cannot overcome an IKE version mismatch, supporting policy-compliant VPN control-plane cryptography but leaving encryption in addition to private hybrid transport unmet.

C:

This approach changes the authentication secret while preserving a managed cutover path; abrupt unsynchronized changes may take down both tunnels at once, which helps with controlled IPsec key lifecycle management instead of delivering encryption in addition to private hybrid transport.

D:

This alternative authenticates the negotiating IPsec peer using agreed credentials; BGP next-hop attributes are not an IPsec peer authentication mechanism, so it addresses trustworthy site-to-site tunnel establishment rather than the required encryption in addition to private hybrid transport.

Question 388

An engineer wants failover to reflect a BGP neighbor's loss rather than a periodic manual route change. What is the most suitable design or configuration?

  1. Prepend the on-premises ASN on the less-preferred BGP advertisement where applicable
  2. Use dynamic BGP reachability across the hybrid connection
  3. Advertise suitable summarized CIDR prefixes over BGP
  4. Use routing policy to prefer one BGP path while retaining a valid alternate

Explanation

Correct Answer

B:

The approach withdraws routes learned from peers when routing sessions fail; static next hops cannot infer the same route withdrawal from a BGP session loss, directly enabling control-plane-driven hybrid failover in this situation.

Incorrect Answers

A:

This alternative lengthens the AS_PATH attribute seen by peers for route choice; AWS route priorities and local connection details can affect the complete decision, so it addresses inbound path preference toward the shorter advertised AS path rather than the required control-plane-driven hybrid failover.

C:

The proposed action aggregates adjacent networks into fewer routing announcements; summaries must not accidentally include unreachable networks or overlapping ownership, supporting scalable dynamic prefix advertising but leaving control-plane-driven hybrid failover unmet.

D:

This approach influences BGP path selection without removing the standby advertisement; simply deleting the backup route would prevent automatic rerouting, which helps with active-passive hybrid routing instead of delivering control-plane-driven hybrid failover.

Question 389

An HTTP service needs traffic for /admin/* redirected to an identity portal instead of forwarded to its normal targets. What should the network specialist configure?

  1. Place the WebSocket application behind an Application Load Balancer
  2. Create an ALB listener redirect action for the matching path
  3. Add an ALB query-string condition to a higher-priority listener rule
  4. Configure an ALB fixed-response listener action

Explanation

Correct Answer

B:

This configuration responds with a configured HTTP redirect to the client; a forward action would keep traffic on backend targets instead of informing the browser to navigate, so it delivers client-visible URL redirection at layer 7 under the stated constraints.

Incorrect Answers

A:

This approach supports HTTP upgrade semantics for WebSocket connections; configure appropriate timeouts for expected idle periods rather than assuming normal short-lived requests, which helps with long-lived HTTP-upgraded application sessions instead of delivering client-visible URL redirection at layer 7.

C:

Although this setting evaluates specified HTTP query parameters for request routing, Network Load Balancer listeners cannot inspect application query parameters; this concerns parameter-driven routing within an HTTP listener, not the specified client-visible URL redirection at layer 7.

D:

The proposed action generates an HTTP status and optional response body at the load balancer; changing a DNS record does not provide an HTTP response body to the caller, supporting immediate maintenance responses without invoking targets but leaving client-visible URL redirection at layer 7 unmet.

Question 390

A packet-processing EC2 application is CPU-bound on interrupt handling under heavy small-packet traffic. Which action provides the required behavior?

  1. Profile packet rate and use suitable instance networking capabilities with ENA
  2. Enable and verify ENA support and drivers on a compatible instance
  3. Place the cluster in a cluster placement group when supported
  4. Attach multiple compatible elastic network interfaces to the EC2 instance
  5. Select supported EC2 instances with Elastic Fabric Adapter and appropriate placement

Explanation

Correct Answer

A:

This configuration considers packet-per-second limits and accelerated I/O efficiency; raw advertised gigabits per second do not describe every small-packet workload limit, so it delivers higher sustainable EC2 packet-processing rate under the stated constraints.

Incorrect Answers

B:

This approach uses enhanced networking capabilities for higher packet-processing performance; increasing a subnet CIDR does not change instance network driver capability, which helps with improved EC2 packet throughput and latency instead of delivering higher sustainable EC2 packet-processing rate.

C:

This alternative co-locates eligible instances to optimize low-latency network communication; spread placement distributes instances to distinct hardware and serves a different goal, so it addresses tightly placed single-AZ compute networking rather than the required higher sustainable EC2 packet-processing rate.

D:

Although this setting presents separate interface identities, addresses and security group attachments, placement group settings do not create additional logical interfaces; this concerns multi-homed EC2 appliance connectivity, not the specified higher sustainable EC2 packet-processing rate.

E:

The proposed action supports optimized HPC communication patterns with an EFA network interface; an ordinary ENI offers baseline networking but not the EFA communication path, supporting tightly coupled cluster networking performance but leaving higher sustainable EC2 packet-processing rate unmet.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests