Question 840

A security appliance fleet must receive encapsulated flows from a Gateway Load Balancer. Which backend protocol and registration model are required?

  1. Add a TGW attachment subnet in the required Availability Zone and verify associated VPC routes
  2. Use Gateway Load Balancer with Gateway Load Balancer endpoints and supported appliance targets
  3. Enable appliance mode on the VPC attachment hosting the stateful inspection appliances
  4. Register appliance IPs or instances in a target group that receives GENEVE traffic on port 6081

Explanation

Correct Answer

D:

Gateway Load Balancer encapsulates customer packets using GENEVE so inspection appliances can process the original traffic and return it through the service chain.

Incorrect Answers

A:

TGW VPC attachment data-plane availability depends on enabled attachment AZs; a subnet without an attachment path cannot assume that another AZ's attachment automatically carries its traffic; that still would not establish the requested outcome: connect packet inspection appliances to GWLB.

B:

GWLB uses GENEVE encapsulation to distribute traffic to inspection appliances, while GWLBe provides a private steering endpoint inside service-consumer VPCs; the scenario instead needs an action that will connect packet inspection appliances to GWLB.

C:

TGW appliance mode helps ensure the same appliance AZ is selected for a flow in both directions, which is important for stateful inspection continuity; those conditions do not produce the required result: connect packet inspection appliances to GWLB.

Question 841

A request-based Lambda backend should be invoked by a load balancer without maintaining any HTTP servers. Which load-balancer target type permits this?

  1. Configure mutual TLS on an HTTPS listener of an Application Load Balancer
  2. Register the Lambda function as an ALB Lambda target
  3. Configure the AWS Load Balancer Controller ingress target type as ip
  4. Enable an Application Load Balancer target-group slow-start duration

Explanation

Correct Answer

B:

An Application Load Balancer can transform supported HTTP requests into Lambda events and return its response as HTTP without an EC2 or IP target listener.

Incorrect Answers

A:

ALB mutual authentication can verify client certificates for inbound HTTPS sessions while preserving the ability to apply application-layer listener rules; the scenario instead needs an action that will invoke serverless targets through an ALB.

C:

IP target mode registers Pod network addresses in the load balancer target group; instance target mode instead normally directs traffic through node-level ports; it changes a different aspect of the architecture rather than fulfilling the need to invoke serverless targets through an ALB.

D:

Slow start gradually increases traffic sent to a newly healthy target during its configured warm-up interval, limiting sudden load as the replacement becomes ready; the operational gap would remain because the question requires a way to invoke serverless targets through an ALB.

Question 842

Remote employees connect to a private VPC through AWS Client VPN. The organization wants only company-private routes through the VPN while employees continue to use their local internet connections. Which configuration should be used?

  1. Enable Client VPN split-tunnel mode and distribute only the routes that must traverse the VPN
  2. Disable split tunnel and push a 0.0.0.0/0 client route through the VPN endpoint
  3. Place a NAT gateway in each employee's home router before the Client VPN connection
  4. Use an ALB listener redirect to keep noncompany destinations off the VPN

Explanation

Correct Answer

A:

With split tunneling, the Client VPN client installs the endpoint's relevant routes; other traffic can continue over the local network, provided the necessary target-network routes and authorization rules exist.

Incorrect Answers

B:

A forced default route in full-tunnel mode sends ordinary internet traffic toward the VPN endpoint, the opposite of the stated routing requirement.

C:

AWS NAT gateways reside in VPC subnets, not customer home routers, and do not define the client's split-tunnel route set.

D:

An ALB listener redirect affects HTTP requests after they reach the application load balancer. It cannot control which network routes a remote laptop installs when establishing an AWS Client VPN connection.

Question 843

An NLB forwards TCP sessions to IP targets, and backends require original caller addresses in packet headers. The traffic is not using Proxy Protocol. Which target group attribute requires examination?

  1. Enable Network Load Balancer access logging for the TLS listener and inspect handshake fields
  2. Use a TCP listener on the NLB and terminate TLS at the registered backend
  3. Configure an HTTPS target group and compatible certificates/listeners on the targets
  4. Enable client IP preservation for the supported NLB IP target group configuration

Explanation

Correct Answer

D:

Depending on target type and protocol, NLB client IP preservation may need to be explicitly configured; otherwise targets can observe a translated source address.

Incorrect Answers

A:

NLB TLS access logs provide information about TLS connections handled by supported TLS listeners, helping diagnose negotiated protocol and certificate-related handshake behavior; it changes a different aspect of the architecture rather than fulfilling the need to retain source IP addresses through L4 forwarding.

B:

A TCP listener forwards transport bytes without terminating TLS; a TLS listener would negotiate TLS at the load balancer and change where end-to-end certificate handling occurs; the operational gap would remain because the question requires a way to retain source IP addresses through L4 forwarding.

C:

ALB can initiate HTTPS connections to backend targets, protecting the load-balancer-to-target segment; this is distinct from configuring a viewer-side HTTPS listener; it is not the action that directly makes the system retain source IP addresses through L4 forwarding.

Question 844

Two target groups behind an ALB serve a gradual application release. The release manager must send 15% of matching HTTP requests to the canary regardless of DNS caching. Which layer should control the split?

  1. Correlate ALB target-processing-time fields with target application latency logs
  2. Use a weighted forward action in the ALB listener rule
  3. Configure the target group's deregistration delay
  4. Attach multiple compatible certificates to the ALB listener's certificate list for SNI selection

Explanation

Correct Answer

B:

Weighted target groups divide requests at the listener forwarding decision; DNS weighted routing does not control the per-request split within one ALB.

Incorrect Answers

A:

A gateway timeout can occur when a backend does not respond in time; comparing request timing and target logs tests the hypothesis more directly than DNS registration changes; the operational gap would remain because the question requires a way to split requests between ALB target groups.

C:

The deregistration delay sets how long a deregistering target can continue draining existing requests before being fully removed from service; that still would not establish the requested outcome: split requests between ALB target groups.

D:

Server Name Indication lets the load balancer choose the appropriate configured certificate for the requested hostname without requiring one public IP per certificate; the scenario instead needs an action that will split requests between ALB target groups.

Question 845

Operators need to see the exact HTTP status issued by an ALB and whether its registered target returned a different status. Which dataset exposes both values?

  1. Enable an Application Load Balancer target-group slow-start duration
  2. Configure an HTTPS target group and compatible certificates/listeners on the targets
  3. Enable Application Load Balancer access logs and compare elb_status_code with target_status_code
  4. Register the Lambda function as an ALB Lambda target

Explanation

Correct Answer

C:

ALB access logs contain request-level load balancer and target status fields, separating errors generated by the load balancer from application responses.

Incorrect Answers

A:

Slow start gradually increases traffic sent to a newly healthy target during its configured warm-up interval, limiting sudden load as the replacement becomes ready; it is not the action that directly makes the system distinguish load balancer errors from target errors.

B:

ALB can initiate HTTPS connections to backend targets, protecting the load-balancer-to-target segment; this is distinct from configuring a viewer-side HTTPS listener; that still would not establish the requested outcome: distinguish load balancer errors from target errors.

D:

An Application Load Balancer can transform supported HTTP requests into Lambda events and return its response as HTTP without an EC2 or IP target listener; those conditions do not produce the required result: distinguish load balancer errors from target errors.

Question 846

A packet capture is required for one EC2 network interface because metadata-only VPC Flow Logs omit the TLS handshake bytes. Which facility can deliver mirrored packet payloads to an analyzer?

  1. Explain that VPC Flow Logs aggregate connection metadata and do not uniquely represent individual HTTP transactions
  2. Configure VPC Traffic Mirroring from the supported source ENI to an inspection target
  3. Enable VPC Flow Logs for the network interface with the needed accepted and rejected traffic types
  4. Verify the VPC Flow Logs resource scope, traffic type, and aggregation interval

Explanation

Correct Answer

B:

Traffic Mirroring copies selected packets so the analyzer can inspect protocol exchanges; VPC Flow Logs record connection metadata rather than full packet payload.

Incorrect Answers

A:

HTTP requests may share TCP connections, and flow aggregation produces network records rather than one request row, so different record counts do not inherently mean loss; that still would not establish the requested outcome: inspect actual packet contents.

C:

Flow Logs deliver aggregated metadata about observed IP flows and action status for the selected VPC resource; they are not packet-capture recordings; those conditions do not produce the required result: inspect actual packet contents.

D:

Flow Logs aggregate network-flow information over a time window and only cover selected ENIs, subnets, or VPCs; request logs and flow records are not guaranteed one-to-one; it changes a different aspect of the architecture rather than fulfilling the need to inspect actual packet contents.

Question 847

A public CloudFront application must tell browsers to enforce HTTPS on future visits, including subdomains, without changing the origin application code. What edge configuration addresses this?

  1. Add a custom CloudFront response headers policy containing an HSTS Strict-Transport-Security header
  2. Enable CloudFront origin access control for every custom HTTPS origin
  3. Set a geolocation restriction that excludes countries with outdated TLS clients
  4. Enable Lambda@Edge at viewer request to replace all origin certificates

Explanation

Correct Answer

A:

A response headers policy can add the Strict-Transport-Security header with the required max-age and includeSubDomains directive, causing compliant browsers to prefer HTTPS on subsequent connections.

Incorrect Answers

B:

Origin access control governs supported origin authorization, chiefly S3 origin access; it does not instruct clients to remember an HTTPS-only policy.

C:

CloudFront geographic restrictions permit or deny viewer requests according to country. They do not send an HSTS policy to browsers and therefore do not require subsequent HTTPS access.

D:

Replacing origin certificates is not how browsers learn HSTS requirements; the relevant control is an HTTP response header delivered to viewers.

Question 848

A company requires an automated notification when a regional Site-to-Site VPN tunnel stops reporting healthy status. Which monitoring combination is appropriate?

  1. Configure and monitor both VPN tunnel interfaces and BGP neighbors on the customer gateway
  2. Establish BGP over a dynamic-routing Site-to-Site VPN connection
  3. Create a CloudWatch alarm on VPN TunnelState and notify an Amazon SNS topic
  4. Configure BGP using the inside tunnel addresses and AWS peer ASN supplied for that VPN tunnel

Explanation

Correct Answer

C:

TunnelState is a VPN tunnel health metric suitable for alarming, while SNS provides delivery to configured subscribers when the alarm changes state.

Incorrect Answers

A:

AWS provides two tunnels for redundancy; leaving a second tunnel's routing session unconfigured prevents it from taking over during planned or unplanned maintenance; those conditions do not produce the required result: alert on VPN tunnel health loss.

B:

BGP exchanges prefixes and responds to route withdrawals across the VPN tunnel; static routing requires explicit configuration and does not provide equivalent dynamic route signaling; it changes a different aspect of the architecture rather than fulfilling the need to alert on VPN tunnel health loss.

D:

IPsec tunnel establishment authenticates the encrypted underlay; dynamic route exchange requires a separate BGP session with the correct neighbors and ASN over the tunnel interfaces; it is not the action that directly makes the system alert on VPN tunnel health loss.

Question 849

A central team needs a search history of which internet names were resolved from an application VPC, not packet destinations or query payload content. What should it collect?

  1. Collect Route 53 Resolver query logs together with DNS Firewall rule-group activity where supported
  2. Enable DNSSEC validation for the VPC's Route 53 Resolver where supported
  3. Enable Route 53 Resolver query logging for the application VPC
  4. Examine Resolver query logs for response codes and correlate the failure timestamps

Explanation

Correct Answer

C:

Resolver query logs capture DNS queries and responses processed by the associated VPC Resolver and can be sent to supported log destinations for analysis.

Incorrect Answers

A:

Resolver query information can tie source, queried name, response and time to DNS security rule behavior, helping distinguish an actual blocked lookup from application DNS failures; it changes a different aspect of the architecture rather than fulfilling the need to audit VPC DNS names looked up.

B:

Resolver validation checks cryptographic DNSSEC integrity of applicable DNS responses; it is separate from signing the organization's own authoritative hosted zones; the operational gap would remain because the question requires a way to audit VPC DNS names looked up.

D:

DNS response-code observations can distinguish nonexistence responses from failed or timed-out upstream resolution, guiding whether to inspect records or network paths; that still would not establish the requested outcome: audit VPC DNS names looked up.

Question 850

An operations report compares traffic charges between AZs but lacks any evidence of the network volume flowing between deployment tiers. Which telemetry should be correlated with billing?

  1. Configure VPC Traffic Mirroring from the supported source ENI to an inspection target
  2. Verify the VPC Flow Logs resource scope, traffic type, and aggregation interval
  3. Explain that VPC Flow Logs aggregate connection metadata and do not uniquely represent individual HTTP transactions
  4. Analyze VPC Flow Logs and application network metrics alongside Cost Explorer usage

Explanation

Correct Answer

D:

Flow logs and workload metrics can identify traffic patterns responsible for transfer charges, while Cost Explorer records the billing dimensions needed to prioritize optimizations.

Incorrect Answers

A:

Traffic Mirroring copies selected packets so the analyzer can inspect protocol exchanges; VPC Flow Logs record connection metadata rather than full packet payload; the operational gap would remain because the question requires a way to link cross-AZ traffic patterns to cost.

B:

Flow Logs aggregate network-flow information over a time window and only cover selected ENIs, subnets, or VPCs; request logs and flow records are not guaranteed one-to-one; it is not the action that directly makes the system link cross-AZ traffic patterns to cost.

C:

HTTP requests may share TCP connections, and flow aggregation produces network records rather than one request row, so different record counts do not inherently mean loss; that still would not establish the requested outcome: link cross-AZ traffic patterns to cost.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests