Amazon AWS Certified Advanced Networking – Specialty ANS-C01 Practice Test Questions and Exam Dumps Part 10 Q181-200

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

 

Question 181. Which BGP attribute can be used to influence inbound traffic by making one advertised path less preferred than another?

  1. Local preference
  2. AS_PATH
  3. Router ID
  4. Next hop

Correct Answer: 2. AS_PATH

Explanation:

The AS_PATH attribute can influence how external networks select a path toward an AWS network when multiple BGP routes are available. By using AS_PATH prepending, a network administrator can intentionally make one advertised path appear longer and therefore less attractive to many BGP implementations. This technique is useful in hybrid networking environments where an organization has multiple Direct Connect or VPN paths and wants to influence inbound traffic. AS_PATH is different from local preference because local preference is generally used inside an autonomous system to influence outbound path selection. Understanding BGP attributes and their direction of influence is important when designing predictable and resilient hybrid connectivity.

Question 182. An organization wants to connect several VPCs to on-premises networks while maintaining centralized routing and avoiding a separate VPN connection for every VPC. Which AWS service is designed for this architecture?

  1. Amazon CloudFront
  2. AWS Transit Gateway
  3. Amazon Route 53
  4. AWS WAF

Correct Answer: 2. AWS Transit Gateway

Explanation:

AWS Transit Gateway provides a centralized network transit hub that can connect multiple VPCs and external networks through supported attachments. Instead of creating separate point-to-point connectivity between every VPC and every on-premises network, organizations can connect VPCs and hybrid connectivity services to the Transit Gateway and control routing centrally. This hub-and-spoke model simplifies network architecture as the number of VPCs increases. Transit Gateway route tables, associations, and route propagation determine which networks can communicate. This makes the service particularly useful for enterprise environments requiring centralized routing, segmentation, hybrid connectivity, and scalable multi-VPC network management.

Question 183. Which Direct Connect interface type is used to access AWS public services such as Amazon S3 without using the public internet?

  1. Private VIF
  2. Transit VIF
  3. Public VIF
  4. Interface endpoint

Correct Answer: 3. Public VIF

Explanation:

A public virtual interface (public VIF) allows an on-premises network to access AWS public services through Direct Connect without sending the traffic across the public internet. Services with publicly advertised AWS IP prefixes can be reached through the Direct Connect public VIF, subject to the service and routing requirements. This differs from a private VIF, which is intended for private connectivity to VPC resources, and a transit VIF, which is used to connect through a Direct Connect gateway to supported Transit Gateway architectures. Selecting the appropriate VIF type is important because each interface serves a different connectivity model within AWS Direct Connect.

Question 184. A network engineer needs to provide private connectivity from a VPC to Amazon S3 without requiring an Internet Gateway or NAT Gateway. Which option should be used?

  1. Gateway VPC endpoint
  2. Internet Gateway
  3. NAT Gateway
  4. Public VIF

Correct Answer: 1. Gateway VPC endpoint

Explanation:

A gateway VPC endpoint provides private connectivity from a VPC to supported AWS services such as Amazon S3 and DynamoDB. Traffic destined for the supported service can remain within the AWS network instead of requiring an Internet Gateway, NAT Gateway, or public IP address. Route tables are used to direct the appropriate service traffic toward the gateway endpoint. Endpoint policies can also provide additional control over which resources or actions can be accessed through the endpoint. Gateway endpoints can be especially useful for workloads running in private subnets because they can access supported AWS services without requiring general internet connectivity.

Question 185. Which routing behavior determines the route selected when a destination matches multiple entries in an AWS VPC route table?

  1. Random selection
  2. Longest prefix match
  3. Lowest subnet ID
  4. Highest instance ID

Correct Answer: 2. Longest prefix match

Explanation:

AWS routing uses longest prefix matching when multiple routes could apply to the same destination. The route with the most specific matching destination prefix is selected over a broader route. For example, if a route table contains both a broad network route and a more specific route covering part of that network, traffic matching the specific prefix uses the more specific entry. This behavior is fundamental to VPC routing and is frequently used to create exceptions to broader routing policies. Understanding longest prefix matching is essential when troubleshooting unexpected traffic paths, especially in environments containing multiple routes through gateways, Transit Gateway attachments, peering connections, or VPNs.

Question 186. Which AWS service can provide a centralized inspection architecture for traffic flowing between multiple VPCs when integrated with a firewall deployment?

  1. AWS Transit Gateway
  2. Amazon Route 53
  3. Amazon CloudFront
  4. AWS Certificate Manager

Correct Answer: 1. AWS Transit Gateway

Explanation:

AWS Transit Gateway can be used as the central routing component in an inspection architecture involving multiple VPCs and a dedicated security or inspection VPC. Traffic can be routed through firewall appliances or AWS network security services before being forwarded to its final destination. Separate Transit Gateway route tables can help control traffic direction and segmentation. Gateway Load Balancer may also be used when distributing traffic across supported third-party virtual appliances. The important architectural principle is that centralized inspection depends on deliberate routing configuration. Simply attaching a firewall to the network does not guarantee that traffic passes through it; routes must explicitly establish the desired inspection path.

Question 187. Which Route 53 routing policy is designed to distribute DNS responses across multiple resources according to configured relative weights?

  1. Failover routing
  2. Weighted routing
  3. Geolocation routing
  4. Latency-based routing

Correct Answer: 2. Weighted routing

Explanation:

Route 53 weighted routing allows DNS responses to be distributed among multiple resources according to configured weights. For example, an organization might assign one resource a higher weight than another so that DNS responses are distributed according to the desired proportions. This capability can be useful for controlled traffic distribution, gradual application changes, testing, or other scenarios where administrators want to influence the relative amount of DNS-based traffic directed to different endpoints. Weighted routing is different from failover routing, which focuses on primary and secondary resources, and latency-based routing, which selects resources based on network latency considerations for the requesting client.

Question 188. An application uses Amazon CloudFront and has two origins. The primary origin becomes unavailable. Which CloudFront capability can automatically direct requests to the secondary origin when configured appropriately?

  1. Origin failover
  2. Weighted Route 53 routing
  3. VPC peering
  4. Transit Gateway Connect

Correct Answer: 1. Origin failover

Explanation:

CloudFront origin failover allows a distribution to use a secondary origin when the primary origin encounters configured failure conditions. This provides an additional layer of application availability without requiring the client to know which origin is currently serving the request. Origin groups can be configured with a primary and secondary origin, along with conditions that determine when CloudFront should attempt the secondary origin. This is different from Route 53 failover routing, which operates at the DNS level. CloudFront origin failover operates within the content delivery architecture and can help applications continue serving content when the primary origin experiences certain failures.

Question 189. Which AWS service provides a managed content delivery network that uses globally distributed edge locations to serve cached content closer to users?

  1. AWS Direct Connect
  2. AWS Transit Gateway
  3. Amazon CloudFront
  4. AWS Site-to-Site VPN

Correct Answer: 3. Amazon CloudFront

Explanation:

Amazon CloudFront is AWS’s content delivery network service and uses a globally distributed edge network to deliver content closer to end users. When cacheable content is requested, CloudFront can serve it from an appropriate edge location rather than repeatedly retrieving it from the origin. This can reduce latency and decrease the amount of traffic reaching the origin infrastructure. CloudFront also supports capabilities such as HTTPS, cache policies, origin request policies, access controls, and integration with AWS security services. It is primarily designed for application and content delivery rather than private VPC-to-VPC routing or dedicated hybrid connectivity.

Question 190. Which AWS service is specifically designed to protect applications from common web exploits such as SQL injection and cross-site scripting?

  1. AWS WAF
  2. AWS Direct Connect
  3. AWS Transit Gateway
  4. Amazon Route 53 Resolver

Correct Answer: 1. AWS WAF

Explanation:

AWS WAF is a web application firewall designed to help protect supported web applications from common application-layer threats. It can inspect HTTP and HTTPS requests and apply rules based on characteristics such as IP addresses, request headers, query strings, URI paths, and other request properties. Managed and custom rules can help address threats such as SQL injection and cross-site scripting, while rate-based rules can help control unusually high request volumes. AWS WAF differs from network-layer controls such as security groups and Network ACLs because it operates at the web request level. It can integrate with services such as CloudFront and Application Load Balancer.

Question 191. Which AWS load balancer is designed primarily for Layer 4 TCP, TLS, and UDP traffic and can provide static IP addresses?

  1. Application Load Balancer
  2. Network Load Balancer
  3. Gateway Load Balancer
  4. Classic DNS Load Balancer

Correct Answer: 2. Network Load Balancer

Explanation:

A Network Load Balancer operates primarily at Layer 4 and is designed to handle protocols such as TCP, TLS, and UDP. It is suitable for applications that require high-performance network traffic handling, low latency, or features such as static IP addresses. An Application Load Balancer operates at the application layer and provides HTTP and HTTPS routing capabilities, including host-based and path-based routing. Gateway Load Balancer is designed specifically for deploying and scaling virtual network appliances. Choosing the correct load balancer depends on the application’s protocol, routing requirements, traffic characteristics, and integration needs. Network Load Balancer is particularly useful when preserving Layer 4 networking behavior is important.

Question 192. Which AWS load balancer is designed to make it easier to deploy, scale, and manage third-party virtual network appliances?

  1. Application Load Balancer
  2. Network Load Balancer
  3. Gateway Load Balancer
  4. Route 53

Correct Answer: 3. Gateway Load Balancer

Explanation:

Gateway Load Balancer (GWLB) is designed to deploy and scale virtual network appliances such as firewalls, intrusion detection systems, and traffic inspection solutions. It provides a mechanism for transparently directing network traffic through appliance fleets while distributing traffic among available appliance instances. GWLB is commonly used with Gateway Load Balancer endpoints to integrate security appliances into VPC routing architectures. This makes it particularly useful for centralized inspection designs where traffic must pass through a set of third-party security appliances. Unlike an Application Load Balancer, which performs HTTP and HTTPS application-layer routing, GWLB focuses on network appliance integration and transparent traffic forwarding.

Question 193. Which AWS capability can help identify whether a security group, route table, network ACL, or other network configuration is preventing connectivity between two AWS resources?

  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 is a network diagnostic capability that analyzes the configured network paths between supported AWS resources. It can help determine whether a path is reachable and identify configuration components that prevent connectivity. The analysis can consider elements such as route tables, security groups, network ACLs, and network interfaces. This makes it useful when troubleshooting situations where resources cannot communicate and the cause is not immediately obvious. Reachability Analyzer does not send application traffic to test the path in the same way as a packet capture; instead, it analyzes the network configuration and determines whether a valid path exists based on the configured rules and routes.

Question 194. Which VPC feature records information about network traffic flowing to and from network interfaces and can be used for network troubleshooting and security analysis?

  1. VPC Flow Logs
  2. CloudFront Functions
  3. Route 53 Resolver
  4. AWS Certificate Manager

Correct Answer: 1. VPC Flow Logs

Explanation:

VPC Flow Logs capture metadata about network traffic flowing to and from supported network interfaces and can be used for troubleshooting, monitoring, and security analysis. Flow log records can include information such as source and destination addresses, ports, protocols, packet counts, byte counts, and whether traffic was accepted or rejected, depending on the configured format and logging scope. Flow Logs do not capture complete packet payloads, which distinguishes them from packet-level inspection mechanisms such as Traffic Mirroring. Administrators can use flow records to investigate unexpected connections, rejected traffic, communication patterns, and potential security events across VPC resources.

Question 195. An organization wants DNS queries from AWS VPCs for a specific corporate domain to be forwarded to on-premises DNS servers. Which configuration is required?

  1. Route 53 Resolver outbound endpoint and forwarding rule
  2. CloudFront distribution
  3. Internet Gateway and public hosted zone
  4. NAT Gateway and security group

Correct Answer: 1. Route 53 Resolver outbound endpoint and forwarding rule

Explanation:

A Route 53 Resolver outbound endpoint combined with a forwarding rule provides a mechanism for sending selected DNS queries from AWS toward external DNS infrastructure. The forwarding rule identifies the domain, such as a corporate internal domain, and specifies the DNS server IP addresses that should receive those queries. The outbound endpoint provides the network interfaces through which the queries are forwarded. This architecture is commonly used in hybrid environments where AWS workloads need to resolve names managed by on-premises DNS servers. It avoids requiring applications to communicate directly with those DNS servers and allows DNS forwarding behavior to be centrally managed within the AWS networking architecture.

Question 196. Which AWS networking service can provide private connectivity to a service offered by another AWS account without requiring VPC peering between the consumer and provider VPCs?

  1. AWS PrivateLink
  2. VPC peering
  3. Internet Gateway
  4. NAT Gateway

Correct Answer: 1. AWS PrivateLink

Explanation:

AWS PrivateLink allows service consumers to establish private connectivity to services published by providers without requiring direct network connectivity between the consumer and provider VPCs. The provider publishes an endpoint service, typically backed by a Network Load Balancer, and controls which AWS principals are allowed to connect. Consumers create interface VPC endpoints to access the service using private IP addresses. This model is particularly useful for cross-account services and SaaS solutions because the consumer does not need access to the provider’s entire VPC address space. PrivateLink therefore provides a service-oriented connectivity model rather than the broader network-to-network relationship created by VPC peering.

Question 197. Which VPC connectivity model allows two VPCs to communicate privately using their private IP addresses without requiring traffic to traverse the public internet?

  1. VPC peering
  2. Internet Gateway
  3. CloudFront
  4. Public VIF

Correct Answer: 1. VPC peering

Explanation:

VPC peering establishes private network connectivity between two VPCs using private IP addresses. Once the appropriate routes are configured in the route tables of both VPCs, resources can communicate across the peering connection without sending traffic through the public internet. VPC peering can be used across accounts and, where supported, across AWS Regions. However, VPC peering is not transitive, meaning that if VPC A is peered with VPC B and VPC B is peered with VPC C, VPC A cannot automatically use VPC B as a transit point to reach VPC C. For larger networks, Transit Gateway may provide a more centralized routing architecture.

Question 198. Which AWS service provides centralized management and monitoring capabilities for global and hybrid network resources, including Transit Gateways?

  1. AWS Network Manager
  2. Amazon S3
  3. AWS Lambda
  4. Amazon CloudWatch Logs only

Correct Answer: 1. AWS Network Manager

Explanation:

AWS Network Manager provides centralized network management and visibility capabilities for AWS and supported hybrid network environments. It can help organizations monitor network topology, visualize connectivity, and manage network resources across multiple AWS Regions and on-premises locations. This becomes increasingly useful as an organization expands from a small number of VPCs into a larger enterprise network containing Transit Gateways, VPN connections, Direct Connect connectivity, and multiple geographic locations. Network Manager complements the underlying networking services rather than replacing them. Its purpose is to improve centralized visibility and management, making it easier for network teams to understand how different components are connected and identify operational issues.

Question 199. Which AWS networking approach is most appropriate when an organization needs to connect many VPCs and wants to avoid creating a full mesh of individual VPC peering connections?

  1. AWS Transit Gateway
  2. Internet Gateway
  3. NAT Gateway
  4. CloudFront

Correct Answer: 1. AWS Transit Gateway

Explanation:

AWS Transit Gateway provides a hub-and-spoke architecture that can significantly simplify connectivity among many VPCs. In a full-mesh VPC peering design, the number of individual connections can increase rapidly as more VPCs are added, making route management and operational control more complicated. Transit Gateway allows VPCs to attach to a centralized routing hub and communicate according to Transit Gateway route-table policies. It can also connect supported hybrid resources such as VPN and Direct Connect architectures. This centralized model makes it easier to implement segmentation, shared services, inspection, and controlled connectivity while reducing the complexity associated with maintaining many independent point-to-point peering relationships.

Question 200. Which AWS service is specifically designed to provide encrypted connectivity between an on-premises network and an AWS VPC over the internet?

  1. AWS PrivateLink
  2. AWS Site-to-Site VPN
  3. Amazon CloudFront
  4. AWS Global Accelerator

Correct Answer: 2. AWS Site-to-Site VPN

Explanation:

AWS Site-to-Site VPN provides encrypted connectivity between an on-premises network and AWS over an IP-based network such as the public internet. It uses IPsec tunnels to protect traffic as it travels between the customer gateway and AWS VPN infrastructure. Organizations can use static or dynamic routing, depending on their architecture and requirements, and multiple tunnels provide additional resilience. Site-to-Site VPN is often used as a primary connectivity option for organizations that need encrypted hybrid access without provisioning dedicated physical connectivity, and it can also serve as a backup path for Direct Connect. Its encrypted tunnel-based architecture distinguishes it from services such as PrivateLink and CloudFront, which solve different networking problems.