Amazon AWS Certified Advanced Networking – Specialty ANS-C01 Practice Test Questions and Exam Dumps Part 19 Q361-380

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

 

Question 361. Which BGP attribute is primarily used to influence the preferred outbound path from an AWS network when multiple routes to the same destination are available?

  1. MED
    2. Local preference
    3. AS_PATH
    4. BGP origin

Correct Answer: 2. Local preference

Explanation:

BGP local preference is commonly used to influence which path a network prefers for outbound traffic when multiple BGP routes are available. A higher local preference value is generally preferred within the same autonomous system. In AWS hybrid networking, this concept can be useful when an organization has multiple Direct Connect or VPN paths and wants internal routing decisions to favor one path over another. Local preference differs from MED, which is primarily used to communicate a preference for how traffic should enter a network from another autonomous system. Understanding the direction and scope of each BGP attribute is important when designing predictable hybrid connectivity.

Question 362. A company receives the same route through two Direct Connect paths. The network team wants AWS to prefer one path because it has the shorter AS_PATH. Which BGP attribute directly represents this characteristic?

  1. AS_PATH
    2. MED
    3. Local preference
    4. Weight

Correct Answer: 1. AS_PATH

Explanation:

The AS_PATH attribute records the sequence of autonomous systems that a BGP route has traversed. When comparing otherwise suitable routes, a shorter AS_PATH is generally preferred by BGP path selection. In a hybrid AWS environment, AS_PATH can therefore influence which advertised route is selected when multiple connections provide reachability to the same destination. Organizations can also use AS_PATH prepending to make a particular path appear less attractive by artificially increasing its path length. This is different from local preference, which is an internal preference mechanism, and MED, which is used to communicate an entry preference between neighboring autonomous systems.

Question 363. Which Direct Connect virtual interface type should be used when connecting an on-premises network to resources in a VPC through a Direct Connect gateway?

  1. Public virtual interface
    2. Transit virtual interface
    3. Private virtual interface
    4. Management virtual interface

Correct Answer: 3. Private virtual interface

Explanation:

A private virtual interface, or private VIF, is designed for private connectivity between an on-premises environment and AWS private resources. It can be associated with a Direct Connect gateway to provide connectivity to VPCs through supported architectures. The private VIF uses BGP to exchange routing information across the Direct Connect connection. A public VIF is intended for reaching AWS public services, while a transit VIF is used with a Direct Connect gateway to connect to Transit Gateway attachments. Selecting the appropriate VIF type is therefore important because each one serves a different routing and connectivity model.

Question 364. An enterprise needs to connect multiple VPCs through AWS Transit Gateway using a Direct Connect connection. Which Direct Connect component is designed to provide this connectivity model?

  1. Public VIF
    2. Transit VIF
    3. PrivateLink endpoint
    4. Gateway VPC endpoint

Correct Answer: 2. Transit VIF

Explanation:

A transit virtual interface is used with a Direct Connect gateway to provide connectivity from an on-premises network to VPCs attached to a Transit Gateway. This architecture avoids requiring a separate private VIF arrangement for every VPC and supports a more centralized hybrid networking model. The Direct Connect gateway acts as an intermediary for the appropriate AWS networking architecture, while Transit Gateway provides centralized routing among attached networks. A public VIF serves AWS public services, and VPC endpoints solve different private service-access requirements. Understanding how transit VIFs integrate with Direct Connect gateways and Transit Gateway is important for scalable enterprise connectivity.

Question 365. Which protocol is used by a Direct Connect LAG to dynamically manage member links and verify that multiple physical connections operate as a logical group?

  1. BFD
    2. VRRP
    3. LACP
    4. STP

Correct Answer: 3. LACP

Explanation:

Direct Connect Link Aggregation Groups, or LAGs, use the Link Aggregation Control Protocol, commonly called LACP, to combine multiple Direct Connect connections into a logical aggregation. LACP helps coordinate the member links and allows the connected infrastructure to treat them as part of the same logical bundle. This can simplify management and provide increased aggregate bandwidth when the configuration and service characteristics permit it. LACP should not be confused with BFD, which is designed for rapid failure detection of forwarding paths. Understanding the distinct roles of LACP and BFD helps network engineers select the correct mechanism for link aggregation versus routing-failure detection.

Question 366. A customer purchases a Direct Connect hosted connection from an AWS Direct Connect partner instead of obtaining a dedicated physical connection directly. What is a key characteristic of this arrangement?

  1. The customer receives capacity provided through a partner’s Direct Connect infrastructure
    2. The customer must use only public VIFs
    3. The customer cannot use BGP
    4. The customer automatically receives a dedicated AWS router

Correct Answer: 1. The customer receives capacity provided through a partner’s Direct Connect infrastructure

Explanation:

A Direct Connect hosted connection is provided through an AWS Direct Connect partner. The partner supplies connectivity and allocates the appropriate connection capacity to the customer, allowing organizations to establish Direct Connect connectivity without necessarily deploying a dedicated physical connection directly with AWS. The exact capabilities and provisioning process depend on the partner and the selected offering. Hosted connectivity can be useful when customers want to consume Direct Connect through an existing service provider relationship. BGP remains relevant for supported virtual interfaces because routing information still needs to be exchanged between the customer environment and AWS.

Question 367. An organization wants to improve the resilience of its Direct Connect architecture by placing connections in different locations so that a single facility failure does not eliminate hybrid connectivity. Which design principle is most appropriate?

  1. Use a single connection with a larger VLAN
    2. Use multiple connections across independent failure domains
    3. Use only one BGP session
    4. Disable route advertisements on the backup connection

Correct Answer: 2. Use multiple connections across independent failure domains

Explanation:

Direct Connect resilience should consider more than simply having multiple circuits. Connections should ideally be distributed across independent failure domains so that a problem affecting one physical facility, device, or connectivity location does not remove every available path. AWS provides Direct Connect resilience guidance and tooling to help customers evaluate connection designs. BGP can then dynamically support route exchange across the available paths. A resilient architecture may also include VPN connectivity as an additional backup mechanism. The objective is to remove single points of failure rather than simply increasing bandwidth on one connection or relying on a single physical location.

Question 368. Which feature allows AWS and customer networks to exchange routing information dynamically over a Site-to-Site VPN connection?

  1. NAT traversal
    2. BGP
    3. DNS forwarding
    4. TLS

Correct Answer: 2. BGP

Explanation:

Border Gateway Protocol, or BGP, can be used with AWS Site-to-Site VPN to dynamically exchange routes between the customer gateway and AWS. Dynamic routing is especially useful when the environment has changing networks or multiple redundant VPN tunnels because routes can be learned and adjusted without manually maintaining every static route. BGP also provides mechanisms that can help with route selection and failure handling. This differs from IPsec, which protects the traffic by providing encrypted VPN tunnels. BGP handles routing information, while IPsec provides the secure tunnel mechanism. Both functions can therefore work together in a Site-to-Site VPN architecture.

Question 369. A network administrator wants a VPN tunnel to detect forwarding-path failures more quickly than relying only on normal BGP timers. Which technology can provide rapid failure detection?

  1. BFD
    2. LACP
    3. DNSSEC
    4. NAT Gateway

Correct Answer: 1. BFD

Explanation:

Bidirectional Forwarding Detection, or BFD, is designed to detect failures in forwarding paths quickly. In supported AWS networking architectures, BFD can complement routing protocols by providing a faster mechanism for identifying that a path is no longer functioning. This can allow routing decisions to react more quickly than waiting for longer routing-protocol timers to expire. BFD does not replace BGP or IPsec. BGP remains responsible for exchanging routing information, while IPsec provides VPN encryption. LACP has a completely different purpose because it manages link aggregation. Recognizing these roles is important when troubleshooting convergence and failover behavior in advanced hybrid networks.

Question 370. An organization uses AWS Transit Gateway Connect to integrate an SD-WAN appliance with Transit Gateway. Which tunneling technology is associated with Transit Gateway Connect peers?

  1. GRE
    2. IPsec only
    3. TLS
    4. VXLAN only

Correct Answer: 1. GRE

Explanation:

AWS Transit Gateway Connect uses Generic Routing Encapsulation, or GRE, tunnels to establish connectivity between Transit Gateway and supported networking appliances such as SD-WAN solutions. BGP can operate across the Connect peer relationship to exchange routes dynamically. This architecture is useful when organizations want to integrate virtual network appliances or SD-WAN infrastructure with a centralized Transit Gateway design. GRE provides the tunnel mechanism, while BGP handles routing information. It is important not to confuse Transit Gateway Connect with Site-to-Site VPN, where IPsec is used to establish encrypted VPN tunnels. Each service addresses a different integration model and set of networking requirements.

Question 371. A company has production and development VPCs attached to the same Transit Gateway but wants to prevent development networks from reaching production networks. What Transit Gateway design feature should be used?

  1. One shared route table with all routes propagated
    2. Separate Transit Gateway route tables with controlled associations and propagation
    3. Public VIFs for every VPC
    4. NAT Gateways between the VPCs

Correct Answer: 2. Separate Transit Gateway route tables with controlled associations and propagation

Explanation:

Transit Gateway route tables can be used to implement network segmentation by controlling which attachments are associated with particular route tables and which routes are propagated into them. For example, production and development attachments can use separate route tables so that development does not automatically learn routes to production networks. This approach provides centralized routing while maintaining logical separation. Simply attaching every VPC to one route table and propagating every route would make segmentation more difficult. NAT Gateways are designed primarily for outbound internet access from private subnets and are not a substitute for Transit Gateway routing-policy segmentation.

Question 372. A company needs to resolve private AWS DNS names from its on-premises DNS servers. Which Route 53 Resolver component is designed to receive DNS queries from on-premises clients?

  1. Resolver outbound endpoint
    2. Resolver inbound endpoint
    3. Route 53 health check
    4. CloudFront distribution

Correct Answer: 2. Resolver inbound endpoint

Explanation:

A Route 53 Resolver inbound endpoint allows DNS queries from external networks, such as an on-premises environment, to be sent into the AWS VPC DNS resolution architecture. This enables on-premises DNS clients or servers to resolve applicable private AWS DNS names through Resolver. An outbound endpoint serves the opposite direction: it allows DNS queries originating within AWS to be forwarded to DNS servers outside AWS according to configured forwarding rules. Understanding the direction of DNS traffic is essential when configuring hybrid DNS. Inbound means queries enter AWS from external DNS clients, whereas outbound means queries leave AWS toward external DNS infrastructure.

Question 373. A hybrid environment requires DNS queries from VPC workloads to be forwarded to an on-premises DNS server for corporate domains. Which AWS component should be configured?

  1. Resolver inbound endpoint only
    2. CloudFront origin
    3. Resolver outbound endpoint with a forwarding rule
    4. Internet Gateway

Correct Answer: 3. Resolver outbound endpoint with a forwarding rule

Explanation:

An AWS Route 53 Resolver outbound endpoint enables DNS queries from resources in a VPC to be sent to DNS servers outside AWS. Forwarding rules can specify which domain names should be forwarded and identify the target DNS servers. This is particularly useful in hybrid environments where corporate namespaces are maintained on-premises while AWS workloads use Route 53 Resolver for local DNS resolution. The inbound endpoint is intended for queries coming from external networks into AWS. An Internet Gateway is unrelated to private DNS forwarding. Correctly configuring both the endpoint and forwarding rule ensures that only the intended DNS namespaces are sent to the external DNS infrastructure.

Question 374. Which Route 53 feature allows administrators to record DNS query information for analysis and troubleshooting of DNS activity?

  1. Resolver query logging
    2. Weighted routing
    3. Route 53 health checks
    4. Geolocation routing

Correct Answer: 1. Resolver query logging

Explanation:

Route 53 Resolver query logging records DNS queries handled by Route 53 Resolver, providing useful information for DNS troubleshooting, security analysis, and operational visibility. Query logs can help administrators investigate which domains are being queried, where queries originate, and whether unexpected DNS activity is occurring. This capability is different from Route 53 health checks, which monitor endpoint health for DNS routing decisions. Weighted routing and geolocation routing control how DNS responses are selected based on configured policies. Resolver query logging therefore addresses visibility into DNS resolution activity rather than traffic distribution or endpoint availability.

Question 375. An enterprise wants to associate the same Route 53 private hosted zone with VPCs in multiple AWS accounts. What capability supports this architecture?

  1. Route 53 Resolver DNS Firewall
    2. Cross-account VPC association for private hosted zones
    3. CloudFront origin groups
    4. Global Accelerator listener

Correct Answer: 2. Cross-account VPC association for private hosted zones

Explanation:

Route 53 private hosted zones can be associated with VPCs in supported cross-account configurations. This enables centralized DNS administration while allowing workloads in multiple AWS accounts to resolve the same private DNS namespace. Such an architecture can be useful in organizations that separate environments or business units into different accounts but still require consistent internal DNS naming. The association process requires the appropriate authorization between the hosted-zone owner and the VPC owner. Resolver DNS Firewall serves a security-filtering purpose rather than associating private hosted zones. Understanding private hosted-zone association is important for multi-account AWS networking and centralized DNS designs.

Question 376. A company wants to prevent VPC workloads from resolving domains that belong to a known malicious category. Which Route 53 capability is designed for DNS-level filtering?

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

Correct Answer: 1. Route 53 Resolver DNS Firewall

Explanation:

Route 53 Resolver DNS Firewall provides DNS-level filtering for queries originating from resources that use Route 53 Resolver. Administrators can create rule groups containing domain lists and associate those rule groups with VPCs. The rules can be used to block or control resolution for specified domains, supporting security and policy enforcement at the DNS layer. This is different from AWS WAF, which focuses on web application requests, and AWS Network Firewall, which provides broader network traffic inspection and filtering. DNS Firewall is therefore appropriate when the security requirement specifically concerns which domain names workloads are permitted to resolve.

Question 377. A CloudFront distribution should use different caching behavior for /images/* and /api/* paths. Which CloudFront capability supports this requirement?

  1. Origin access control
    2. Cache behaviors
    3. Route 53 Resolver rules
    4. Direct Connect LAG

Correct Answer: 2. Cache behaviors

Explanation:

CloudFront cache behaviors allow administrators to define different processing rules for different URL path patterns. For example, /images/* can use long cache durations and an object-oriented caching strategy, while /api/* can use shorter caching or forwarding requirements appropriate for dynamic application requests. Cache behaviors can also specify the relevant origin and request-handling configuration. Origin Access Control addresses how CloudFront accesses protected origins such as Amazon S3 and is not itself a path-routing feature. Route 53 Resolver and Direct Connect LAG operate in completely different networking layers. Cache behaviors are therefore the appropriate mechanism for path-specific CloudFront configuration.

Question 378. A web application uses CloudFront and needs to control which request headers, cookies, and query strings are included when CloudFront determines whether two requests share the same cached object. Which concept is most directly involved?

  1. Cache key
    2. Origin failover
    3. Health check
    4. BGP community

Correct Answer: 1. Cache key

Explanation:

The CloudFront cache key determines which request characteristics distinguish one cached object from another. Depending on the configured cache policy, selected query strings, headers, and cookies can contribute to the cache key. This is important because including unnecessary request values can reduce cache efficiency by creating many distinct cache entries, while excluding values that affect the response could result in inappropriate object reuse. Origin request policies address what information is forwarded to the origin independently of the cache key. Therefore, when the requirement specifically concerns how CloudFront decides whether requests map to the same cached response, the cache key and its associated cache policy are the relevant concepts.

Question 379. A company wants to protect a CloudFront distribution from application-layer attacks and use AWS-managed protections for common web vulnerabilities. Which AWS service should be associated with the distribution?

  1. AWS Shield only
    2. AWS WAF
    3. AWS Direct Connect
    4. Transit Gateway

Correct Answer: 2. AWS WAF

Explanation:

AWS WAF provides web application-layer filtering and can be associated with supported CloudFront distributions to inspect HTTP and HTTPS requests. It supports capabilities such as managed rule groups and custom rules that can address common web attack patterns and unwanted request characteristics. AWS Shield provides DDoS protection and complements WAF, but it does not replace the detailed application-layer request filtering performed by WAF. Direct Connect provides private network connectivity, while Transit Gateway provides centralized network routing. When the requirement specifically involves inspecting and filtering web requests at Layer 7, AWS WAF is the appropriate service.

Question 380. An application uses AWS Global Accelerator and requires users to remain associated with the same endpoint when possible. Which Global Accelerator feature can provide this behavior?

  1. Client affinity
    2. Cache behavior
    3. Resolver forwarding
    4. BGP local preference

Correct Answer: 1. Client affinity

Explanation:

AWS Global Accelerator supports client affinity, which can be configured when an application benefits from maintaining a user’s traffic association with the same endpoint. With client affinity enabled, Global Accelerator uses a consistent mapping approach so that traffic from a client can continue to be directed to the same endpoint when that endpoint remains available. This can be useful for applications that maintain session state locally rather than storing all session information in a shared system. Client affinity is distinct from health checks, which determine endpoint availability, and from BGP attributes, which apply to network route selection rather than application client-to-endpoint persistence.