Question 530

A network inventory job must list route tables and connections across several accounts without manual console exports. What is the best next configuration decision?

  1. Implement explicit error handling and compensation in the automation workflow
  2. Make the resource automation idempotent with discovery before create operations
  3. Ensure CloudTrail management events are recorded and retained
  4. Use AWS SDK or CLI Describe and List APIs with assumed account roles
  5. Query the relevant route tables through EC2 or Transit Gateway APIs

Explanation

Correct Answer

D:

The approach queries networking resource metadata through authorized API calls; console screenshots are not structured or repeatable inventory feeds, directly enabling automated cross-account network inventory in this situation.

Incorrect Answers

A:

Although this setting prevents incomplete sequences from continuing silently across environments, success messages alone cannot guarantee all dependent resources were updated; this concerns fail-safe orchestration of network API changes, not the specified automated cross-account network inventory.

B:

The proposed action reconciles desired configuration without repeatedly creating duplicate resources; blind create calls can generate unnecessary objects on retries, supporting repeatable safe network API automation but leaving automated cross-account network inventory unmet.

C:

This approach audits API activity that mutates control-plane network configurations; VPC Flow Logs capture traffic metadata rather than who invoked the route API, which helps with attribution of networking configuration changes instead of delivering automated cross-account network inventory.

E:

Although this setting retrieves configured route entries for a testable deployment assertion, a ping test cannot reliably expose which route entry matched; this concerns machine-checkable routing-state verification, not the specified automated cross-account network inventory.

Question 531

A provider must distinguish customer-owned prefixes without creating thousands of host-specific BGP routes. Which option should the architect select?

  1. Use routing policy to prefer one BGP path while retaining a valid alternate
  2. Use dynamic BGP reachability across the hybrid connection
  3. Advertise suitable summarized CIDR prefixes over BGP
  4. Prepend the on-premises ASN on the less-preferred BGP advertisement where applicable

Explanation

Correct Answer

C:

The approach aggregates adjacent networks into fewer routing announcements; summaries must not accidentally include unreachable networks or overlapping ownership, directly enabling scalable dynamic prefix advertising in this situation.

Incorrect Answers

A:

This alternative influences BGP path selection without removing the standby advertisement; simply deleting the backup route would prevent automatic rerouting, so it addresses active-passive hybrid routing rather than the required scalable dynamic prefix advertising.

B:

Although this setting withdraws routes learned from peers when routing sessions fail, static next hops cannot infer the same route withdrawal from a BGP session loss; this concerns control-plane-driven hybrid failover, not the specified scalable dynamic prefix advertising.

D:

This approach lengthens the AS_PATH attribute seen by peers for route choice; AWS route priorities and local connection details can affect the complete decision, which helps with inbound path preference toward the shorter advertised AS path instead of delivering scalable dynamic prefix advertising.

Question 532

A telemetry application uses unicast but recipients require individualized personalized payloads. What is the best next configuration decision?

  1. Place cacheable delivery behind CloudFront
  2. Use Transit Gateway multicast where supported and correctly configure membership
  3. Register compatible multicast sources and members against the TGW multicast domain
  4. Keep targeted unicast transport to the distinct destinations

Explanation

Correct Answer

D:

With this choice, the selected action sends separate messages when every receiver has different data; multicast replication is valuable only when multiple receivers should get the same content, providing recipient-specific delivery semantics for the network described.

Incorrect Answers

A:

This approach serves repeated HTTP objects from edge caches rather than repeatedly fetching the origin; raw IP multicast is not a supported replacement for public web CDN distribution, which helps with efficient one-to-many HTTP content delivery instead of delivering recipient-specific delivery semantics.

B:

This alternative replicates multicast group traffic to registered receivers through supported transit multicast domains; ordinary VPC unicast does not automatically replicate to an IP multicast group, so it addresses one-to-many multicast stream delivery rather than the required recipient-specific delivery semantics.

C:

Although this setting establishes the designated sender and receiver bindings, receivers must join or be registered under the selected multicast model; this concerns functioning group-delivery distribution, not the specified recipient-specific delivery semantics.

Question 533

A network architect needs to reduce the blast radius of compromised VPN key material during ongoing branch connectivity. Which solution best addresses these network requirements?

  1. Manage strong VPN pre-shared keys and secure tunnel settings for customer gateways
  2. Configure compatible IKEv2 on both VPN peers
  3. Rotate IPsec tunnel credentials under a coordinated, redundant tunnel procedure
  4. Deploy an appropriate VPN over Direct Connect architecture where supported

Explanation

Correct Answer

C:

With this choice, the selected action changes the authentication secret while preserving a managed cutover path; abrupt unsynchronized changes may take down both tunnels at once, providing controlled IPsec key lifecycle management for the network described.

Incorrect Answers

A:

The proposed action authenticates the negotiating IPsec peer using agreed credentials; BGP next-hop attributes are not an IPsec peer authentication mechanism, supporting trustworthy site-to-site tunnel establishment but leaving controlled IPsec key lifecycle management unmet.

B:

This approach establishes an approved newer IKE negotiation protocol for IPsec; a matching route prefix cannot overcome an IKE version mismatch, which helps with policy-compliant VPN control-plane cryptography instead of delivering controlled IPsec key lifecycle management.

D:

Although this setting carries IPsec-protected sessions on top of the dedicated network connectivity, private routing and traffic confidentiality are separate properties; this concerns encryption in addition to private hybrid transport, not the specified controlled IPsec key lifecycle management.

Question 534

Traffic from application VPCs must traverse a central stateful firewall VPC attached to TGW before reaching shared services. Which option should the architect select?

  1. Deploy AWS Network Firewall endpoints and steer subnet routes through them
  2. Turn on TGW appliance mode on the inspection VPC attachment
  3. Correct the return route so both sides use the same stateful inspection chain
  4. Insert the inspection attachment into TGW route tables and return subnet routes
  5. Deploy Gateway Load Balancer and endpoint service routing

Explanation

Correct Answer

D:

With this choice, the selected action makes the central appliance a required hop for both directions of permitted flows; an attached firewall without appropriate transit route steering sees no packets, providing routed inline inspection between spokes for the network described.

Incorrect Answers

A:

This alternative inspects stateful traffic according to configured rule groups; endpoint deployment alone does not redirect workload routing, so it addresses managed policy-based network filtering at a central hop rather than the required routed inline inspection between spokes.

B:

Although this setting maintains flow-consistent AZ selection for the inspection path, security-group changes do not fix reverse-flow placement within a stateful fleet; this concerns stateful firewall session symmetry across AZs, not the specified routed inline inspection between spokes.

C:

The proposed action ensures state tracking sees both directions of the session; policy correctness alone cannot repair asymmetric data-plane forwarding, supporting symmetric routed firewall traversal but leaving routed inline inspection between spokes unmet.

E:

This alternative supplies GENEVE-based traffic distribution to supported appliances; a conventional NLB does not implement the same service-insertion endpoint path, so it addresses scaled transparent inspection with third-party devices rather than the required routed inline inspection between spokes.

Question 535

A transit VPC receives customer prefixes over BGP yet its application subnet forwards replies to a NAT gateway. Which action directly resolves the stated problem?

  1. Change the workload subnet route to send the customer CIDRs to the transit gateway
  2. Add the correct static routes to the Site-to-Site VPN configuration and associated route tables
  3. Add or propagate a route for 172.20.0.0/16 to the virtual private gateway
  4. Remove or filter the obsolete BGP announcement on the customer router

Explanation

Correct Answer

A:

The approach makes return packets follow the intended private hybrid route; NAT internet egress cannot substitute for a routable customer network attachment, directly enabling correct workload-side return path to on premises in this situation.

Incorrect Answers

B:

This alternative lists reachability explicitly when dynamic routing is not used; dynamic BGP route learning would require a compatible customer gateway and VPN configuration, so it addresses static hybrid prefix coverage rather than the required correct workload-side return path to on premises.

C:

Although this setting directs VPC traffic for the customer network toward the hybrid termination, VPN negotiation success by itself does not update every VPC subnet route table; this concerns outbound VPC routing toward the customer CIDR, not the specified correct workload-side return path to on premises.

D:

The proposed action prevents AWS from learning a route to a nonexistent destination; VPC security groups do not delete advertisements from the external routing control plane, supporting withdrawal of invalid customer routes but leaving correct workload-side return path to on premises unmet.

Question 536

A rapidly growing VPC has free private address space outside the original CIDR but no network block associated with it. Which option should the architect select?

  1. Add a compatible secondary VPC IPv4 CIDR and create new subnets
  2. Use Amazon VPC IP Address Manager pools and allocations
  3. Add enough subnet IP capacity in each failover AZ
  4. Allocate additional appropriately routed subnets with sufficient free IP addresses

Explanation

Correct Answer

A:

This configuration expands IP ranges available to the same VPC; existing subnet CIDRs cannot be resized in place by simply associating new space, so it delivers growth without immediate full VPC replacement under the stated constraints.

Incorrect Answers

B:

This approach tracks and governs CIDR space across VPCs and accounts; ad hoc spreadsheet assignments alone do not enforce allocations through AWS provisioning, which helps with controlled organization-scale address allocation instead of delivering growth without immediate full VPC replacement.

C:

This alternative reserves launch and endpoint addresses for zonal recovery events; aggregate VPC-wide free addresses are not enough if the target AZ subnet is depleted, so it addresses survivable scale-out during AZ failure rather than the required growth without immediate full VPC replacement.

D:

Although this setting expands available VPC subnet address capacity for new task ENIs, raising the task count cannot allocate addresses from an exhausted subnet; this concerns IP headroom for container autoscaling, not the specified growth without immediate full VPC replacement.

Question 537

A site operator wants automatic failover DNS when a primary HTTPS endpoint returns error content. What is the most suitable design or configuration?

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

Explanation

Correct Answer

A:

With this choice, the selected action uses observed application health to decide whether primary DNS responses should be served; ordinary weighted routing is not inherently primary-secondary failover, providing endpoint-aware authoritative DNS failover for the network described.

Incorrect Answers

B:

The proposed action supplies an answer for unmatched geographic source queries; unmatched locations can otherwise have no suitable geolocation record answer, supporting reliable geo-based DNS response completion but leaving endpoint-aware authoritative DNS failover unmet.

C:

This approach records supported VPC resolver queries for subsequent analysis; Route 53 public hosted-zone logs only show authoritative DNS queries that reach that zone, which helps with VPC-originated DNS query audit records instead of delivering endpoint-aware authoritative DNS failover.

D:

This alternative dispatches only matching DNS names to designated remote resolver targets; forwarding the root domain may unnecessarily route unrelated internet lookups to corporate servers, so it addresses selective hybrid DNS forwarding scope rather than the required endpoint-aware authoritative DNS failover.

Question 538

A customer will use one Direct Connect connection to reach private IPs in its VPC and public AWS service endpoints over the dedicated path. Which VIF types are needed? Choose TWO.

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

Explanation

Correct Answers

A:

This component exchanges private routing for VPC connectivity over Direct Connect; a public VIF is aimed at public AWS service prefixes instead, contributing private VPC routing on a dedicated connection to the combined requirement for private VPC routing on a dedicated connection and dedicated-path access to AWS public IP services.

B:

This component reaches AWS public service endpoints using public-address BGP advertisements; a private VIF provides private VPC reachability, not general public endpoint access, contributing dedicated-path access to AWS public IP services to the combined requirement for private VPC routing on a dedicated connection and dedicated-path access to AWS public IP services.

Incorrect Answers

C:

The proposed action 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, supporting partner-assisted private hybrid connectivity but leaving private VPC routing on a dedicated connection and dedicated-path access to AWS public IP services unmet.

D:

This approach enables private VIF reachability to multiple associated virtual private gateways; a DX gateway distributes routing information rather than serving as a general internet router, which helps with cross-Region private gateway access through DX instead of delivering private VPC routing on a dedicated connection and dedicated-path access to AWS public IP services.

E:

This alternative supplies BGP routing into the transit gateway architecture through a DX gateway; private VIFs attached per-VGW would add repeated VPC-specific connectivity management, so it addresses private connectivity to multiple TGW-attached VPCs rather than the required private VPC routing on a dedicated connection and dedicated-path access to AWS public IP services.

Question 539

A company requires isolated DNS answers for the same name across development and production VPCs. What should the network specialist configure?

  1. Associate the workload VPC with the appropriate private hosted zone
  2. Authorize the VPC association from the zone account and associate it from the VPC account
  3. Apply resource-scope IAM and governance controls to hosted-zone management
  4. Share the appropriate Resolver rule via RAM and associate the recipient VPCs
  5. Create separate private hosted zones and scope their VPC associations

Explanation

Correct Answer

E:

With this choice, the selected action selects different private record sets depending on the VPC resolver context; one shared global private zone would give the same records to all associated VPCs, providing environment-specific split-private DNS answers for the network described.

Incorrect Answers

A:

This approach extends the private authoritative namespace to the new VPC resolver; TGW connectivity between VPCs does not imply shared hosted-zone resolution, which helps with private record visibility for the workload account instead of delivering environment-specific split-private DNS answers.

B:

This alternative completes the cross-account private hosted-zone association procedure; an IAM permission alone does not attach the zone to the receiving resolver context, so it addresses private-zone access across account ownership boundaries rather than the required environment-specific split-private DNS answers.

C:

Although this setting regulates who can change private DNS record sets, VPC association grants resolution, not the authority to edit records; this concerns restricted administrative changes to private DNS, not the specified environment-specific split-private DNS answers.

D:

The proposed action distributes conditional forwarding policy across accounts; zone association serves AWS-hosted private records rather than external DNS forwarding, supporting cross-account use of a central forwarding rule but leaving environment-specific split-private DNS answers unmet.

Question 540

An office sees intermittent VPN outages after a firewall stops responding to dead-peer detection probes. Which action provides the required behavior?

  1. Align DPD behavior and keep the peer reachable under the tunnel configuration
  2. Align IKE proposal algorithms and versions with supported AWS tunnel options
  3. Align phase-two IPsec proposals and relevant perfect-forward-secrecy groups
  4. Use supported link-local tunnel-inside CIDRs according to AWS VPN configuration rules

Explanation

Correct Answer

A:

With this choice, the selected action checks the remote IPsec peer and drives expected reestablishment behavior; DPD tuning cannot overcome permanent loss of the remote internet path, providing stable VPN liveness and recovery for the network described.

Incorrect Answers

B:

This approach ensures both IPsec peers negotiate compatible phase-one security parameters; a VPC route adjustment cannot repair phase-one crypto incompatibility, which helps with successful IKE security-association establishment instead of delivering stable VPN liveness and recovery.

C:

This alternative negotiates compatible ESP and child security association settings; a working initial IKE exchange does not prove phase-two compatibility, so it addresses successful data-plane IPsec tunnel establishment rather than the required stable VPN liveness and recovery.

D:

Although this setting establishes the logical point-to-point addressing used by the tunnel interfaces, reusing conflicting tunnel inside addresses can break router configuration; this concerns valid inside IP addressing for VPN routing, not the specified stable VPN liveness and recovery.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests