Amazon AWS Certified Advanced Networking - Specialty ANS-C01 Exam Practice Questions (P. 1)
- Full Access (306 questions)
- One Year of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #1
A company is planning to create a service that requires encryption in transit. The traffic must not be decrypted between the client and the backend of the service. The company will implement the service by using the gRPC protocol over TCP port 443. The service will scale up to thousands of simultaneous connections. The backend of the service will be hosted on an Amazon Elastic Kubernetes Service (Amazon EKS) duster with the Kubernetes Cluster Autoscaler and the Horizontal Pod Autoscaler configured. The company needs to use mutual TLS for two-way authentication between the client and the backend.
Which solution will meet these requirements?
Which solution will meet these requirements?
- AInstall the AWS Load Balancer Controller for Kubernetes. Using that controller, configure a Network Load Balancer with a TCP listener on port 443 to forward traffic to the IP addresses of the backend service Pods.Most Voted
- BInstall the AWS Load Balancer Controller for Kubernetes. Using that controller, configure an Application Load Balancer with an HTTPS listener on port 443 to forward traffic to the IP addresses of the backend service Pods.
- CCreate a target group. Add the EKS managed node group's Auto Scaling group as a target Create an Application Load Balancer with an HTTPS listener on port 443 to forward traffic to the target group.
- DCreate a target group. Add the EKS managed node group’s Auto Scaling group as a target. Create a Network Load Balancer with a TLS listener on port 443 to forward traffic to the target group.
Correct Answer:
A
?️
GPT
Using a Network Load Balancer (NLB) with a TLS listener is the most suitable choice for the requirements outlined. This setup supports the use of mutual TLS, which ensures that both client-server and server-client communications are authenticated. Positioning the NLB to manage encryption and maintain secure, encrypted traffic directly to the backend without decryption supports the need for encryption in transit across all connections. This approach avoids any potential decryption that could occur if using other types of load balancers, effectively meeting the mutual authentication and encryption requirements specified for the service.
send
light_mode
delete
Question #2
A company is deploying a new application in the AWS Cloud. The company wants a highly available web server that will sit behind an Elastic Load Balancer. The load balancer will route requests to multiple target groups based on the URL in the request. All traffic must use HTTPS. TLS processing must be offloaded to the load balancer. The web server must know the user’s IP address so that the company can keep accurate logs for security purposes.
Which solution will meet these requirements?
Which solution will meet these requirements?
- ADeploy an Application Load Balancer with an HTTPS listener. Use path-based routing rules to forward the traffic to the correct target group. Include the X-Forwarded-For request header with traffic to the targets.Most Voted
- BDeploy an Application Load Balancer with an HTTPS listener for each domain. Use host-based routing rules to forward the traffic to the correct target group for each domain. Include the X-Forwarded-For request header with traffic to the targets.
- CDeploy a Network Load Balancer with a TLS listener. Use path-based routing rules to forward the traffic to the correct target group. Configure client IP address preservation for traffic to the targets.
- DDeploy a Network Load Balancer with a TLS listener for each domain. Use host-based routing rules to forward the traffic to the correct target group for each domain. Configure client IP address preservation for traffic to the targets.
Correct Answer:
A
A
GPT
The Application Load Balancer (ALB) is the most suitable solution for the described scenario. It not only supports HTTPS for secure communication but also allows TLS offloading, reducing the load on web servers. With path-based routing rules, the ALB expertly directs traffic based on URL paths to appropriate target groups. Additionally, by utilizing the X-Forwarded-For header, the ALB conveys the original user's IP information to the web servers, which is vital for maintaining detailed and accurate security logs. This approach effectively meets all specified requirements for security and traffic management.
send
light_mode
delete
Question #3
A company has developed an application on AWS that will track inventory levels of vending machines and initiate the restocking process automatically. The company plans to integrate this application with vending machines and deploy the vending machines in several markets around the world. The application resides in a VPC in the us-east-1 Region. The application consists of an Amazon Elastic Container Service (Amazon ECS) cluster behind an Application Load Balancer (ALB). The communication from the vending machines to the application happens over HTTPS.
The company is planning to use an AWS Global Accelerator accelerator and configure static IP addresses of the accelerator in the vending machines for application endpoint access. The application must be accessible only through the accelerator and not through a direct connection over the internet to the ALB endpoint.
Which solution will meet these requirements?
The company is planning to use an AWS Global Accelerator accelerator and configure static IP addresses of the accelerator in the vending machines for application endpoint access. The application must be accessible only through the accelerator and not through a direct connection over the internet to the ALB endpoint.
Which solution will meet these requirements?
- AConfigure the ALB in a private subnet of the VPC. Attach an internet gateway without adding routes in the subnet route tables to point to the internet gateway. Configure the accelerator with endpoint groups that include the ALB endpoint. Configure the ALB’s security group to only allow inbound traffic from the internet on the ALB listener port.Most Voted
- BConfigure the ALB in a private subnet of the VPC. Configure the accelerator with endpoint groups that include the ALB endpoint. Configure the ALB's security group to only allow inbound traffic from the internet on the ALB listener port.
- CConfigure the ALB in a public subnet of the VPAttach an internet gateway. Add routes in the subnet route tables to point to the internet gateway. Configure the accelerator with endpoint groups that include the ALB endpoint. Configure the ALB's security group to only allow inbound traffic from the accelerator's IP addresses on the ALB listener port.
- DConfigure the ALB in a private subnet of the VPC. Attach an internet gateway. Add routes in the subnet route tables to point to the internet gateway. Configure the accelerator with endpoint groups that include the ALB endpoint. Configure the ALB's security group to only allow inbound traffic from the accelerator's IP addresses on the ALB listener port.
Correct Answer:
D
?️
GPT
Correctly integrating the ALB within the AWS Global Accelerator context implies precise configuration, notably reaffirming the ALB's assignment to a private subnet while ensuring no direct inbound internet traffic is permissible except through the accelerator. It’s also crucial to bypass configuring direct routes to the internet gateway in the subnet route tables, accommodating the accelerator's function as the exclusive inlet point. Properly configuring the ALB's security group further enforces this isolation, tailoring traffic rules to allow only interactions facilitated via the accelerator, thereby offering both enhanced security and optimal performance for global application access.
send
light_mode
delete
Question #4
A global delivery company is modernizing its fleet management system. The company has several business units. Each business unit designs and maintains applications that are hosted in its own AWS account in separate application VPCs in the same AWS Region. Each business unit's applications are designed to get data from a central shared services VPC.
The company wants the network connectivity architecture to provide granular security controls. The architecture also must be able to scale as more business units consume data from the central shared services VPC in the future.
Which solution will meet these requirements in the MOST secure manner?
The company wants the network connectivity architecture to provide granular security controls. The architecture also must be able to scale as more business units consume data from the central shared services VPC in the future.
Which solution will meet these requirements in the MOST secure manner?
- ACreate a central transit gateway. Create a VPC attachment to each application VPC. Provide full mesh connectivity between all the VPCs by using the transit gateway.
- BCreate VPC peering connections between the central shared services VPC and each application VPC in each business unit's AWS account.
- CCreate VPC endpoint services powered by AWS PrivateLink in the central shared services VPCreate VPC endpoints in each application VPC.Most Voted
- DCreate a central transit VPC with a VPN appliance from AWS Marketplace. Create a VPN attachment from each VPC to the transit VPC. Provide full mesh connectivity among all the VPCs.
Correct Answer:
C
C
GPT
When designing network configurations for multiple business units accessing a central service, using AWS PrivateLink through VPC endpoint services for the central shared services VPC is ideal. This approach not only ensures high security by eliminating the exposure of data to the public internet but also simplifies the connection management and scales easily. Each application VPC connects privately without requiring route propagation, ensuring secure and direct access to shared services without intermediary exposure.
send
light_mode
delete
Question #5
A company uses a 4 Gbps AWS Direct Connect dedicated connection with a link aggregation group (LAG) bundle to connect to five VPCs that are deployed in the us-east-1 Region. Each VPC serves a different business unit and uses its own private VIF for connectivity to the on-premises environment. Users are reporting slowness when they access resources that are hosted on AWS.
A network engineer finds that there are sudden increases in throughput and that the Direct Connect connection becomes saturated at the same time for about an hour each business day. The company wants to know which business unit is causing the sudden increase in throughput. The network engineer must find out this information and implement a solution to resolve the problem.
Which solution will meet these requirements?
A network engineer finds that there are sudden increases in throughput and that the Direct Connect connection becomes saturated at the same time for about an hour each business day. The company wants to know which business unit is causing the sudden increase in throughput. The network engineer must find out this information and implement a solution to resolve the problem.
Which solution will meet these requirements?
- AReview the Amazon CloudWatch metrics for VirtualInterfaceBpsEgress and VirtualInterfaceBpsIngress to determine which VIF is sending the highest throughput during the period in which slowness is observed. Create a new 10 Gbps dedicated connection. Shift traffic from the existing dedicated connection to the new dedicated connection.Most Voted
- BReview the Amazon CloudWatch metrics for VirtualInterfaceBpsEgress and VirtualInterfaceBpsIngress to determine which VIF is sending the highest throughput during the period in which slowness is observed. Upgrade the bandwidth of the existing dedicated connection to 10 Gbps.
- CReview the Amazon CloudWatch metrics for ConnectionBpsIngress and ConnectionPpsEgress to determine which VIF is sending the highest throughput during the period in which slowness is observed. Upgrade the existing dedicated connection to a 5 Gbps hosted connection.
- DReview the Amazon CloudWatch metrics for ConnectionBpsIngress and ConnectionPpsEgress to determine which VIF is sending the highest throughput during the period in which slowness is observed. Create a new 10 Gbps dedicated connection. Shift traffic from the existing dedicated connection to the new dedicated connection.
Correct Answer:
A
A
GPT
To determine which VPC (business unit) is causing high throughput and subsequently address the network slowness, you should monitor the Amazon CloudWatch metrics for VirtualInterfaceBpsEgress and VirtualInterfaceBpsIngress. This will identify which VIF has high traffic during peak times. Since you cannot upgrade an existing Direct Connect connection to accommodate more traffic, the correct approach is to deploy a new 10 Gbps dedicated connection and transition the traffic from the older connection. This resolves capacity issues without attempting an unsupported upgrade of the current connection.
send
light_mode
delete
Question #6
A software-as-a-service (SaaS) provider hosts its solution on Amazon EC2 instances within a VPC in the AWS Cloud. All of the provider's customers also have their environments in the AWS Cloud.
A recent design meeting revealed that the customers have IP address overlap with the provider's AWS deployment. The customers have stated that they will not share their internal IP addresses and that they do not want to connect to the provider's SaaS service over the internet.
Which combination of steps is part of a solution that meets these requirements? (Choose two.)
A recent design meeting revealed that the customers have IP address overlap with the provider's AWS deployment. The customers have stated that they will not share their internal IP addresses and that they do not want to connect to the provider's SaaS service over the internet.
Which combination of steps is part of a solution that meets these requirements? (Choose two.)
- ADeploy the SaaS service endpoint behind a Network Load Balancer.Most Voted
- BConfigure an endpoint service, and grant the customers permission to create a connection to the endpoint service.Most Voted
- CDeploy the SaaS service endpoint behind an Application Load Balancer.
- DConfigure a VPC peering connection to the customer VPCs. Route traffic through NAT gateways.
- EDeploy an AWS Transit Gateway, and connect the SaaS VPC to it. Share the transit gateway with the customers. Configure routing on the transit gateway.
Correct Answer:
AB
?️
GPT
Deploying the SaaS solution behind an Application Load Balancer (ALB) integrates well with AWS PrivateLink, which allows for secure, private connections that can seamlessly manage traffic, distributing it efficiently across multiple targets, such as EC2 instances. When considering the need for routing traffic while avoiding IP address conflicts, configuring a VPC peering and using NAT gateways become an ideal choice. This setup bypasses address overlaps as it routes customer traffic to the SaaS provider through NAT, thereby separating internal address spaces and escalating network efficiency without revealing either party's internal IP layout.
send
light_mode
delete
Question #7
A network engineer is designing the architecture for a healthcare company's workload that is moving to the AWS Cloud. All data to and from the on-premises environment must be encrypted in transit. All traffic also must be inspected in the cloud before the traffic is allowed to leave the cloud and travel to the on-premises environment or to the internet.
The company will expose components of the workload to the internet so that patients can reserve appointments. The architecture must secure these components and protect them against DDoS attacks. The architecture also must provide protection against financial liability for services that scale out during a DDoS event.
Which combination of steps should the network engineer take to meet all these requirements for the workload? (Choose three.)
The company will expose components of the workload to the internet so that patients can reserve appointments. The architecture must secure these components and protect them against DDoS attacks. The architecture also must provide protection against financial liability for services that scale out during a DDoS event.
Which combination of steps should the network engineer take to meet all these requirements for the workload? (Choose three.)
- AUse Traffic Mirroring to copy all traffic to a fleet of traffic capture appliances.
- BSet up AWS WAF on all network components.
- CConfigure an AWS Lambda function to create Deny rules in security groups to block malicious IP addresses.
- DUse AWS Direct Connect with MACsec support for connectivity to the cloud.Most Voted
- EUse Gateway Load Balancers to insert third-party firewalls for inline traffic inspection.Most Voted
- FConfigure AWS Shield Advanced and ensure that it is configured on all public assets.Most Voted
Correct Answer:
DEF
?️
GPT
Excellent choice on selecting options B, D, and F. AWS WAF is key for protecting exposed network components from threats and common vulnerabilities effectively. Meanwhile, AWS Direct Connect with MACsec is exactly what you need for securely encrypting data in transit to and from the cloud. Lastly, configuring AWS Shield Advanced on all public assets accomplishes two critical goals: mitigating DDoS attacks and safeguarding against financial impacts during scaling from such attacks. These services combine flawlessly to meet the necessary security and compliance requirements for the healthcare company’s cloud architecture.
send
light_mode
delete
Question #8
A retail company is running its service on AWS. The company’s architecture includes Application Load Balancers (ALBs) in public subnets. The ALB target groups are configured to send traffic to backend Amazon EC2 instances in private subnets. These backend EC2 instances can call externally hosted services over the internet by using a NAT gateway.
The company has noticed in its billing that NAT gateway usage has increased significantly. A network engineer needs to find out the source of this increased usage.
Which options can the network engineer use to investigate the traffic through the NAT gateway? (Choose two.)
The company has noticed in its billing that NAT gateway usage has increased significantly. A network engineer needs to find out the source of this increased usage.
Which options can the network engineer use to investigate the traffic through the NAT gateway? (Choose two.)
- AEnable VPC flow logs on the NAT gateway's elastic network interface. Publish the logs to a log group in Amazon CloudWatch Logs. Use CloudWatch Logs Insights to query and analyze the logs.Most Voted
- BEnable NAT gateway access logs. Publish the logs to a log group in Amazon CloudWatch Logs. Use CloudWatch Logs Insights to query and analyze the logs.
- CConfigure Traffic Mirroring on the NAT gateway's elastic network interface. Send the traffic to an additional EC2 instance. Use tools such as tcpdump and Wireshark to query and analyze the mirrored traffic.
- DEnable VPC flow logs on the NAT gateway's elastic network interface. Publish the logs to an Amazon S3 bucket. Create a custom table for the S3 bucket in Amazon Athena to describe the log structure. Use Athena to query and analyze the logs.Most Voted
- EEnable NAT gateway access logs. Publish the logs to an Amazon S3 bucket. Create a custom table for the S3 bucket in Amazon Athena to describe the log structure. Use Athena to query and analyze the logs.
Correct Answer:
AD
?️
GPT
To identify sources of increased traffic through a NAT gateway effectively, enabling VPC flow logs on the NAT gateway's elastic network interface is vital. After enabling, publishing these logs to CloudWatch Logs or Amazon S3 gives the flexibility to analyze the data using Amazon services such as CloudWatch Logs Insights or Athena. This approach offers a comprehensive and scalable method to scrutinize traffic patterns without needing packet-level inspection, which might be unnecessary for just understanding traffic flow and associated costs. This strategy caters well to high-level analysis and operational efficiency for a network engineer.
send
light_mode
delete
Question #9
A banking company is successfully operating its public mobile banking stack on AWS. The mobile banking stack is deployed in a VPC that includes private subnets and public subnets. The company is using IPv4 networking and has not deployed or supported IPv6 in the environment. The company has decided to adopt a third-party service provider's API and must integrate the API with the existing environment. The service provider’s API requires the use of IPv6.
A network engineer must turn on IPv6 connectivity for the existing workload that is deployed in a private subnet. The company does not want to permit IPv6 traffic from the public internet and mandates that the company's servers must initiate all IPv6 connectivity. The network engineer turns on IPv6 in the VPC and in the private subnets.
Which solution will meet these requirements?
A network engineer must turn on IPv6 connectivity for the existing workload that is deployed in a private subnet. The company does not want to permit IPv6 traffic from the public internet and mandates that the company's servers must initiate all IPv6 connectivity. The network engineer turns on IPv6 in the VPC and in the private subnets.
Which solution will meet these requirements?
- ACreate an internet gateway and a NAT gateway in the VPC. Add a route to the existing subnet route tables to point IPv6 traffic to the NAT gateway.
- BCreate an internet gateway and a NAT instance in the VPC. Add a route to the existing subnet route tables to point IPv6 traffic to the NAT instance.
- CCreate an egress-only Internet gateway in the VPAdd a route to the existing subnet route tables to point IPv6 traffic to the egress-only internet gateway.Most Voted
- DCreate an egress-only internet gateway in the VPC. Configure a security group that denies all inbound traffic. Associate the security group with the egress-only internet gateway.
Correct Answer:
C
?️
GPT
Option C is indeed the correct choice due to the specific requirements of the scenario. For setups requiring IPv6 where inbound traffic needs to be blocked while allowing outbound, the egress-only Internet gateway is the optimal solution. It is designed specifically for outbound-only internet traffic with IPv6 in AWS environments, effectively blocking all inbound IPv6 connections but still allowing the servers to communicate outward as required. This satisfies the company's need for initiating all IPv6 connections without exposure to inbound communications from the IPv6 public internet.
send
light_mode
delete
Question #10
A company has deployed an AWS Network Firewall firewall into a VPC. A network engineer needs to implement a solution to deliver Network Firewall flow logs to the company’s Amazon OpenSearch Service (Amazon Elasticsearch Service) cluster in the shortest possible time.
Which solution will meet these requirements?
Which solution will meet these requirements?
- ACreate an Amazon S3 bucket. Create an AWS Lambda function to load logs into the Amazon OpenSearch Service (Amazon Elasticsearch Service) cluster. Enable Amazon Simple Notification Service (Amazon SNS) notifications on the S3 bucket to invoke the Lambda function. Configure flow logs for the firewall. Set the S3 bucket as the destination.
- BCreate an Amazon Kinesis Data Firehose delivery stream that includes the Amazon OpenSearch Service (Amazon Elasticsearch Service) cluster as the destination. Configure flow logs for the firewall Set the Kinesis Data Firehose delivery stream as the destination for the Network Firewall flow logs.Most Voted
- CConfigure flow logs for the firewall. Set the Amazon OpenSearch Service (Amazon Elasticsearch Service) cluster as the destination for the Network Firewall flow logs.
- DCreate an Amazon Kinesis data stream that includes the Amazon OpenSearch Service (Amazon Elasticsearch Service) cluster as the destination. Configure flow logs for the firewall. Set the Kinesis data stream as the destination for the Network Firewall flow logs.
Correct Answer:
B
B
GPT
When considering the optimal way to transfer AWS Network Firewall flow logs to an Amazon OpenSearch Service cluster expediently, utilizing an Amazon Kinesis Data Firehose delivery stream is especially suitable. This method directly integrates with OpenSearch Service, facilitating near-real-time data streaming. This ensures that logs are delivered swiftly and efficiently, meeting the requirement for the shortest delivery time.
send
light_mode
delete
All Pages
