Amazon AWS Certified Advanced Networking – Specialty ANS-C01 Practice Test Questions and Exam Dumps Part 17 Q321-340

View Full Amazon AWS Certified Advanced Networking – Specialty ANS-C01 Exam Dumps and Practice Test Dumps

 

Question 321. Which BGP attribute is generally preferred when selecting an outbound path within an autonomous system?

  1. MED
  2. Local preference
  3. AS_PATH length
  4. Origin type

Correct Answer: 2. Local preference

Explanation:

BGP local preference is an important attribute for controlling outbound path selection within an autonomous system. When multiple routes to the same destination are available, a higher local preference is generally preferred. This allows an organization to determine which Direct Connect or VPN path should normally carry outbound traffic toward a remote network. Local preference is distributed within the autonomous system and is therefore useful for applying an organization-wide routing preference. By contrast, AS_PATH length is commonly used to influence path selection between autonomous systems, while MED can communicate a preference for an entry point into a network. Understanding the scope of each BGP attribute is essential when designing hybrid AWS connectivity.

Question 322. An organization has two Direct Connect paths and wants AWS to prefer the path with the shortest AS_PATH. Which BGP characteristic is relevant to this requirement?

  1. AS_PATH length
  2. DNS latency
  3. MED only
  4. Local DNS preference

Correct Answer: 1. AS_PATH length

Explanation:

AS_PATH length is an important factor in BGP route selection. When comparing otherwise suitable routes, a shorter AS_PATH can be preferred over a longer one. Organizations can intentionally manipulate this attribute by using AS_PATH prepending on routes advertised through a less-preferred connection. This is useful when an organization has multiple Direct Connect or VPN paths and wants to influence which path is selected. However, BGP route selection involves multiple attributes and policies, so AS_PATH should not be considered in isolation. DNS configuration does not determine BGP path selection, and local preference and MED serve different purposes within the routing decision process.

Question 323. Which Direct Connect feature can provide multiple virtual interfaces over a single physical Direct Connect connection?

  1. Virtual interfaces
  2. NAT Gateway
  3. Internet Gateway
  4. Route 53 Resolver

Correct Answer: 1. Virtual interfaces

Explanation:

AWS Direct Connect supports virtual interfaces, allowing a single physical Direct Connect connection to support different logical connectivity requirements. Depending on the architecture, customers can configure private virtual interfaces for private AWS resources, public virtual interfaces for public AWS services, and transit virtual interfaces for connectivity through a Direct Connect gateway toward Transit Gateway. These logical interfaces use VLAN tagging and BGP to establish the appropriate connectivity and route exchange. A NAT Gateway provides IPv4 address translation, an Internet Gateway provides internet connectivity, and Route 53 Resolver provides DNS resolution. Virtual interfaces are therefore the Direct Connect feature that enables logical separation of connectivity over a physical connection.

Question 324. What is a key purpose of a Direct Connect gateway in a multi-Region AWS network architecture?

  1. Provide centralized connectivity to supported AWS resources across Regions
  2. Replace all VPC route tables
  3. Provide DNS resolution for EC2 instances
  4. Encrypt HTTP requests

Correct Answer: 1. Provide centralized connectivity to supported AWS resources across Regions

Explanation:

A Direct Connect gateway provides a scalable way to connect a Direct Connect connection to supported AWS resources across multiple Regions. Depending on the architecture, it can be used with private virtual interfaces to reach VPCs or with transit virtual interfaces to connect through a Transit Gateway. This reduces the need to establish separate physical Direct Connect connectivity for every individual VPC or Region. The Direct Connect gateway does not replace VPC route tables, perform general DNS resolution, or provide application-layer encryption. Instead, it acts as a connectivity construct that extends Direct Connect access into broader AWS network architectures while allowing routing to be controlled through the appropriate connected services.

Question 325. A network engineer wants to aggregate two compatible Direct Connect connections into one logical connection. Which protocol is associated with Direct Connect LAG operation?

  1. LACP
  2. BFD
  3. OSPF
  4. GRE

Correct Answer: 1. LACP

Explanation:

Direct Connect Link Aggregation Groups use the Link Aggregation Control Protocol, or LACP, to combine multiple physical Direct Connect connections into a logical link aggregation. LACP allows the participating interfaces to operate as a coordinated group while providing aggregate bandwidth and improved resilience. The connections must meet AWS requirements for participation in a LAG. BFD can be used for fast detection of routing failures in appropriate networking environments, while OSPF is an interior gateway routing protocol and GRE is an encapsulation mechanism. Neither is the protocol responsible for aggregating the physical Direct Connect connections. Therefore, LACP is the correct answer.

Question 326. Which VPN protocol version is supported by AWS Site-to-Site VPN for negotiating secure IPsec tunnel parameters?

  1. IKEv2
  2. FTPv2
  3. HTTP/2
  4. DNSSEC

Correct Answer: 1. IKEv2

Explanation:

AWS Site-to-Site VPN supports Internet Key Exchange version 2, or IKEv2, for negotiating security associations and cryptographic parameters used by IPsec VPN tunnels. IKE is responsible for establishing and maintaining the security negotiation that enables the encrypted IPsec tunnel. IKEv2 provides improvements over older negotiation mechanisms and is widely used in modern VPN deployments. Administrators should ensure that the customer gateway device is configured with compatible encryption, integrity, authentication, and lifetime parameters. FTP, HTTP, and DNSSEC are unrelated to IPsec tunnel negotiation. When troubleshooting a VPN that fails to establish, IKE configuration compatibility is one of the important areas to verify.

Question 327. A company has multiple VPN tunnels and wants to detect tunnel failures quickly so routing can converge faster. Which mechanism can assist with rapid failure detection when supported by the routing design?

  1. BFD
  2. CloudFront caching
  3. S3 lifecycle rules
  4. Route 53 geolocation

Correct Answer: 1. BFD

Explanation:

Bidirectional Forwarding Detection, or BFD, is designed to detect forwarding-path failures rapidly between network devices. In networking environments where it is supported and appropriately configured, BFD can provide faster failure detection than waiting for longer routing-protocol timers to expire. This can help routing systems converge more quickly after a path failure. BFD does not encrypt traffic or replace the underlying VPN tunnel. CloudFront caching, S3 lifecycle rules, and Route 53 geolocation routing address application delivery, storage management, and DNS traffic steering respectively. When designing highly available hybrid connectivity, fast failure detection can be an important complement to redundant VPN tunnels and dynamic routing.

Question 328. Which Transit Gateway feature allows a network appliance to exchange routing information with the Transit Gateway using GRE and BGP?

  1. Transit Gateway Connect
  2. Transit Gateway peering
  3. VPC peering
  4. PrivateLink

Correct Answer: 1. Transit Gateway Connect

Explanation:

Transit Gateway Connect provides a mechanism for integrating network appliances with a Transit Gateway by using a Connect attachment. It uses GRE tunnels and supports BGP for dynamic route exchange between the appliance and Transit Gateway. This is useful when integrating SD-WAN appliances or other network devices that need dynamic routing into a centralized Transit Gateway architecture. Transit Gateway peering connects separate Transit Gateways, while VPC peering directly connects VPCs. PrivateLink provides private service access rather than general network routing. Transit Gateway Connect therefore addresses the specific requirement of using GRE-based connectivity combined with BGP route exchange between an appliance and Transit Gateway.

Question 329. An organization wants to connect an SD-WAN appliance to AWS Transit Gateway while dynamically exchanging routes. Which solution should it consider?

  1. Transit Gateway Connect
  2. S3 gateway endpoint
  3. CloudFront origin group
  4. Route 53 failover routing

Correct Answer: 1. Transit Gateway Connect

Explanation:

Transit Gateway Connect is designed to simplify integration between Transit Gateway and network appliances such as SD-WAN devices. The Connect attachment establishes GRE tunnels between the appliance and Transit Gateway, while BGP can be used to exchange routes dynamically. This approach allows an organization to integrate an existing SD-WAN architecture with a centralized AWS network hub without treating every network destination as a separate static configuration. The appliance must support the relevant connectivity and routing requirements. S3 gateway endpoints provide private access to S3, CloudFront origin groups provide application-origin failover, and Route 53 failover routing operates at the DNS layer, so none provides the required appliance-to-Transit-Gateway routing capability.

Question 330. A company needs separate routing policies for production and development VPCs attached to the same Transit Gateway. What should the administrator configure?

  1. Separate Transit Gateway route tables
  2. One shared internet gateway
  3. One NAT Gateway
  4. One CloudFront distribution

Correct Answer: 1. Separate Transit Gateway route tables

Explanation:

Separate Transit Gateway route tables can be used to implement routing segmentation between groups of attachments. Production VPCs can be associated with a route table containing routes appropriate for production resources, while development VPCs can use another route table with different propagation and static-route policies. This allows administrators to control which network segments can communicate without deploying a separate Transit Gateway for each environment. The architecture can be expanded with centralized inspection or shared-services VPCs as required. An Internet Gateway and NAT Gateway provide internet connectivity functions, while CloudFront handles content delivery. They do not provide the centralized routing segmentation capabilities offered by Transit Gateway route tables.

Question 331. Which Transit Gateway configuration determines which route table is used to evaluate traffic arriving from a particular attachment?

  1. Route table association
  2. Route propagation
  3. DNS forwarding rule
  4. Security group rule

Correct Answer: 1. Route table association

Explanation:

A Transit Gateway attachment can be associated with a Transit Gateway route table, which determines the routing table used when traffic enters the Transit Gateway through that attachment. This is different from route propagation. Propagation controls which routes are automatically inserted into a Transit Gateway route table from an attachment, while association determines which route table the attachment uses for forwarding decisions. Understanding this distinction is essential when creating segmented Transit Gateway architectures. Security groups operate at the ENI and instance traffic-control level, while DNS forwarding rules control name-resolution behavior. Therefore, route table association is the feature responsible for selecting the routing domain used by an attachment.

Question 332. Which AWS service can provide centralized visibility into AWS network resources, including Transit Gateways and hybrid network connections?

  1. AWS Network Manager
  2. AWS WAF
  3. Amazon CloudFront
  4. Amazon S3

Correct Answer: 1. AWS Network Manager

Explanation:

AWS Network Manager provides centralized management and visibility for AWS and hybrid network environments. It can help organizations visualize their global network topology and monitor network resources such as Transit Gateways, VPN connections, and other supported networking components. This centralized visibility is particularly useful for large enterprises operating multiple Regions, VPCs, branches, and on-premises networks. Network Manager does not replace the routing capabilities of Transit Gateway or the security filtering provided by WAF. CloudFront focuses on content delivery and S3 provides object storage. Therefore, AWS Network Manager is the appropriate service when the requirement centers on operational visibility and management of a distributed network.

Question 333. A network administrator needs to identify accepted and rejected traffic for a specific network interface. Which information source is most appropriate?

  1. VPC Flow Logs
  2. Route 53 hosted zone
  3. Direct Connect gateway
  4. CloudFront cache

Correct Answer: 1. VPC Flow Logs

Explanation:

VPC Flow Logs provide metadata about network traffic associated with supported network interfaces and other supported resources. Depending on the configured flow-log format, records can indicate whether traffic was accepted or rejected and include information such as source and destination addresses, ports, protocol, packet counts, and byte counts. This makes Flow Logs useful for investigating security group or network ACL behavior and troubleshooting unexpected connectivity. Flow Logs do not provide full packet contents. A Route 53 hosted zone manages DNS records, a Direct Connect gateway supports hybrid connectivity, and CloudFront caching concerns content delivery. Therefore, VPC Flow Logs are the appropriate source for traffic acceptance and rejection metadata.

Question 334. Which AWS tool analyzes the configuration of network components to determine why traffic cannot reach a destination?

  1. VPC Reachability Analyzer
  2. Amazon CloudFront
  3. AWS WAF
  4. Route 53 weighted routing

Correct Answer: 1. VPC Reachability Analyzer

Explanation:

VPC Reachability Analyzer performs configuration analysis of network paths between specified resources. It evaluates relevant networking components such as route tables, security groups, network ACLs, and other supported configuration elements to determine whether a path should be reachable. If the path is blocked, the analysis can help identify the component or configuration responsible. This makes it particularly useful for troubleshooting connectivity without requiring administrators to inspect every network component manually. VPC Flow Logs provide actual traffic metadata and can complement the analysis, but they serve a different purpose. CloudFront, WAF, and Route 53 routing policies address application delivery, web security, and DNS traffic steering rather than VPC path analysis.

Question 335. Which AWS networking service provides a managed firewall with both stateless and stateful traffic inspection capabilities for VPC traffic?

  1. AWS Network Firewall
  2. AWS Shield Standard
  3. Amazon Route 53
  4. AWS Direct Connect

Correct Answer: 1. AWS Network Firewall

Explanation:

AWS Network Firewall is a managed network security service designed to inspect and filter VPC traffic. It supports both stateless and stateful rule groups, allowing administrators to implement different layers of network traffic control. Stateful inspection can evaluate traffic in the context of network flows, while stateless rules can provide efficient packet-level filtering before traffic reaches stateful processing. Network Firewall can be deployed in dedicated inspection VPC architectures and integrated with Transit Gateway routing for centralized security inspection. Shield focuses primarily on DDoS protection, Route 53 provides DNS services, and Direct Connect provides dedicated network connectivity. Therefore, Network Firewall is the appropriate service for managed VPC traffic inspection.

Question 336. Which AWS Network Firewall rule type evaluates packets without maintaining connection state?

  1. Stateful rule group
  2. Stateless rule group
  3. DNS forwarding rule
  4. BGP policy

Correct Answer: 2. Stateless rule group

Explanation:

AWS Network Firewall stateless rule groups evaluate network packets independently without maintaining connection state between packets. This makes them useful for straightforward packet filtering decisions based on attributes such as source and destination addresses, ports, and protocols. Stateful rule groups, in contrast, can inspect traffic in the context of established flows and provide more sophisticated traffic analysis. A common architecture may use stateless processing for initial filtering and stateful inspection for more detailed controls. DNS forwarding rules manage DNS queries and BGP policies manage route exchange or selection. Therefore, a stateless rule group is the correct choice when the requirement explicitly states that each packet should be evaluated without connection-state awareness.

Question 337. A company wants to block DNS requests for known malicious domains from workloads in its VPCs. Which AWS feature is designed for this purpose?

  1. Route 53 Resolver DNS Firewall
  2. AWS Global Accelerator
  3. Direct Connect LAG
  4. Transit Gateway Connect

Correct Answer: 1. Route 53 Resolver DNS Firewall

Explanation:

Route 53 Resolver DNS Firewall allows organizations to create domain lists and rules that control DNS queries made through the VPC Resolver. Administrators can use these controls to block or monitor queries for domains associated with malware, phishing, or other unwanted destinations, depending on the configured rule lists. DNS Firewall operates at the DNS-resolution layer rather than inspecting the full network packet contents of application traffic. Global Accelerator provides global traffic acceleration, Direct Connect LAG aggregates physical connectivity, and Transit Gateway Connect integrates network appliances using GRE and BGP. Therefore, Resolver DNS Firewall is the service specifically designed to control DNS requests based on domain names.

Question 338. A company wants private DNS names in multiple VPCs to resolve using a centralized DNS service. Which Route 53 Resolver capability can help distribute DNS resolution rules across VPCs?

  1. Resolver forwarding rules
  2. CloudFront cache behaviors
  3. Global Accelerator endpoint groups
  4. Direct Connect LAG

Correct Answer: 1. Resolver forwarding rules

Explanation:

Route 53 Resolver forwarding rules allow administrators to specify how DNS queries for particular domains should be handled. A rule can identify a domain and forward matching queries to designated DNS servers through a Resolver outbound endpoint. Rules can then be associated with one or more VPCs, making them useful for implementing centralized DNS resolution across multiple VPCs. This is particularly valuable in hybrid environments where AWS workloads need to resolve corporate domains or where multiple network environments share DNS infrastructure. CloudFront cache behaviors control content caching, Global Accelerator endpoint groups manage regional application endpoints, and Direct Connect LAG manages physical connections. Resolver forwarding rules therefore address the DNS-routing requirement.

Question 339. Which IPv6 networking component allows outbound-only internet connectivity from a VPC while blocking unsolicited inbound connections?

  1. Egress-only Internet Gateway
  2. NAT Gateway
  3. Gateway Load Balancer
  4. Direct Connect gateway

Correct Answer: 1. Egress-only Internet Gateway

Explanation:

An egress-only Internet Gateway is specifically designed for IPv6 traffic that needs outbound internet access while preventing unsolicited inbound connections from the internet. Because IPv6 addresses are globally routable and do not use NAT in the same way as private IPv4 addresses, the egress-only gateway provides an important control for outbound-only IPv6 architectures. A suitable IPv6 default route must be configured in the relevant subnet route table. NAT Gateway primarily provides IPv4 address translation, Gateway Load Balancer distributes traffic among network appliances, and Direct Connect gateway provides hybrid connectivity. Therefore, the egress-only Internet Gateway is the appropriate component for outbound-only IPv6 internet communication.

Question 340. An application uses IPv6 and requires public internet connectivity in both directions. Which VPC component provides the required internet gateway functionality?

  1. Egress-only Internet Gateway
  2. Internet Gateway
  3. NAT Gateway
  4. Gateway VPC endpoint

Correct Answer: 2. Internet Gateway

Explanation:

An Internet Gateway provides internet connectivity for VPC resources using publicly routable IP addressing, including IPv6 traffic. When an IPv6-enabled resource needs bidirectional internet connectivity, the VPC route table can direct internet-bound IPv6 traffic through the Internet Gateway, subject to the resource’s security group and network ACL configuration. An egress-only Internet Gateway is specifically intended for outbound-only IPv6 communication and therefore does not meet a requirement for general bidirectional connectivity. NAT Gateway is primarily used for outbound IPv4 connectivity from private resources, while gateway endpoints provide private access to supported AWS services such as Amazon S3. Thus, an Internet Gateway matches the stated IPv6 connectivity requirement.