Question 10

A fleet of small public endpoints needs DNS to return several healthy IP addresses for simple client-side distribution. How should this network requirement be implemented?

  1. Use Route 53 geoproximity routing with bias controls
  2. Configure Route 53 multivalue answer records with associated health checks
  3. Use Route 53 weighted records with relative weights
  4. Use Route 53 geolocation records plus a default location record
  5. Use Route 53 latency-based routing records

Explanation

Correct Answer

B:

The approach returns multiple healthy values for a DNS name within supported multivalue semantics; it is not a connection-aware load balancer and does not proxy requests, directly enabling simple health-aware DNS answer diversity in this situation.

Incorrect Answers

A:

The proposed action chooses destinations according to geographic proximity and optional traffic-shifting bias; latency-routing measurements and proximity maps are different decision inputs, supporting fine-grained proximity-based geographic routing but leaving simple health-aware DNS answer diversity unmet.

C:

This alternative 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, so it addresses DNS-level canary distribution for a release rather than the required simple health-aware DNS answer diversity.

D:

Although this setting maps resolver geography to country, continent or default responses, this is geographic policy and does not automatically choose the fastest healthy endpoint; this concerns rule-based geographic content steering, not the specified simple health-aware DNS answer diversity.

E:

The proposed action 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, supporting DNS routing toward a lower-latency Region but leaving simple health-aware DNS answer diversity unmet.

Question 11

An application must use WebSocket communication through an AWS managed load balancer. Which AWS networking approach meets this constraint?

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

Explanation

Correct Answer

D:

The approach supports HTTP upgrade semantics for WebSocket connections; configure appropriate timeouts for expected idle periods rather than assuming normal short-lived requests, directly enabling long-lived HTTP-upgraded application sessions in this situation.

Incorrect Answers

A:

Although this setting 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; this concerns client-visible URL redirection at layer 7, not the specified long-lived HTTP-upgraded application sessions.

B:

The proposed action evaluates specified HTTP query parameters for request routing; Network Load Balancer listeners cannot inspect application query parameters, supporting parameter-driven routing within an HTTP listener but leaving long-lived HTTP-upgraded application sessions unmet.

C:

This approach 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, which helps with immediate maintenance responses without invoking targets instead of delivering long-lived HTTP-upgraded application sessions.

Question 12

A backend needs TLS on both the client-to-ALB and ALB-to-target hops. What should the network specialist configure?

  1. Add a matching listener rule with a fixed deny response
  2. Use an HTTPS ALB listener and an HTTPS target group
  3. Configure an HTTP listener with a redirect to HTTPS
  4. Configure ALB authenticate-oidc listener actions

Explanation

Correct Answer

B:

With this choice, the selected action terminates and initiates separate TLS sessions on each load-balancer hop; HTTPS to the load balancer does not automatically encrypt the backend leg, providing encryption on both sides of the ALB for the network described.

Incorrect Answers

A:

This alternative evaluates HTTP headers and can return a configured HTTP status without forwarding; plain security group rules cannot examine HTTP header values, so it addresses header-based denial at the application ingress rather than the required encryption on both sides of the ALB.

C:

The proposed action returns the redirect response that tells clients to use encrypted HTTPS; a backend TLS listener alone does not redirect a client that entered through HTTP, supporting enforced client-facing HTTPS navigation but leaving encryption on both sides of the ALB unmet.

D:

This approach performs supported OpenID Connect authentication before forwarding requests; a network ACL cannot execute a web identity-provider sign-in flow, which helps with identity-aware access on the HTTP listener instead of delivering encryption on both sides of the ALB.

Question 13

A networking account has already attached many VPCs to one regional transit hub and wants a single VPN termination point. What is the best next configuration decision?

  1. Create a VPN attachment to AWS Transit Gateway
  2. Enable VGW route propagation in the relevant VPC route table
  3. Create a Site-to-Site VPN connection using the VPC's VGW as the target
  4. Associate regional TGWs with one DX gateway using a transit VIF

Explanation

Correct Answer

A:

With this choice, the selected action terminates the managed VPN service at the shared routing hub; transit gateway route tables must grant each destination access deliberately, providing consolidated VPN access to selected VPC attachments for the network described.

Incorrect Answers

B:

This alternative installs eligible propagated hybrid routes in a VPC route table; merely bringing up a BGP session is not enough when the subnet route table lacks a path, so it addresses learned routes from a virtual private gateway rather than the required consolidated VPN access to selected VPC attachments.

C:

Although this setting terminates the AWS-side VPN tunnels at the virtual private gateway, a transit gateway is a different termination pattern with broader attachment routing; this concerns VPC-local hybrid VPN termination, not the specified consolidated VPN access to selected VPC attachments.

D:

The proposed action links multiple regional transit routing domains to the on-premises circuit; allowed prefixes and ASN constraints need attention during association, supporting centralized hybrid routing across regional hubs but leaving consolidated VPN access to selected VPC attachments unmet.

Question 14

A TCP backend requires its own application to terminate TLS because the load balancer must not decrypt traffic. What is the best next configuration decision?

  1. Use an NLB TCP listener that passes the TLS bytes to the targets
  2. Configure the distribution's viewer HTTPS policy and a valid certificate
  3. Use an HTTPS target group with compatible target certificates
  4. Set the custom origin protocol policy to HTTPS Only

Explanation

Correct Answer

A:

The approach forwards transport data without terminating the client's TLS session; an NLB TLS listener would terminate the client-facing TLS session at the load balancer, directly enabling backend-controlled TLS termination in this situation.

Incorrect Answers

B:

This approach enforces TLS on the client-to-edge hop according to the selected policy; an HTTPS origin configuration alone does not secure the viewer hop, which helps with encrypted browser-to-CDN traffic instead of delivering backend-controlled TLS termination.

C:

This alternative initiates TLS from the ALB to its backend targets; selecting an HTTPS listener protects only the client-facing leg, so it addresses protected ALB-to-target application hop rather than the required backend-controlled TLS termination.

D:

Although this setting uses TLS when CloudFront establishes connections to the configured origin, viewer HTTPS does not automatically guarantee every origin fetch uses TLS; this concerns encrypted CDN-to-origin traffic, not the specified backend-controlled TLS termination.

Question 15

A team needs to audit queries made by containers in one VPC to the Amazon-provided resolver. Which solution best addresses these network requirements?

  1. Associate a Resolver query log configuration with that VPC
  2. Set a domain-specific Resolver forwarding rule rather than broad catch-all forwarding
  3. Add the child's DS information to the parent delegation
  4. Add a default record for the geolocation record set
  5. Configure a Route 53 health check with content matching and failover routing

Explanation

Correct Answer

A:

This configuration records supported VPC resolver queries for subsequent analysis; Route 53 public hosted-zone logs only show authoritative DNS queries that reach that zone, so it delivers VPC-originated DNS query audit records under the stated constraints.

Incorrect Answers

B:

The proposed action dispatches only matching DNS names to designated remote resolver targets; forwarding the root domain may unnecessarily route unrelated internet lookups to corporate servers, supporting selective hybrid DNS forwarding scope but leaving VPC-originated DNS query audit records unmet.

C:

This approach establishes the missing DNSSEC parent-child trust link; KMS signing configuration alone does not prove authenticity to a recursive validator, which helps with end-to-end DNSSEC validator trust instead of delivering VPC-originated DNS query audit records.

D:

This alternative supplies an answer for unmatched geographic source queries; unmatched locations can otherwise have no suitable geolocation record answer, so it addresses reliable geo-based DNS response completion rather than the required VPC-originated DNS query audit records.

E:

Although this setting uses observed application health to decide whether primary DNS responses should be served, ordinary weighted routing is not inherently primary-secondary failover; this concerns endpoint-aware authoritative DNS failover, not the specified VPC-originated DNS query audit records.

Question 16

Network engineers need to apply a standardized route-table update safely to hundreds of accounts. Which change is the most appropriate?

  1. Use VPC-creation EventBridge events to invoke a Lambda policy-check workflow
  2. Route the matching CloudTrail event through EventBridge to a remediation target
  3. Send a CloudWatch alarm to SNS and the incident integration
  4. Orchestrate an approved automation workflow with Step Functions and scoped API operations

Explanation

Correct Answer

D:

With this choice, the selected action coordinates retries, sequencing and error handling for network changes; a single manual CLI loop lacks workflow-state and recovery controls, providing repeatable multi-account route-management operations for the network described.

Incorrect Answers

A:

This alternative reacts to new VPC creation events and runs focused automated network checks; a VPC-creation event filter does not detect subsequent security-group modification APIs, so it addresses event-driven VPC-creation governance rather than the required repeatable multi-account route-management operations.

B:

Although this setting maps audited API activity to event-driven response logic, CloudWatch metrics do not by themselves reconstruct the API change request; this concerns near-real-time security-group change response, not the specified repeatable multi-account route-management operations.

C:

The proposed action delivers notifications when the monitored threshold transitions state; a log delivery bucket alone does not send operational pages, supporting automated notification on connectivity failures but leaving repeatable multi-account route-management operations unmet.

Question 17

An international company wants private VIF connectivity to VGWs across different AWS Regions without separate physical circuits. Which AWS networking approach meets this constraint?

  1. Use a transit VIF to a Direct Connect gateway associated with the Transit Gateway
  2. Associate multiple supported VGWs with a Direct Connect gateway
  3. Obtain a supported hosted Direct Connect connection from an AWS partner
  4. Create a Direct Connect private VIF to the target virtual private gateway

Explanation

Correct Answer

B:

This configuration enables private VIF reachability to multiple associated virtual private gateways; a DX gateway distributes routing information rather than serving as a general internet router, so it delivers cross-Region private gateway access through DX under the stated constraints.

Incorrect Answers

A:

This approach supplies BGP routing into the transit gateway architecture through a DX gateway; private VIFs attached per-VGW would add repeated VPC-specific connectivity management, which helps with private connectivity to multiple TGW-attached VPCs instead of delivering cross-Region private gateway access through DX.

C:

Although this setting uses a partner-provisioned link instead of an independently installed cross-connect, the provider's port capacity and provisioning terms still determine the connection characteristics; this concerns partner-assisted private hybrid connectivity, not the specified cross-Region private gateway access through DX.

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 cross-Region private gateway access through DX unmet.

Question 18

A team changed the Direct Connect VIF MTU to jumbo frames and then intermittent traffic failures appeared on the customer switch. What is the best next configuration decision?

  1. Permit the relevant path MTU discovery ICMP feedback
  2. Investigate path MTU and adjust MSS clamping or packet size appropriately
  3. Check EFA supported instance, placement group and network prerequisites
  4. Check end-to-end VLAN, router, and host MTU compatibility

Explanation

Correct Answer

D:

This configuration verifies every device on the traffic path can process the selected frame size; enabling jumbo MTU on only one interface can create size mismatches, so it delivers valid large-frame transport across the hybrid link under the stated constraints.

Incorrect Answers

A:

The proposed action allows endpoints to learn a workable packet size along the route; blindly enabling jumbo frames on EC2 will not make every intervening hop support them, supporting functioning PMTUD for end-to-end TCP traffic but leaving valid large-frame transport across the hybrid link unmet.

B:

This approach limits TCP segment sizes to fit encapsulated network paths; increasing BGP timers will not repair fragmentation-related black holes, which helps with avoidance of oversized packets across IPsec tunnels instead of delivering valid large-frame transport across the hybrid link.

C:

This alternative validates low-latency ENA/EFA transport assumptions for clustered HPC; ordinary internet-facing ALB routing is not the EFA data path, so it addresses correct placement for low-latency inter-node traffic rather than the required valid large-frame transport across the hybrid link.

Question 19

A managed database connection contains sensitive records and must reject plaintext application sessions. Which change is the most appropriate?

  1. Deploy a managed certificate distribution and renewal workflow to the EC2 web server
  2. Require the database engine's supported TLS connection option and client verification
  3. Implement service-to-service TLS or mTLS according to the threat model
  4. Validate certificate chain and requested hostname in the TLS client

Explanation

Correct Answer

B:

The approach protects client-to-database data in transit using the service's TLS protocol; encrypted EBS volumes do not encrypt network packets in flight, directly enabling encrypted managed-database application connections in this situation.

Incorrect Answers

A:

Although this setting installs renewed certificates in the software that actually terminates TLS, attaching an ACM certificate to an unrelated ALB does not update Nginx on the instance; this concerns maintained TLS identity on customer-managed application servers, not the specified encrypted managed-database application connections.

C:

This approach protects application payloads independently of private route placement; a private IP path does not by itself satisfy an explicit in-transit encryption requirement, which helps with confidentiality within private east-west service traffic instead of delivering encrypted managed-database application connections.

D:

This alternative prevents accepting an encrypted connection to an impersonating server; encryption without peer identity validation remains vulnerable to man-in-the-middle attacks, so it addresses authenticated outbound HTTPS service communication rather than the required encrypted managed-database application connections.

Question 20

A security dashboard must show both unusually high outbound bytes and the corresponding firewall rule denies. Which AWS networking approach meets this constraint?

  1. Use Resolver DNS Firewall metrics and query logs with an alarm or event pipeline
  2. Analyze VPC Flow Logs with Athena or CloudWatch Logs Insights depending on delivery
  3. Create CloudWatch alarms using relevant firewall metrics or log-derived metrics
  4. Configure Shield event monitoring and its supported notification integration
  5. Correlate CloudWatch network metrics with firewall or flow logs in a unified analysis

Explanation

Correct Answer

E:

This configuration compares traffic volume trends with policy enforcement evidence; one graph of aggregate bytes cannot show whether suspicious flows were denied, so it delivers multi-source explanation for network exfiltration indicators under the stated constraints.

Incorrect Answers

A:

This alternative converts DNS filtering events into a monitored security signal; a public hosted-zone health check does not see VPC resolver policy decisions, so it addresses detectable policy-enforced DNS blocks rather than the required multi-source explanation for network exfiltration indicators.

B:

Although this setting groups traffic metadata by addresses, ports, action and time, CloudTrail event history lacks the packet-level connection counts needed here; this concerns quantitative analysis of suspicious network flows, not the specified multi-source explanation for network exfiltration indicators.

C:

The proposed action evaluates abnormal inspection signals against justified thresholds; storing raw logs without a metric and alarm does not produce an immediate notification, supporting timely notice of traffic-filtering anomalies but leaving multi-source explanation for network exfiltration indicators unmet.

D:

This approach surfaces attack detections from the advanced protection service; request-based application telemetry alone may not identify the service's attack classification, which helps with automatic awareness of observed DDoS attacks instead of delivering multi-source explanation for network exfiltration indicators.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests