Question 100

Two Transit Gateways in separate Regions need private backbone communication between their VPC attachments. What should the network specialist configure?

  1. Configure inter-Region VPC peering and appropriate VPC routes
  2. Design an AWS Cloud WAN core network with segments and attachments
  3. Connect a transit VIF to a Direct Connect gateway associated with supported regional Transit Gateways
  4. Create explicit direct peering or a supported transit architecture for the required pair
  5. Create Transit Gateway peering and add static routes for the peering attachment

Explanation

Correct Answer

E:

The approach joins two regional transit hubs using AWS backbone transport; peering does not automatically propagate routes between gateways, directly enabling inter-Region transit routing in this situation.

Incorrect Answers

A:

This alternative connects nonoverlapping VPC CIDRs over AWS networking across Regions; inter-Region peering is nontransitive like in-Region peering, so it addresses direct cross-Region private VPC routing rather than the required inter-Region transit routing.

B:

Although this setting uses centrally declared network policies for global VPC and branch connectivity, cloud WAN's attachment and segment semantics differ from standalone VPC peering; this concerns policy-governed international network segmentation, not the specified inter-Region transit routing.

C:

The proposed action extends consolidated hybrid reachability through DX gateway associations; distinct Transit Gateway ASNs and allowed-prefix configuration must be considered, supporting multiple-region hub connectivity through one physical entry but leaving inter-Region transit routing unmet.

D:

This approach compensates for the nontransitive nature of VPC peering; adding an extra route to an intermediate peer does not grant transit forwarding, which helps with explicit routable paths between cross-Region network pairs instead of delivering inter-Region transit routing.

Question 101

A Route 53 Resolver outbound endpoint successfully forwards small UDP DNS queries to on-premises resolvers. Larger responses set the truncation flag, and retries that require TCP/53 time out at the endpoint's security group. What change should the operator make?

  1. Allow the required outbound and return DNS transport flows over TCP port 53 between the Resolver endpoint and approved DNS servers
  2. Disable all DNS forwarding rules and publish the full corporate zone as a public Route 53 hosted zone
  3. Increase the VPC DNS query-log retention to 365 days
  4. Create a gateway endpoint for Amazon S3 in the endpoint's subnet

Explanation

Correct Answer

A:

DNS may fall back to TCP when UDP responses are truncated or when a response requires TCP transport. Network controls for the outbound Resolver endpoint must allow both protocols when the DNS servers and workloads rely on this fallback.

Incorrect Answers

B:

Replacing internal corporate forwarding with a public zone changes the intended private namespace and does not repair blocked TCP DNS transport on the configured hybrid link.

C:

Logging retention affects historical investigations, not whether a TCP connection to the corporate resolver is permitted. It cannot unblock transport for truncated replies.

D:

An S3 gateway endpoint modifies access routes to S3 and has no role in the TCP/53 communication between Route 53 Resolver and private DNS servers.

Question 102

An appliance registered to GWLB fails a health check despite processing some traffic and users are routed away. What is the most suitable design or configuration?

  1. Enable TGW appliance mode for the firewall attachment
  2. Correct the appliance health-check response and target-group settings
  3. Configure compatible GWLB flow stickiness and symmetric routing
  4. Use Gateway Load Balancer endpoint services with consumer endpoints

Explanation

Correct Answer

B:

With this choice, the selected action determines whether GWLB continues forwarding to an inspection target; merely scaling instance count will not fix health checks pointing to the wrong port, providing healthy-appliance registration for transparent inspection for the network described.

Incorrect Answers

A:

The proposed action preserves compatible AZ selection for a flow passing through an inspection VPC; GWLB appliance health awareness does not automatically configure TGW AZ affinity, supporting zone-consistent stateful traffic processing but leaving healthy-appliance registration for transparent inspection unmet.

C:

This alternative maintains consistent flow-to-appliance steering under the selected stickiness setting; different appliances cannot reliably share unreplicated per-flow state, so it addresses correct stateful session inspection across the appliance fleet rather than the required healthy-appliance registration for transparent inspection.

D:

Although this setting attaches private traffic-insertion endpoints to GWLB-backed inspection capacity, conventional PrivateLink interface endpoints are not transparent GWLB route targets; this concerns private shared-appliance service insertion, not the specified healthy-appliance registration for transparent inspection.

Question 103

A regulated network needs evidence of how a subnet NACL changed over time. Which action directly resolves the stated problem?

  1. Use an AWS Config managed or custom rule evaluating the relevant SG rules
  2. Deploy AWS Config conformance packs with suitable account or organization targets
  3. Use Config evaluation events with EventBridge-driven notification or remediation
  4. Record the supported NACL resource types with AWS Config configuration history

Explanation

Correct Answer

D:

With this choice, the selected action tracks resource configuration states and change relationships; CloudTrail helps show who invoked API calls but not every consolidated configuration snapshot, providing historical audit of subnet boundary policy changes for the network described.

Incorrect Answers

A:

Although this setting checks recorded security-group configuration for a defined compliance condition, a CloudWatch CPU alarm cannot assess IAM or security-group policy semantics; this concerns automatic identification of risky admin port exposure, not the specified historical audit of subnet boundary policy changes.

B:

The proposed action groups compliance rule checks into consistent policy baselines; an individual ad hoc query does not deploy the set of ongoing evaluations, supporting reusable multi-account network compliance assessment but leaving historical audit of subnet boundary policy changes unmet.

C:

This approach responds to detected noncompliant resource configuration; a VPC flow log event is not a direct declaration that resource configuration violates a policy, which helps with automated handling of disallowed internet exposure instead of delivering historical audit of subnet boundary policy changes.

Question 104

A security team already records all VPC subnet ACL configurations with AWS Config. It now needs an alert within minutes when an ACL is changed to allow inbound traffic from 0.0.0.0/0 on TCP 22. Which approach provides event-driven notification instead of waiting for the next compliance evaluation?

  1. Reduce the subnet's VPC Flow Logs aggregation interval to one minute
  2. Match the relevant EC2 network ACL change API calls in EventBridge and publish an alert through an SNS target
  3. Enable connection tracking on the network ACL and alarm on its state
  4. Add a Route 53 Resolver query-log subscription for the subnet

Explanation

Correct Answer

B:

CloudTrail captures the EC2 management API event, and EventBridge rules can match that event pattern for near-real-time notification. The team can notify an SNS topic without depending on a periodic AWS Config evaluation cycle.

Incorrect Answers

A:

Flow Logs record connection-level data-plane events, not EC2 network ACL configuration API activity. Shorter aggregation does not identify which administrator changed an ACL or create a configuration alert.

C:

Network ACLs are stateless; they do not offer per-connection tracking or a connection-tracking status metric. The proposed control cannot observe edits to individual numbered ACL entries.

D:

Resolver query logs describe DNS requests from associated VPC resources. Changing a subnet ACL is a management-plane operation and does not produce a DNS lookup record for the modified entry.

Question 105

A test service needs a load balancer to send requests to an on-premises private server reachable over a hybrid link. What is the most suitable design or configuration?

  1. Register supported private IP addresses in an IP-type target group
  2. Change the target group's health-check path and success matcher
  3. Use an IP-type target group with the task IPs
  4. Attach the load balancer target group to the Auto Scaling group
  5. Tune target-group deregistration delay and drain before terminating capacity

Explanation

Correct Answer

A:

This configuration allows appropriate load balancers to use reachable private IP targets beyond an instance-ID inventory; a public internet IP is not a valid substitute for private target registration in this pattern, so it delivers hybrid private-address backend targets under the stated constraints.

Incorrect Answers

B:

This alternative sends HTTP or HTTPS readiness probes to the intended application endpoint; a TCP handshake alone cannot prove route-level application readiness, so it addresses application-specific health status for load balancing rather than the required hybrid private-address backend targets.

C:

Although this setting registers destinations using IP address and port, an instance-type group targets instances rather than these workload IP destinations; this concerns registration of independently addressable container tasks, not the specified hybrid private-address backend targets.

D:

The proposed action integrates target registration and deregistration with instance lifecycle; scaling policies alone do not update an unrelated manually maintained group, supporting automatic target membership as capacity changes but leaving hybrid private-address backend targets unmet.

E:

This approach allows load-balancer connection draining during target removal; immediately killing the instance defeats the drain interval, which helps with graceful exit for targets holding active requests instead of delivering hybrid private-address backend targets.

Question 106

An egress firewall uses URL categorization while other teams rely on DNS Firewall for blocked domains. What is the best next configuration decision?

  1. Route approved egress through Transit Gateway to the centralized inspection and NAT path
  2. Point application clients to the explicit proxy and restrict direct egress routes or security rules
  3. Omit broad internet default routes and provision approved private VPC endpoints
  4. Put DNS filtering and network traffic inspection at their appropriate control points

Explanation

Correct Answer

D:

With this choice, the selected action 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, providing layered outbound destination restriction for the network described.

Incorrect Answers

A:

The proposed action consolidates outbound forwarding through a governed security choke point; independent NAT gateways in spokes would bypass the central inspection path, supporting controlled internet egress from multiple VPCs but leaving layered outbound destination restriction unmet.

B:

This approach makes proxy policy the approved path for application web requests; a NAT gateway translates addresses but cannot enforce enterprise proxy authentication, which helps with authenticated policy-enforced web egress instead of delivering layered outbound destination restriction.

C:

This alternative exposes specific AWS service destinations without opening general egress; an internet gateway with permissive routes would create a broader network path, so it addresses service-specific private outbound connectivity rather than the required layered outbound destination restriction.

Question 107

A CloudFront viewer reports a cache miss for a frequently requested object and the performance team wants evidence. What should the network specialist configure?

  1. Inspect the Route 53 health check result and target or alarm condition
  2. Inspect CloudFront access logs or real-time logs and result types
  3. Analyze ALB access logs including target status and processing information
  4. Enable appropriate NLB TLS access logging where supported

Explanation

Correct Answer

B:

This configuration shows edge request handling and cache result information; direct EC2 host logs omit requests satisfied entirely at the CDN, so it delivers identifying caching and origin-fetch behavior under the stated constraints.

Incorrect Answers

A:

Although this setting establishes which configured health evidence caused primary DNS selection to fail, server power state is not equivalent to the configured application's health signal; this concerns root cause of unexpected DNS failover, not the specified identifying caching and origin-fetch behavior.

C:

This approach records request and target-response context from HTTP ingress; VPC Flow Logs cannot decode response status and request URL, which helps with distinguishing load-balancer errors from target failures instead of delivering identifying caching and origin-fetch behavior.

D:

This alternative records connection-level TLS listener metadata for analysis; an ordinary HTTP ALB access-log schema is not the same as NLB TLS logs, so it addresses NLB TLS session audit data rather than the required identifying caching and origin-fetch behavior.

Question 108

A workload in one account cannot connect to a third-party PrivateLink service because the interface endpoint ENIs block TCP 443. What is the most suitable design or configuration?

  1. Establish a VPC peering connection instead of publishing an endpoint service
  2. Modify the interface endpoint security group to allow the client connections
  3. Configure verified private DNS for the service and enable the consumer endpoint setting
  4. Restrict allowed service principals and require endpoint connection acceptance

Explanation

Correct Answer

B:

With this choice, the selected action permits traffic to reach the private endpoint interface addresses; an endpoint can be active while its ENI security groups reject packets, providing security-group-authorized PrivateLink client access for the network described.

Incorrect Answers

A:

This alternative creates direct private routing between two VPC address spaces rather than publishing one TCP service; VPC peering cannot join networks with overlapping address ranges, so it addresses broad bidirectional VPC routing for nonoverlapping networks rather than the required security-group-authorized PrivateLink client access.

C:

The proposed action 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, supporting transparent private service hostname resolution but leaving security-group-authorized PrivateLink client access unmet.

D:

This approach controls who can request and receive a functioning endpoint-service connection; network routing alone cannot enforce the service provider's attachment approval workflow, which helps with provider-approved PrivateLink access instead of delivering security-group-authorized PrivateLink client access.

Question 109

A private VIF has been created but no network routes are exchanged with the customer router. Which change is the most appropriate?

  1. Configure the customer BGP peer ASN, peering addresses, VLAN, and session settings correctly
  2. Configure the public VIF with appropriate publicly routable prefixes and BGP requirements
  3. Provision a transit VIF connected to a Direct Connect gateway
  4. Configure allowed prefixes on the Direct Connect gateway association

Explanation

Correct Answer

A:

With this choice, the selected action establishes the BGP adjacency required to exchange reachable private prefixes; a physical up state does not establish BGP neighbors automatically, providing active layer-three routing across the private VIF for the network described.

Incorrect Answers

B:

This alternative exchanges AWS public endpoint reachability over the public peering session; public peering has separate addressing and advertisement rules from private VIF routing, so it addresses valid public VIF route advertisements rather than the required active layer-three routing across the private VIF.

C:

Although this setting provides the VIF type supported for DX gateway-to-TGW route exchange, the transit VIF and TGW-DX gateway association form the supported attachment path; this concerns correct interface type for transit gateway connectivity, not the specified active layer-three routing across the private VIF.

D:

The proposed action controls the AWS-side prefixes permitted for advertisement toward on-premises peers; TGW route tables still control packet forwarding independently of allowed prefix lists, supporting controlled hybrid prefix advertisement but leaving active layer-three routing across the private VIF unmet.

Question 110

Security investigators need confidence that archived CloudTrail logs were not silently altered. How should this network requirement be implemented?

  1. Match relevant CloudTrail events with EventBridge and send notifications
  2. Enable CloudTrail log file integrity validation and protect the archive
  3. Search CloudTrail management events for the corresponding route-table API operation
  4. Configure an organization trail with central delivery and appropriate event coverage
  5. Inspect CloudTrail user identity and request details for the delete event

Explanation

Correct Answer

B:

This configuration supports detecting tampering with delivered log file digests; encryption at rest alone does not prove the historical log sequence was unchanged, so it delivers integrity-verifiable network audit history under the stated constraints.

Incorrect Answers

A:

The proposed action converts control-plane audit events into automated responses; manually reviewing monthly log archives would not meet response-time requirements, supporting prompt detection of forbidden route modifications but leaving integrity-verifiable network audit history unmet.

C:

This alternative records principal, time and API request metadata for supported networking changes; VPC Flow Logs show packet behavior rather than resource-modification principals, so it addresses attribution of unauthorized network control-plane activity rather than the required integrity-verifiable network audit history.

D:

Although this setting collects management events across included accounts under centralized governance, configuring an individual trail in a single account leaves coverage gaps; this concerns organization-wide configuration change evidence, not the specified integrity-verifiable network audit history.

E:

The proposed action identifies the credential context used for the control-plane action; packet mirror traces cannot establish IAM API identity, supporting accountable origin of a network policy deletion but leaving integrity-verifiable network audit history unmet.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests