Question 350

A Site-to-Site VPN's customer gateway can ping the peer outside address but phase one never establishes. What is the most suitable design or configuration?

  1. Check IKE proposals, pre-shared keys, peer identity, and negotiation logs
  2. Compare traffic selectors, VPC return routes, and customer routes
  3. Alarm on per-tunnel TunnelState metrics and test alternate routing
  4. Inspect phase-two proposals, traffic selectors, and child SA negotiation
  5. Confirm NAT traversal and UDP 4500 as well as permitted IKE transport

Explanation

Correct Answer

A:

The approach identifies crypto and authentication mismatch before data-plane routing; ICMP reachability does not prove that IKE has compatible proposals, directly enabling restored phase-one IPsec negotiation in this situation.

Incorrect Answers

B:

This approach checks forwarding after tunnel establishment rather than only tunnel status; up-status on a tunnel does not guarantee application-subnet reachability, which helps with end-to-end routing through an established VPN instead of delivering restored phase-one IPsec negotiation.

C:

This alternative provides early warning about lost redundancy while traffic still flows; aggregate application success may mask a failed backup tunnel, so it addresses observability of degraded VPN availability rather than the required restored phase-one IPsec negotiation.

D:

Although this setting targets ESP proposal and selector issues after initial IKE success, changing the NAT gateway route would not correct mismatched PFS groups; this concerns stable IPsec child security associations, not the specified restored phase-one IPsec negotiation.

E:

The proposed action preserves IPsec negotiation across an intervening NAT device; route propagation alone cannot pass blocked NAT-T packets, supporting functional VPN connectivity with NAT in the path but leaving restored phase-one IPsec negotiation unmet.

Question 351

A BGP-enabled router keeps advertising a decommissioned data center prefix over Direct Connect. How should this network requirement be implemented?

  1. Remove or filter the obsolete BGP announcement on the customer router
  2. Change the workload subnet route to send the customer CIDRs to the transit gateway
  3. Add the correct static routes to the Site-to-Site VPN configuration and associated route tables
  4. Update customer routing advertisements and security policies for the new AWS prefixes

Explanation

Correct Answer

A:

This configuration prevents AWS from learning a route to a nonexistent destination; VPC security groups do not delete advertisements from the external routing control plane, so it delivers withdrawal of invalid customer routes under the stated constraints.

Incorrect Answers

B:

The proposed action makes return packets follow the intended private hybrid route; NAT internet egress cannot substitute for a routable customer network attachment, supporting correct workload-side return path to on premises but leaving withdrawal of invalid customer routes unmet.

C:

This approach lists reachability explicitly when dynamic routing is not used; dynamic BGP route learning would require a compatible customer gateway and VPN configuration, which helps with static hybrid prefix coverage instead of delivering withdrawal of invalid customer routes.

D:

This alternative aligns hybrid routing tables with the changed workload address plan; changing only AWS-side routes leaves on-premises devices unaware of the migration, so it addresses end-to-end reachability after VPC renumbering rather than the required withdrawal of invalid customer routes.

Question 352

A large AWS Organization needs centrally inspected internet egress from its workload VPCs and must eliminate the single-AZ NAT dependency in that central design. Which architectural changes satisfy the goals? Choose TWO.

  1. Deploy an AZ-local NAT gateway in each zone and route private subnets accordingly
  2. Omit broad internet default routes and provision approved private VPC endpoints
  3. Point application clients to the explicit proxy and restrict direct egress routes or security rules
  4. Route approved egress through Transit Gateway to the centralized inspection and NAT path
  5. Put DNS filtering and network traffic inspection at their appropriate control points

Explanation

Correct Answers

A:

This component preserves zone-local IPv4 source translation and improves fault isolation; one NAT in a different zone concentrates both outage and cross-zone dependency, contributing resilient zonal outbound IPv4 access to the combined requirement for controlled internet egress from multiple VPCs and resilient zonal outbound IPv4 access.

D:

This component consolidates outbound forwarding through a governed security choke point; independent NAT gateways in spokes would bypass the central inspection path, contributing controlled internet egress from multiple VPCs to the combined requirement for controlled internet egress from multiple VPCs and resilient zonal outbound IPv4 access.

Incorrect Answers

B:

Although this setting exposes specific AWS service destinations without opening general egress, an internet gateway with permissive routes would create a broader network path; this concerns service-specific private outbound connectivity, not the specified controlled internet egress from multiple VPCs and resilient zonal outbound IPv4 access.

C:

The proposed action makes proxy policy the approved path for application web requests; a NAT gateway translates addresses but cannot enforce enterprise proxy authentication, supporting authenticated policy-enforced web egress but leaving controlled internet egress from multiple VPCs and resilient zonal outbound IPv4 access unmet.

E:

This alternative uses resolver domain controls and a routed firewall for separate egress risks; blocking DNS alone may be bypassed by clients using direct IP destinations or other resolvers, so it addresses layered outbound destination restriction rather than the required controlled internet egress from multiple VPCs and resilient zonal outbound IPv4 access.

Question 353

A financial service wants the strongest practical Direct Connect location diversity for business-critical hybrid traffic. What is the best next configuration decision?

  1. Use diverse customer routers and independent connectivity paths where possible
  2. Use redundant Direct Connect connections across multiple DX locations
  3. Design supported equal-cost multipath routing on the relevant transit service
  4. Configure a supported Direct Connect link aggregation group

Explanation

Correct Answer

B:

This configuration diversifies the physical entry facilities used for private connectivity; multiple ports only within one facility leave location-wide incidents correlated, so it delivers resilience against a Direct Connect location outage under the stated constraints.

Incorrect Answers

A:

This approach removes common failure dependencies from hybrid physical connectivity; multiplying logical VIFs on one router does not fix that router's failure domain, which helps with physically independent Direct Connect resilience instead of delivering resilience against a Direct Connect location outage.

C:

Although this setting allows eligible equal-cost routes to share traffic over supported attachments, per-flow distribution is not the same as packet-by-packet balancing; this concerns bandwidth sharing among equivalent hybrid paths, not the specified resilience against a Direct Connect location outage.

D:

The proposed action aggregates compatible dedicated connections at the Ethernet link layer; member compatibility and location requirements still apply to the aggregate, supporting LAG-based capacity and operational grouping but leaving resilience against a Direct Connect location outage unmet.

Question 354

A security team must notify on a Route 53 Resolver DNS Firewall rule blocking a sensitive destination. What is the most suitable design or configuration?

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

Explanation

Correct Answer

A:

This configuration converts DNS filtering events into a monitored security signal; a public hosted-zone health check does not see VPC resolver policy decisions, so it delivers detectable policy-enforced DNS blocks under the stated constraints.

Incorrect Answers

B:

This approach evaluates abnormal inspection signals against justified thresholds; storing raw logs without a metric and alarm does not produce an immediate notification, which helps with timely notice of traffic-filtering anomalies instead of delivering detectable policy-enforced DNS blocks.

C:

This alternative groups traffic metadata by addresses, ports, action and time; CloudTrail event history lacks the packet-level connection counts needed here, so it addresses quantitative analysis of suspicious network flows rather than the required detectable policy-enforced DNS blocks.

D:

Although this setting compares traffic volume trends with policy enforcement evidence, one graph of aggregate bytes cannot show whether suspicious flows were denied; this concerns multi-source explanation for network exfiltration indicators, not the specified detectable policy-enforced DNS blocks.

Question 355

A provider wants to serve a TCP application privately to customer VPCs without allowing full VPC routes. Which action provides the required behavior?

  1. Restrict allowed service principals and require endpoint connection acceptance
  2. Add an IPv4 default route to an attached internet gateway in the public subnet
  3. Configure verified private DNS for the service and enable the consumer endpoint setting
  4. Modify the interface endpoint security group to allow the client connections
  5. Establish a VPC peering connection instead of publishing an endpoint service
  6. Create a PrivateLink endpoint service backed by an NLB

Explanation

Correct Answer

F:

This configuration exposes the selected application privately through interface endpoints; consumer endpoints require permitted service principals or acceptance according to policy, so it delivers narrow cross-VPC application access under the stated constraints.

Incorrect Answers

A:

Although this setting controls who can request and receive a functioning endpoint-service connection, network routing alone cannot enforce the service provider's attachment approval workflow; this concerns provider-approved PrivateLink access, not the specified narrow cross-VPC application access.

B:

The proposed action provides the gateway next hop for public internet routes; public addressing and security rules are also required for the connection to succeed, supporting internet reachability for public-addressed EC2 instances but leaving narrow cross-VPC application access unmet.

C:

This approach maps the published service DNS name to endpoint IPs when the VPC resolver is used; the provider must verify domain ownership before the custom private DNS name is active, which helps with transparent private service hostname resolution instead of delivering narrow cross-VPC application access.

D:

This alternative permits traffic to reach the private endpoint interface addresses; an endpoint can be active while its ENI security groups reject packets, so it addresses security-group-authorized PrivateLink client access rather than the required narrow cross-VPC application access.

E:

Although this setting creates direct private routing between two VPC address spaces rather than publishing one TCP service, VPC peering cannot join networks with overlapping address ranges; this concerns broad bidirectional VPC routing for nonoverlapping networks, not the specified narrow cross-VPC application access.

Question 356

An enterprise wants to define expected hybrid latency before it begins a data center migration. Which change is the most appropriate?

  1. Enable AWS Network Firewall logging and supported monitoring metrics
  2. Capture time-series CloudWatch metrics and scheduled active network measurements
  3. Examine Transit Gateway metrics such as packet drop counters
  4. Monitor Site-to-Site VPN TunnelState and related metrics

Explanation

Correct Answer

B:

This configuration establishes normal performance ranges for later regression comparisons; a one-time route-table export does not measure time-varying network behavior, so it delivers baseline throughput and latency during healthy operations under the stated constraints.

Incorrect Answers

A:

This alternative emits traffic inspection and alert information from firewall processing; VPC Flow Logs cannot expose the complete rule context of a stateful firewall, so it addresses visibility into inspected flow decisions rather than the required baseline throughput and latency during healthy operations.

C:

The proposed action tracks traffic and drop behavior at the gateway service; DNS query logs cannot measure packet loss at a transit attachment, supporting quantitative transit-path troubleshooting but leaving baseline throughput and latency during healthy operations unmet.

D:

This approach reports AWS-side tunnel condition over time for alerting; an ELB target-health metric tracks application targets rather than IPsec tunnels, which helps with evidence of VPN tunnel reliability instead of delivering baseline throughput and latency during healthy operations.

Question 357

An enterprise wants centralized IP range governance across many accounts to prevent new overlap. Which action directly resolves the stated problem?

  1. Add enough subnet IP capacity in each failover AZ
  2. Choose subnet CIDR sizes based on maximum concurrent interface consumption
  3. Use Amazon VPC IP Address Manager pools and allocations
  4. Add a compatible secondary VPC IPv4 CIDR and create new subnets

Explanation

Correct Answer

C:

The approach tracks and governs CIDR space across VPCs and accounts; ad hoc spreadsheet assignments alone do not enforce allocations through AWS provisioning, directly enabling controlled organization-scale address allocation in this situation.

Incorrect Answers

A:

This approach reserves launch and endpoint addresses for zonal recovery events; aggregate VPC-wide free addresses are not enough if the target AZ subnet is depleted, which helps with survivable scale-out during AZ failure instead of delivering controlled organization-scale address allocation.

B:

This alternative reserves usable IP capacity for expected high-water demand; the reserved IPv4 addresses must be excluded when calculating usable capacity, so it addresses sufficient address pool for burst scaling rather than the required controlled organization-scale address allocation.

D:

The proposed action expands IP ranges available to the same VPC; existing subnet CIDRs cannot be resized in place by simply associating new space, supporting growth without immediate full VPC replacement but leaving controlled organization-scale address allocation unmet.

Question 358

An MSP wants to insert SD-WAN appliances into a VPC while preserving their routing exchange with centralized AWS networks. How should this network requirement be implemented?

  1. Use Transit Gateway Connect and Connect peers
  2. Encapsulate branch traffic in IPsec VPN tunnels
  3. Peer the virtual routers with Transit Gateway Connect using BGP
  4. Use Generic Routing Encapsulation between compatible network devices

Explanation

Correct Answer

C:

This configuration allows the appliance to advertise and learn supported network routes over GRE peers; an ALB does not exchange overlay routing control-plane updates, so it delivers routed integration of SD-WAN appliances under the stated constraints.

Incorrect Answers

A:

The proposed action transports GRE overlay traffic and exchanges routes over BGP with compatible appliances; a simple VPC attachment alone does not establish GRE Connect peers, supporting native transit attachment for SD-WAN overlays but leaving routed integration of SD-WAN appliances unmet.

B:

This approach adds IP-layer encryption and peer authentication across the intervening network; GRE alone provides encapsulation without confidentiality, which helps with encrypted overlay communications instead of delivering routed integration of SD-WAN appliances.

D:

Although this setting wraps IP traffic inside GRE for overlay forwarding, IPsec provides cryptographic protections but is not the same as a plain GRE transport; this concerns protocol encapsulation for an overlay tunnel, not the specified routed integration of SD-WAN appliances.

Question 359

A workload must survive a single Availability Zone loss and continue serving traffic on other instances. Which change is the most appropriate?

  1. Distribute instances and load-balancer targets across multiple Availability Zones
  2. Route IPv4 internet-bound traffic through a NAT gateway in a public subnet
  3. Route IPv6 default traffic to an egress-only internet gateway
  4. Add capacity in additional suitable subnets or create expanded address ranges

Explanation

Correct Answer

A:

The approach separates compute and load-balancing capacity from one AZ failure domain; multiple subnets all in one AZ would not provide an independent zone, directly enabling zonal fault isolation for regional workloads in this situation.

Incorrect Answers

B:

The proposed action provides source-translated outbound IPv4 access for private workloads; a route to an internet gateway alone does not make a private-addressed instance publicly reachable, supporting outbound-only IPv4 internet access for private instances but leaving zonal fault isolation for regional workloads unmet.

C:

This approach permits initiated outbound IPv6 flows while blocking new internet-originated flows; ordinary NAT gateways are chiefly an IPv4 translation pattern, which helps with outbound-only IPv6 connectivity instead of delivering zonal fault isolation for regional workloads.

D:

This alternative provides more allocatable IP addresses for new workload interfaces; increasing desired capacity without available addresses cannot place instances, so it addresses available subnet addressing for scale-out rather than the required zonal fault isolation for regional workloads.

Question 360

A security architect wants a third-party SaaS app to be reachable without exposing its whole VPC CIDR to the customer's network. Which AWS networking approach meets this constraint?

  1. Place the instances in private subnets without an IGW route and supply only approved endpoints
  2. Use PrivateLink endpoint services instead of full peering
  3. Introduce a routed inspection VPC with Transit Gateway and stateful firewall insertion
  4. Use separate Transit Gateway route tables with selective shared-services propagation
  5. Separate network administrative IAM roles from application deployment IAM roles

Explanation

Correct Answer

B:

With this choice, the selected action narrows private connectivity to specific approved services; peering makes a broader routed network available subject to downstream controls, providing service-only isolation between provider and consumer for the network described.

Incorrect Answers

A:

This alternative avoids direct inbound and outbound public paths through the subnet routing design; a public IP association alone does not override an absent internet gateway route, so it addresses isolated workload network placement rather than the required service-only isolation between provider and consumer.

C:

The proposed action steers inter-VPC traffic through approved inspection before delivery; security groups on each workload do not provide central packet inspection visibility, supporting enforced cross-VPC inspection and segmentation but leaving service-only isolation between provider and consumer unmet.

D:

This approach limits transitive reachability according to the entering attachment's routing domain; all-spoke propagation into one table would expose paths not needed by developers, which helps with environment-isolated shared-network transit instead of delivering service-only isolation between provider and consumer.

E:

This alternative constrains control-plane authority over shared network resources; subnet participation does not imply permission to rewrite central routes, so it addresses least-privilege tenant administration in shared networks rather than the required service-only isolation between provider and consumer.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests