Amazon AWS Certified Advanced Networking – Specialty ANS-C01 Practice Test Questions and Exam Dumps Part 16 Q301-320

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

 

Question 301. Which BGP attribute can be used to make a route less preferred by adding additional instances of the autonomous system number?

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

Correct Answer: 3. AS_PATH

Explanation:

The AS_PATH attribute contains the sequence of autonomous system numbers that a BGP route has traversed. Network administrators can use AS_PATH prepending to intentionally add their own autonomous system number multiple times to an advertised route. A longer AS_PATH can make that route less attractive when another route to the same destination is available. This technique is frequently used to influence inbound traffic across redundant Direct Connect or VPN connections. Local preference is normally used within an autonomous system to influence outbound path selection, while MED can communicate a preference between multiple entry points. Understanding these distinctions is important when designing predictable hybrid AWS routing architectures.

Question 302. A company wants to prevent a particular on-premises CIDR range from being advertised across a BGP connection to AWS. Which approach should the network administrator consider?

  1. Route filtering
  2. CloudFront caching
  3. NAT Gateway
  4. Route 53 weighted routing

Correct Answer: 1. Route filtering

Explanation:

Route filtering allows network administrators to control which prefixes are accepted or advertised through a routing protocol such as BGP. In a hybrid AWS environment, filtering can prevent unnecessary or unauthorized network ranges from being propagated over Direct Connect or VPN connectivity. This can improve routing control, reduce accidental route advertisements, and support network segmentation. The exact filtering mechanism depends on the customer router or routing platform being used. CloudFront caching operates at the content-delivery layer, NAT Gateway provides address translation, and Route 53 weighted routing controls DNS responses. Therefore, route filtering is the relevant technique when controlling which network prefixes are exchanged.

Question 303. Which AWS Direct Connect option allows a customer to obtain connectivity through an AWS Direct Connect Partner rather than ordering a dedicated physical connection directly from AWS?

  1. Hosted connection
  2. Dedicated connection
  3. Transit Gateway attachment
  4. Gateway endpoint

Correct Answer: 1. Hosted connection

Explanation:

A hosted connection is a Direct Connect connectivity model provided through an AWS Direct Connect Partner. This option can be useful for organizations that want Direct Connect connectivity without obtaining and managing a dedicated physical port directly from AWS. The partner provides the underlying connectivity and can offer different bandwidth options depending on the supported service model. A dedicated connection is provisioned directly as a dedicated AWS Direct Connect connection, while Transit Gateway attachments and gateway endpoints address other AWS networking requirements. When designing hybrid connectivity, organizations should evaluate available bandwidth, redundancy, provider diversity, and the operational characteristics of hosted versus dedicated connectivity.

Question 304. A company needs to connect a branch office to AWS but does not want to establish a dedicated Direct Connect circuit. Which service provides an encrypted connection over the internet?

  1. AWS Site-to-Site VPN
  2. Amazon CloudFront
  3. VPC gateway endpoint
  4. AWS PrivateLink

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

Explanation:

AWS Site-to-Site VPN provides encrypted connectivity between a customer network and AWS over the public internet. It establishes IPsec VPN tunnels between a customer gateway device and an AWS VPN endpoint associated with a VPC or Transit Gateway, depending on the architecture. This makes it useful for branch offices, smaller locations, temporary connectivity, or backup connectivity when dedicated circuits are unavailable. Direct Connect provides dedicated private connectivity but requires an appropriate physical or partner connection. CloudFront is a content delivery service, gateway endpoints provide private access to supported AWS services, and PrivateLink provides private service access. Therefore, Site-to-Site VPN is the appropriate choice for encrypted branch connectivity over the internet.

Question 305. Which AWS networking service can provide a centralized hub for connecting VPCs, Site-to-Site VPN connections, and Direct Connect connectivity?

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

Correct Answer: 1. AWS Transit Gateway

Explanation:

AWS Transit Gateway acts as a centralized network hub that can connect multiple VPCs and supported network attachments, including Site-to-Site VPN and Direct Connect through the appropriate architecture. It simplifies network topology by reducing the need for numerous point-to-point connections. Administrators can use Transit Gateway route tables to control connectivity and implement segmentation between environments. It can also participate in centralized inspection architectures when combined with appropriate network appliances and routing configurations. Route 53 provides DNS services, WAF protects web applications, and CloudFront provides global content delivery. Therefore, Transit Gateway is the service designed to provide centralized network connectivity across these AWS and hybrid environments.

Question 306. A company wants a private connection from a VPC to an AWS service without sending traffic through an internet gateway or NAT Gateway. Which solution should be evaluated first for supported AWS services?

  1. VPC endpoint
  2. Internet Gateway
  3. Public virtual interface
  4. Elastic IP address

Correct Answer: 1. VPC endpoint

Explanation:

VPC endpoints allow resources in a VPC to access supported AWS services without requiring traffic to traverse the public internet. Depending on the service and endpoint type, organizations can use gateway endpoints or interface endpoints. Gateway endpoints are commonly used for services such as Amazon S3 and DynamoDB, while interface endpoints use AWS PrivateLink and elastic network interfaces within subnets. This approach can improve network privacy and reduce the need for internet-based paths. An Internet Gateway provides general internet connectivity, while public virtual interfaces are associated with Direct Connect access to public AWS services. Therefore, a VPC endpoint is the appropriate starting point for private AWS service connectivity.

Question 307. Which VPC endpoint type uses elastic network interfaces in subnets to provide private connectivity to supported AWS services and endpoint services?

  1. Gateway endpoint
  2. Interface endpoint
  3. Internet endpoint
  4. Public endpoint

Correct Answer: 2. Interface endpoint

Explanation:

An interface VPC endpoint uses elastic network interfaces, or ENIs, deployed in selected subnets. These ENIs provide private IP addresses through which resources in the VPC can communicate with supported AWS services or services offered through AWS PrivateLink. Interface endpoints can also use private DNS names so applications can access services using familiar service hostnames while keeping traffic on private AWS networking paths. Gateway endpoints are a different endpoint type and are commonly used for Amazon S3 and DynamoDB. Internet and public endpoints do not describe VPC endpoint types. Interface endpoints are especially useful when private connectivity is needed to a broad range of AWS services or privately published endpoint services.

Question 308. Which VPC endpoint type is commonly used to provide private access to Amazon S3 without requiring an elastic network interface in the subnet?

  1. Gateway endpoint
  2. Interface endpoint only
  3. Transit Gateway endpoint
  4. NAT endpoint

Correct Answer: 1. Gateway endpoint

Explanation:

A gateway VPC endpoint provides private connectivity from a VPC to supported AWS services without requiring an elastic network interface in every subnet. Amazon S3 is a major example of a service supported by gateway endpoints. A route is added to the appropriate VPC route tables so traffic destined for the service uses the endpoint rather than an internet gateway or NAT Gateway. Gateway endpoints can therefore help keep service traffic on AWS networking paths and may reduce the need for NAT processing for supported traffic. Interface endpoints use ENIs and AWS PrivateLink and are used for many other AWS services and endpoint-service scenarios.

Question 309. An administrator wants to restrict which S3 resources can be accessed through a VPC gateway endpoint. Which feature can provide an additional layer of access control?

  1. Endpoint policy
  2. BGP local preference
  3. Route 53 health check
  4. CloudFront cache policy

Correct Answer: 1. Endpoint policy

Explanation:

A VPC endpoint policy can provide an additional layer of authorization control for requests made through a VPC endpoint. For supported gateway endpoints such as Amazon S3, administrators can use an endpoint policy to specify which actions and resources may be accessed through the endpoint. This does not replace identity-based policies or resource-based policies; rather, it works as an additional control in the authorization process. This can be useful in environments where administrators want to limit workloads to approved S3 buckets or operations. BGP attributes, Route 53 health checks, and CloudFront cache policies address routing, DNS availability, and content delivery rather than endpoint authorization.

Question 310. A company publishes a private application to other AWS accounts using AWS PrivateLink. Which component typically serves as the provider-side endpoint for the service?

  1. Network Load Balancer
  2. NAT Gateway
  3. Internet Gateway
  4. Route 53 Resolver

Correct Answer: 1. Network Load Balancer

Explanation:

AWS PrivateLink endpoint services are commonly built by placing a Network Load Balancer in front of the service that the provider wants to expose privately. Consumers then create interface VPC endpoints in their own VPCs to connect to the endpoint service. PrivateLink provides private connectivity without requiring the consumer and provider VPCs to have directly routable CIDR ranges or a VPC peering relationship. The Network Load Balancer provides the provider-side entry point for the endpoint service. NAT Gateways and Internet Gateways serve internet connectivity functions, while Route 53 Resolver provides DNS resolution. Therefore, a Network Load Balancer is the appropriate provider-side component.

Question 311. Which AWS PrivateLink characteristic allows consumer and provider VPCs to use overlapping IP address ranges?

  1. PrivateLink uses private endpoint interfaces rather than requiring direct VPC-to-VPC routing
  2. PrivateLink automatically renumbers both VPCs
  3. PrivateLink requires public IP addresses for all consumers
  4. PrivateLink disables subnet routing

Correct Answer: 1. PrivateLink uses private endpoint interfaces rather than requiring direct VPC-to-VPC routing

Explanation:

AWS PrivateLink can support service connectivity between VPCs even when the consumer and provider use overlapping CIDR ranges because the service is accessed through endpoint network interfaces rather than requiring direct network-level routing between the two VPC address spaces. This is a major architectural distinction from VPC peering, which requires non-overlapping CIDR ranges for straightforward connectivity. PrivateLink exposes the provider’s service through an endpoint abstraction, allowing consumers to access it privately without receiving general network access to the provider VPC. The provider can also control which AWS accounts or principals are allowed to connect to the endpoint service.

Question 312. Which load balancer is generally used with AWS PrivateLink because it can provide the provider-side endpoint service?

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

Correct Answer: 2. Network Load Balancer

Explanation:

A Network Load Balancer is commonly used as the provider-side load balancer for an AWS PrivateLink endpoint service. PrivateLink consumers create interface endpoints that connect privately to the endpoint service associated with the Network Load Balancer. NLB operates at Layer 4 and can provide highly scalable TCP and TLS load balancing. An Application Load Balancer is designed primarily for Layer 7 HTTP and HTTPS routing and is not the standard provider-side load balancer for a PrivateLink endpoint service. Gateway Load Balancer has a different purpose, mainly distributing traffic to virtual appliances. Understanding these load-balancer roles helps distinguish PrivateLink service publishing from centralized security inspection.

Question 313. Which AWS service is designed to distribute traffic across multiple virtual network security appliances while preserving the appliance’s ability to inspect traffic?

  1. Gateway Load Balancer
  2. Application Load Balancer
  3. Route 53
  4. Direct Connect

Correct Answer: 1. Gateway Load Balancer

Explanation:

Gateway Load Balancer, or GWLB, is designed specifically for deploying and scaling virtual network appliances such as firewalls, intrusion detection systems, and other security devices. It uses a transparent Layer 3 routing model and the GENEVE protocol to distribute traffic across appliance targets while helping preserve the characteristics needed by inspection devices. GWLB endpoints can then provide private connectivity from VPCs to the appliance service. Application Load Balancers focus on Layer 7 application routing, while Direct Connect provides private hybrid connectivity and Route 53 provides DNS functionality. GWLB is therefore the appropriate service when the requirement involves distributing network traffic across virtual security appliances.

Question 314. A security architecture uses a Gateway Load Balancer endpoint in several spoke VPCs. What is the primary purpose of these endpoints?

  1. Provide private connectivity from the VPCs to the centralized appliance service
  2. Provide internet access without NAT
  3. Assign public IPv4 addresses
  4. Perform DNS health checks

Correct Answer: 1. Provide private connectivity from the VPCs to the centralized appliance service

Explanation:

A Gateway Load Balancer endpoint provides private connectivity from a VPC to a service backed by a Gateway Load Balancer. This is particularly useful when a centralized security VPC hosts third-party firewalls or other virtual appliances and multiple application VPCs need to send traffic through those appliances. The endpoint acts as the VPC-side connection to the GWLB service, while routing determines which traffic is directed toward the endpoint. This architecture can help centralize security controls without deploying a separate appliance stack in every application VPC. GWLB endpoints do not provide general internet access, public IP allocation, or DNS health-check functionality.

Question 315. Which Route 53 routing policy is appropriate when an organization wants DNS to return a primary resource normally and a secondary resource when the primary becomes unhealthy?

  1. Weighted routing
  2. Failover routing
  3. Geolocation routing
  4. Multivalue answer routing

Correct Answer: 2. Failover routing

Explanation:

Route 53 failover routing is designed for active-passive architectures where one resource acts as the primary and another acts as the secondary. Route 53 health checks can determine whether the primary endpoint is healthy, and DNS responses can then direct clients toward the secondary resource when the primary becomes unavailable. This model is useful for disaster recovery and simple application failover scenarios. Weighted routing is intended for distributing traffic according to configured proportions, while geolocation routing selects responses based on requester geography. Multivalue answer routing can return multiple healthy records but does not provide the same explicit primary-secondary failover model.

Question 316. Which CloudFront feature allows a distribution to automatically switch to a secondary origin when the primary origin is unavailable?

  1. Origin group
  2. Cache policy
  3. Response headers policy
  4. CloudFront Function

Correct Answer: 1. Origin group

Explanation:

CloudFront origin groups can provide origin failover by defining a primary origin and a secondary origin. If a request to the primary origin results in configured failure conditions, CloudFront can retry the request against the secondary origin. This can improve application availability when the primary backend experiences an outage or certain server-side errors. Cache policies control caching behavior, response headers policies modify response headers, and CloudFront Functions are lightweight edge functions used for request or response manipulation. Origin groups specifically address the requirement for automatic fallback between origins. The configuration should include appropriate failover criteria and ensure that the secondary origin is capable of serving the requested content.

Question 317. Which CloudFront security feature allows an origin such as Amazon S3 to restrict direct access and accept requests through CloudFront?

  1. Origin Access Control
  2. Route 53 Resolver
  3. NAT Gateway
  4. Transit Gateway

Correct Answer: 1. Origin Access Control

Explanation:

CloudFront Origin Access Control, or OAC, helps secure origins such as Amazon S3 by allowing CloudFront to make authenticated requests to the origin. This can be used to prevent users from bypassing CloudFront and directly accessing protected S3 content. OAC works with an appropriate origin resource policy so that the S3 bucket permits the required CloudFront distribution access. This architecture is useful when organizations want centralized caching, security controls, and controlled content delivery through CloudFront. Route 53 Resolver handles DNS resolution, NAT Gateway provides IPv4 translation, and Transit Gateway provides network routing. Therefore, OAC is the feature designed for controlled CloudFront-to-origin access.

Question 318. Which AWS service provides managed protection against common distributed denial-of-service attacks at the AWS network edge?

  1. AWS Shield
  2. Amazon VPC Flow Logs
  3. AWS Network Manager
  4. AWS Direct Connect

Correct Answer: 1. AWS Shield

Explanation:

AWS Shield is a managed service designed to help protect AWS applications against distributed denial-of-service attacks. Shield Standard provides automatic protection for common network and transport-layer DDoS events, while Shield Advanced provides additional protection and capabilities for customers with more demanding requirements. Shield works as part of the broader AWS security architecture and can protect supported resources at the AWS network edge. VPC Flow Logs provide traffic metadata for analysis, Network Manager helps monitor and manage network infrastructure, and Direct Connect provides dedicated connectivity. These services may contribute to a secure architecture but do not provide the dedicated DDoS protection role performed by AWS Shield.

Question 319. A company wants to limit excessive requests from a single client IP address reaching its web application. Which AWS WAF capability is designed for this use case?

  1. Rate-based rule
  2. Route table propagation
  3. BGP local preference
  4. Direct Connect LAG

Correct Answer: 1. Rate-based rule

Explanation:

AWS WAF rate-based rules can monitor request rates and take configured actions when traffic exceeds a specified threshold within the applicable evaluation period. They are useful for mitigating situations where clients send unusually large numbers of web requests, such as certain forms of application-layer abuse or automated request floods. Rate-based rules can be associated with supported resources such as CloudFront distributions and Application Load Balancers. They are different from network-level routing mechanisms such as BGP or Transit Gateway route propagation. Direct Connect LAG addresses physical connection aggregation. Therefore, when the requirement is specifically to control excessive HTTP or HTTPS requests based on request rates, an AWS WAF rate-based rule is an appropriate solution.

Question 320. A network administrator wants to monitor whether a Global Accelerator endpoint remains healthy before traffic is directed to it. Which capability provides this function?

  1. Health checks
  2. VPC endpoint policies
  3. BGP route filtering
  4. S3 bucket policies

Correct Answer: 1. Health checks

Explanation:

AWS Global Accelerator uses health checks to determine whether endpoints are healthy and eligible to receive traffic. When an endpoint becomes unhealthy according to the configured health-check behavior, Global Accelerator can stop directing new traffic to that endpoint and use healthy endpoints instead. This supports application availability across multiple endpoints and Regions. Health-check configuration should use an appropriate protocol, port, and endpoint path where applicable so that the check accurately represents application availability. VPC endpoint policies control service authorization, BGP route filtering controls network advertisements, and S3 bucket policies control access to S3 resources. Therefore, health checks provide the required endpoint-health monitoring capability.