Question 920
A regional transit gateway attachment is available, but packets from a VPC travel to the wrong inspection attachment. Both a /16 propagated route and /24 static route match the destination. Which routing property explains the result?
- The more-specific local 10.12.0.0/16 route wins longest-prefix matching
- Evaluate the longest matching destination prefix in the TGW route table
- Add or propagate the destination route into the TGW route table associated with the source attachment
- Add a destination CIDR route targeting the TGW attachment in the originating subnet route table
Explanation
Correct Answer
B:A /24 destination route is more specific than a /16 and governs traffic to addresses in that range, regardless of broad propagation from another attachment.
Incorrect Answers
A:VPC routing selects the most specific matching destination; a broader transit route cannot displace the direct local destination range; those conditions do not produce the required result: explain more-specific TGW route selection.
C:TGW evaluates the route table associated with the inbound attachment; having a destination attached elsewhere is insufficient if that route table lacks a matching path; the operational gap would remain because the question requires a way to explain more-specific TGW route selection.
D:TGW route tables act only after traffic enters the transit gateway; the source VPC route table must first select the transit gateway as next hop for the destination prefix; it is not the action that directly makes the system explain more-specific TGW route selection.
Question 921
After a security-group update, a private workload cannot connect to a neighboring subnet. Reachability Analyzer reports that the path is reachable, yet TCP SYN packets still receive resets from the host. What layer requires checking next?
- Use AWS Config configuration history and rules for security-group exposure monitoring
- Permit DNS traffic on the outbound endpoint security group toward the corporate DNS targets
- Inspect the instance operating-system firewall and application listener configuration
- Inspect security-group and network ACL rules along with the destination routing path
Explanation
Correct Answer
C:Reachability Analyzer models supported AWS network configuration, but cannot establish that a process accepts connections or that a host-based filter permits the socket.
Incorrect Answers
A:AWS Config records supported resource configuration changes and can evaluate guardrails over time; CloudWatch connection metrics do not preserve the resource's compliance timeline; it changes a different aspect of the architecture rather than fulfilling the need to distinguish AWS routing from host-level refusal.
B:Resolver forwarding generates DNS queries from the endpoint ENIs; restrictive security-group egress and return-path routing can prevent a valid forwarding rule from delivering them; the operational gap would remain because the question requires a way to distinguish AWS routing from host-level refusal.
D: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: distinguish AWS routing from host-level refusal.
Question 922
A developer removes an EC2 primary ENI-associated security group and adds a new group that permits only inbound SSH. Responses to previously allowed database connections fail once those sessions expire. Which principle describes the behavior?
- Use AWS Config configuration history and rules for security-group exposure monitoring
- Reference an AWS-managed prefix list in compatible egress security-group rules
- Inspect security-group and network ACL rules along with the destination routing path
- Evaluate the security group rules against new flows while accounting for connection tracking
Explanation
Correct Answer
D: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.
Incorrect Answers
A:AWS Config records supported resource configuration changes and can evaluate guardrails over time; CloudWatch connection metrics do not preserve the resource's compliance timeline; the operational gap would remain because the question requires a way to differentiate existing flows from new security-group flows.
B:Managed prefix lists can keep approved CIDR collections current for supported AWS services, reducing manually maintained broad address rules in eligible security-group configurations; it is not the action that directly makes the system differentiate existing flows from new security-group flows.
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: differentiate existing flows from new security-group flows.
Question 923
A dual-stack EC2 application can send small IPv6 responses to a remote client, but large transfers stop across an intermediate network segment with a smaller MTU. A network ACL blocks all inbound ICMPv6. Which message must be allowed for IPv6 path MTU discovery?
- ICMPv4 Destination Unreachable, fragmentation needed (type 3/code 4)
- ICMPv6 Echo Request only
- TCP RST packets on the application listener port
- ICMPv6 Packet Too Big (type 2)
Explanation
Correct Answer
D:Intermediate IPv6 devices send ICMPv6 type 2 when a packet exceeds the next-hop MTU. Allowing Packet Too Big back to the sender enables it to lower packet size and retransmit.
Incorrect Answers
A:The IPv4 fragmentation-needed message is part of IPv4 PMTUD; IPv6 relies on its own control message because routers do not fragment IPv6 packets.
B:Echo Request helps with ping reachability checks but does not tell a sender which packet size exceeds the path MTU.
C:A TCP reset terminates the transport connection rather than telling the IPv6 sender which packet size can traverse the path. IPv6 Path MTU Discovery relies on ICMPv6 Packet Too Big feedback.
Question 924
A VPN router reloads and exchanges BGP routes again, but one VPC subnet continues using an old static route to a blackholed ENI. Which troubleshooting step is decisive?
- Inspect the route selected by the specific workload subnet route table for the affected destination
- Inspect and correct the router's local-preference policy for the competing routes
- Establish BGP over a dynamic-routing Site-to-Site VPN connection
- Enable virtual private gateway route propagation on the affected VPC route table
Explanation
Correct Answer
A:A healthy VPN control plane does not supersede an unrelated static route in an EC2 subnet route table; the active longest-prefix match controls the instance's next hop.
Incorrect Answers
B:Local preference is normally considered before AS-path length within an AS; changing path length alone may not override a deliberately preferred route; the scenario instead needs an action that will find an overriding subnet route.
C: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; those conditions do not produce the required result: find an overriding subnet route.
D:With an eligible VGW attachment, route propagation can install learned remote prefixes into the selected VPC route tables; merely establishing the tunnel does not make every subnet route table use those routes; it changes a different aspect of the architecture rather than fulfilling the need to find an overriding subnet route.
Question 925
A private Direct Connect BGP session flaps only during high temperature alarms from an optical transceiver. A second router in another facility is healthy. What layer should operations address before changing BGP policies?
- Match the customer router BGP ASN to the customer ASN configured on the Direct Connect VIF
- Advertise only the intended private prefixes over the Direct Connect BGP session
- Investigate optical signal health, patching, and physical circuit errors on the affected DX path
- Review received prefix counts and adjust the customer router's documented maximum-prefix policy appropriately
Explanation
Correct Answer
C:Optical light or error alarms indicate a physical transport issue; BGP resets can be a downstream symptom rather than evidence that route selection needs tuning.
Incorrect Answers
A:BGP neighbors must agree on each other's peer ASNs; a functioning physical circuit and VLAN cannot establish the control-plane adjacency when the remote AS is configured incorrectly; the scenario instead needs an action that will diagnose physical transport behind BGP flaps.
B:Restricting advertised prefixes keeps hybrid routing within the intended enterprise reachability boundary; unnecessary default route advertisements can attract traffic not meant for Direct Connect; those conditions do not produce the required result: diagnose physical transport behind BGP flaps.
D:A BGP peer can stay reachable while a router enforces prefix limits or suppresses updates; diagnosing the actual routes received and the configured threshold avoids misclassifying the event as link failure; the operational gap would remain because the question requires a way to diagnose physical transport behind BGP flaps.
Question 926
An on-premises firewall reports AWS VPN IKE_AUTH failures immediately after a scheduled secret rotation, while UDP 500 and 4500 packets still reach the peers. Which configuration mismatch is the leading suspect?
- Rotate the VPN tunnel pre-shared keys through the supported VPN tunnel-option workflow and coordinate customer gateway changes
- Monitor VPN tunnel endpoint change notifications and update the peer configuration to the provisioned endpoint values
- Verify that both VPN peers use the currently configured pre-shared key or authentication material
- Establish BGP over a dynamic-routing Site-to-Site VPN connection
Explanation
Correct Answer
C:IKE authentication depends on matching configured credentials and compatible proposals; reachability to the outside addresses does not prove those credentials agree.
Incorrect Answers
A:PSK rotation changes tunnel authentication material; routing policies and BGP prefixes can remain logically independent while tunnel reestablishment must be planned; those conditions do not produce the required result: restore matching VPN tunnel authentication.
B:Customer gateways should use the actual tunnel outside addresses supplied for the VPN connection and plan for documented endpoint changes; fixed assumptions about future endpoints create outages; it changes a different aspect of the architecture rather than fulfilling the need to restore matching VPN tunnel authentication.
D: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 is not the action that directly makes the system restore matching VPN tunnel authentication.
Question 927
An EC2 instance in a private subnet cannot start new outbound connections under peak load. Thousands of simultaneous connections share one NAT gateway destination pair. Which resource might be exhausted?
- Reuse application TCP connections or distribute destination tuples and NAT source addresses where feasible
- Clamp TCP MSS to a value compatible with the smallest encapsulated path MTU
- Inspect NAT gateway connection and port-allocation metrics for the specific destination tuple
- Deploy NAT gateways per active AZ and use same-AZ subnet routes
Explanation
Correct Answer
C:Source port allocation is finite for each NAT gateway address and destination tuple; connection errors under concentrated load can occur before ordinary bandwidth limits are reached.
Incorrect Answers
A:Reducing churn and spreading simultaneous destination flows can mitigate per-tuple ephemeral-port pressure; simply adding unrelated DNS records does not create more NAT port capacity; it changes a different aspect of the architecture rather than fulfilling the need to diagnose NAT source-port exhaustion.
B:A successful handshake uses small packets; oversized encrypted data packets may be fragmented or dropped, so an appropriately sized MSS avoids black-hole behavior along the limiting hop; the operational gap would remain because the question requires a way to diagnose NAT source-port exhaustion.
D:Matching each workload AZ to a local NAT gateway avoids forcing routine egress through another AZ and removes one AZ's gateway as a shared dependency, though gateway hourly costs increase; that still would not establish the requested outcome: diagnose NAT source-port exhaustion.
Question 928
A customer-managed prefix list was updated with a new datacenter /24, but a subnet route targeting that list unexpectedly sends more traffic over VPN than before. Which inspection should come next?
- Add a numbered DENY entry for the hostile /24 in the relevant network ACL before a broader ALLOW entry
- Review the prefix list entries and the associated VPC route-table destinations for longest-prefix interactions
- Reference an AWS-managed prefix list in compatible egress security-group rules
- Evaluate the security group rules against new flows while accounting for connection tracking
Explanation
Correct Answer
B:Route tables can reference customer-managed prefix lists as destinations; a changed list of prefixes can influence matching traffic even when the route itself was not individually edited.
Incorrect Answers
A:Network ACLs evaluate stateless rules in ascending number order and support explicit denies; security groups do not have deny rules; Both ingress and egress paths still need compatible NACL handling; the operational gap would remain because the question requires a way to diagnose path changes after a managed prefix-list update.
C:Managed prefix lists can keep approved CIDR collections current for supported AWS services, reducing manually maintained broad address rules in eligible security-group configurations; that still would not establish the requested outcome: diagnose path changes after a managed prefix-list update.
D: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 diagnose path changes after a managed prefix-list update.
Question 929
A VPC route table contains 10.0.0.0/8 to a TGW and a local 10.12.0.0/16 covering its own subnet. Traffic to another instance in 10.12.0.0/16 stays inside the VPC. Which rule accounts for this?
- The more-specific local 10.12.0.0/16 route wins longest-prefix matching
- Evaluate the longest matching destination prefix in the TGW route table
- Add a destination CIDR route targeting the TGW attachment in the originating subnet route table
- Add or propagate the destination route into the TGW route table associated with the source attachment
Explanation
Correct Answer
A:VPC routing selects the most specific matching destination; a broader transit route cannot displace the direct local destination range.
Incorrect Answers
B:A /24 destination route is more specific than a /16 and governs traffic to addresses in that range, regardless of broad propagation from another attachment; that still would not establish the requested outcome: explain local-route precedence over a summary.
C:TGW route tables act only after traffic enters the transit gateway; the source VPC route table must first select the transit gateway as next hop for the destination prefix; the scenario instead needs an action that will explain local-route precedence over a summary.
D:TGW evaluates the route table associated with the inbound attachment; having a destination attached elsewhere is insufficient if that route table lacks a matching path; those conditions do not produce the required result: explain local-route precedence over a summary.
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?
- Inspect security-group and network ACL rules along with the destination routing path
- Evaluate the security group rules against new flows while accounting for connection tracking
- Create AWS Config rules for the intended network ACL compliance policy and automate response where supported
- 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.