Question 930

VPC Flow Logs show REJECT for traffic destined to a database ENI, but they do not identify which individual security rule rejected the flow. What additional evaluation is needed?

  1. Inspect security-group and network ACL rules along with the destination routing path
  2. Evaluate the security group rules against new flows while accounting for connection tracking
  3. Create AWS Config rules for the intended network ACL compliance policy and automate response where supported
  4. Inspect the outbound NACL rules for return packets to ephemeral destination ports

Explanation

Correct Answer

A:

Flow Logs classify traffic as accepted or rejected at the interface-level logging view; they do not directly name the exact security-group or NACL rule responsible.

Incorrect Answers

B:

Security groups are stateful, but replacing the rules does not grant indefinite access for new flows; connection tracking and subsequent connection establishment follow allowed traffic and rule state; the scenario instead needs an action that will identify the actual filter denying a flow.

C:

AWS Config records resource configuration and can evaluate it against guardrails; a workflow can then notify or trigger controlled remediation; those conditions do not produce the required result: identify the actual filter denying a flow.

D:

Network ACLs are stateless, so permitting an inbound destination port does not automatically permit the corresponding outbound return packet to a client-chosen port; it changes a different aspect of the architecture rather than fulfilling the need to identify the actual filter denying a flow.

Question 931

A TCP client connects through an ALB and sees HTTP 504. The ALB can establish a connection to its healthy target, but the application does not return an HTTP response before the configured timeout. Which measurement best tests the suspected delay?

  1. Correlate ALB target-processing-time fields with target application latency logs
  2. Configure the target group's deregistration delay
  3. Increase the ALB idle timeout to fit the application's expected inactivity intervals
  4. Configure an HTTPS target group and compatible certificates/listeners on the targets

Explanation

Correct Answer

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.

Incorrect Answers

B:

The deregistration delay sets how long a deregistering target can continue draining existing requests before being fully removed from service; those conditions do not produce the required result: isolate backend response timeout behind an ALB.

C:

The load balancer closes connections with no activity for longer than the configured idle timeout; merely increasing target health thresholds cannot keep an idle client connection open; it changes a different aspect of the architecture rather than fulfilling the need to isolate backend response timeout behind an ALB.

D:

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; the operational gap would remain because the question requires a way to isolate backend response timeout behind an ALB.

Question 932

A latency incident affects one Network Load Balancer target group. CloudWatch shows increases in TCP_Target_Reset_Count but not TCP_ELB_Reset_Count. What component is implicated?

  1. Investigate the registered targets and why they are sending TCP reset packets
  2. Trace routing and filtering in both directions and capture at the destination if possible
  3. Deliver VPC Flow Logs to a governed Amazon S3 bucket in the centralized logging environment
  4. Verify the VPC Flow Logs resource scope, traffic type, and aggregation interval

Explanation

Correct Answer

A:

Reset metrics distinguished by origin help identify the termination source; target resets point toward backend behavior rather than the load balancer generating the reset itself.

Incorrect Answers

B:

A missing SYN-ACK can indicate a forward-path drop, destination listener issue, or return-path problem; confirming where SYNs and responses appear narrows the cause; it changes a different aspect of the architecture rather than fulfilling the need to locate the sender of TCP resets.

C:

S3 can retain aggregated flow-log objects for cross-account analysis and lifecycle controls when the destination and permissions are configured correctly; the operational gap would remain because the question requires a way to locate the sender of TCP resets.

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 is not the action that directly makes the system locate the sender of TCP resets.

Question 933

A support engineer sees repeated CloudFront X-Cache: Miss from cloudfront for a URL that changes a tracking query string on every request. What is a likely cache-policy cause?

  1. Remove irrelevant request dimensions from the CloudFront cache key and test object correctness
  2. The cache key includes unnecessary query strings, fragmenting otherwise reusable objects
  3. Forward the Authorization header through an origin request policy on the noncached behavior
  4. Monitor CloudFront cache statistics and origin error metrics in separate CloudWatch dashboards

Explanation

Correct Answer

B:

If irrelevant tracking parameters form separate cache keys, edge caches store many variants even when origin content is identical, reducing cache-hit ratio.

Incorrect Answers

A:

Smaller cache-key cardinality improves reuse of an unchanged representation; security-sensitive or response-varying fields must remain properly isolated to avoid mixing distinct content; it changes a different aspect of the architecture rather than fulfilling the need to explain unnecessary CloudFront cache variants.

C:

Origin request policies govern what reaches the origin independently of the cache policy; a behavior intended for protected requests must still avoid unsafe shared caching of authorized responses; it is not the action that directly makes the system explain unnecessary CloudFront cache variants.

D:

Edge hit rates describe cache behavior, whereas origin errors diagnose backend responses; combining them as one success percentage obscures different failure causes; that still would not establish the requested outcome: explain unnecessary CloudFront cache variants.

Question 934

An internal application intermittently fails to resolve an on-premises name, while Route 53 Resolver endpoints show elevated outbound query volume. Which additional evidence separates DNS timeout from NXDOMAIN?

  1. Enable Route 53 Resolver query logging for the application VPC
  2. Examine Resolver query logs for response codes and correlate the failure timestamps
  3. Collect Route 53 Resolver query logs together with DNS Firewall rule-group activity where supported
  4. Associate the domain-specific Route 53 Resolver forwarding rule with the workload VPC

Explanation

Correct Answer

B:

DNS response-code observations can distinguish nonexistence responses from failed or timed-out upstream resolution, guiding whether to inspect records or network paths.

Incorrect Answers

A:

Resolver query logs capture DNS queries and responses processed by the associated VPC Resolver and can be sent to supported log destinations for analysis; the operational gap would remain because the question requires a way to distinguish missing DNS names from upstream failures.

C:

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; that still would not establish the requested outcome: distinguish missing DNS names from upstream failures.

D:

The rule association tells the VPC Resolver which suffix to forward via the outbound endpoint; endpoint creation alone does not redirect DNS requests for that domain; the scenario instead needs an action that will distinguish missing DNS names from upstream failures.

Question 935

A firewall team needs to confirm whether AWS Network Firewall merely reported a suspicious pattern or actively prevented a connection. Which logs should they compare?

  1. Place AWS Network Firewall endpoints in the centralized egress path and route inspected traffic through them
  2. Deliver Network Firewall logs to a supported destination and derive CloudWatch metrics and alarms for matching events
  3. Configure supported Network Firewall TLS SNI or domain-list matching with the intended stateful rule action
  4. Examine AWS Network Firewall alert and flow logs with the configured stateful rule action

Explanation

Correct Answer

D:

An alert action records a match without necessarily dropping the traffic, while a drop or reject action changes data-plane delivery; rule action and event evidence must be read together.

Incorrect Answers

A:

Network Firewall processes packets according to configured stateless and stateful policies; the surrounding subnet/TGW routing must force both relevant directions through the endpoints; it is not the action that directly makes the system differentiate inspected alerts from blocked traffic.

B:

Firewall flow or alert logs describe inspection events, while derived metrics and alarms can notify responders when defined event counts exceed thresholds; that still would not establish the requested outcome: differentiate inspected alerts from blocked traffic.

C:

Stateful domain inspection can examine supported protocol metadata such as TLS SNI without full TLS decryption; it cannot classify traffic lacking the inspected hostname signal; the scenario instead needs an action that will differentiate inspected alerts from blocked traffic.

Question 936

A packet capture on an EC2 source displays repeated TCP SYN packets without any SYN-ACK, even though a route exists to the destination. Which diagnostic sequence best isolates the problem?

  1. Trace routing and filtering in both directions and capture at the destination if possible
  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. Investigate the registered targets and why they are sending TCP reset packets

Explanation

Correct Answer

A:

A missing SYN-ACK can indicate a forward-path drop, destination listener issue, or return-path problem; confirming where SYNs and responses appear narrows the cause.

Incorrect Answers

B:

Traffic Mirroring copies selected packets so the analyzer can inspect protocol exchanges; VPC Flow Logs record connection metadata rather than full packet payload; the scenario instead needs an action that will determine why a TCP handshake has no reply.

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: determine why a TCP handshake has no reply.

D:

Reset metrics distinguished by origin help identify the termination source; target resets point toward backend behavior rather than the load balancer generating the reset itself; it changes a different aspect of the architecture rather than fulfilling the need to determine why a TCP handshake has no reply.

Question 937

A TGW connects several VPC attachments, and a report needs traffic visibility at the transit attachment rather than every instance ENI. Which telemetry fits?

  1. Enable Transit Gateway Flow Logs for the relevant TGW or attachments
  2. Monitor Transit Gateway attachment CloudWatch metrics and correlate them with TGW Flow Logs
  3. Accept the shared Transit Gateway attachment request in the owner account
  4. Configure static routes for TGW peering attachments in the relevant TGW route tables

Explanation

Correct Answer

A:

TGW Flow Logs provide network-flow metadata observed by the transit gateway and its attachments; ordinary VPC Flow Logs report traffic at their configured VPC resource scope.

Incorrect Answers

B:

TGW metrics report aggregate packet and byte behavior while Flow Logs add flow context, enabling a more precise hypothesis about attachment-specific drop patterns; those conditions do not produce the required result: inspect traffic at a transit gateway attachment.

C:

RAM sharing grants permission to request an attachment, but the TGW owner must accept pending attachment requests unless its attachment auto-acceptance setting handles them; it changes a different aspect of the architecture rather than fulfilling the need to inspect traffic at a transit gateway attachment.

D:

Transit Gateway inter-Region peering does not use automatic route propagation, so each peer direction requires explicit routes for reachable destination ranges; the operational gap would remain because the question requires a way to inspect traffic at a transit gateway attachment.

Question 938

A network analyst sees HTTPS request logs on an ALB but no matching VPC Flow Log entries for a subset of requests and suspects the flow logging interval. What should be checked first?

  1. Deliver VPC Flow Logs to a governed Amazon S3 bucket in the centralized logging environment
  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. Enable VPC Flow Logs for the network interface with the needed accepted and rejected traffic types

Explanation

Correct Answer

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.

Incorrect Answers

A:

S3 can retain aggregated flow-log objects for cross-account analysis and lifecycle controls when the destination and permissions are configured correctly; those conditions do not produce the required result: reconcile request logs with aggregate flow logs.

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; the operational gap would remain because the question requires a way to reconcile request logs with aggregate flow logs.

D:

Flow Logs deliver aggregated metadata about observed IP flows and action status for the selected VPC resource; they are not packet-capture recordings; it is not the action that directly makes the system reconcile request logs with aggregate flow logs.

Question 939

A domain resolves correctly from an EC2 instance but incorrectly from a remote branch. The VPC has a private hosted zone, and the branch uses a separate corporate resolver. What is the first useful comparison?

  1. Create a Resolver inbound endpoint and point on-premises forwarding to its IP addresses
  2. Compare the DNS recursion paths and whether the branch forwards to an AWS Resolver inbound endpoint
  3. Associate the private hosted zone with the inbound endpoint's VPC B or use a supported forwarding architecture
  4. Add outbound endpoint IP addresses in subnets across at least two supported Availability Zones

Explanation

Correct Answer

B:

Different clients can use different recursive resolvers and DNS views; validating each resolution path reveals why only the in-VPC client sees the private hosted-zone records.

Incorrect Answers

A:

Inbound endpoints accept queries from external networks for VPC-associated resolution; outbound endpoints initiate queries from a VPC toward external DNS servers; it changes a different aspect of the architecture rather than fulfilling the need to diagnose different DNS answers by client location.

C:

An inbound Resolver endpoint resolves using the DNS view of its VPC, so a private hosted zone available only in another VPC is not automatically available across the connection; it is not the action that directly makes the system diagnose different DNS answers by client location.

D:

Multiple subnet IPs in different AZs reduce dependence on a single AZ for DNS forwarding toward on-premises resolvers; redundant target resolvers should also be reachable; that still would not establish the requested outcome: diagnose different DNS answers by client location.

Question 940

A private subnet's network ACL allows inbound HTTPS on 443, yet HTTPS sessions fail after TCP establishment because responses to client ephemeral ports are blocked. Which observation is most diagnostic?

  1. Create AWS Config rules for the intended network ACL compliance policy and automate response where supported
  2. Evaluate the security group rules against new flows while accounting for connection tracking
  3. Inspect security-group and network ACL rules along with the destination routing path
  4. Inspect the outbound NACL rules for return packets to ephemeral destination ports

Explanation

Correct Answer

D:

Network ACLs are stateless, so permitting an inbound destination port does not automatically permit the corresponding outbound return packet to a client-chosen port.

Incorrect Answers

A:

AWS Config records resource configuration and can evaluate it against guardrails; a workflow can then notify or trigger controlled remediation; the operational gap would remain because the question requires a way to identify the NACL return-port gap.

B:

Security groups are stateful, but replacing the rules does not grant indefinite access for new flows; connection tracking and subsequent connection establishment follow allowed traffic and rule state; it is not the action that directly makes the system identify the NACL return-port gap.

C:

Flow Logs classify traffic as accepted or rejected at the interface-level logging view; they do not directly name the exact security-group or NACL rule responsible; that still would not establish the requested outcome: identify the NACL return-port gap.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests