10 free AWS ANS-C01 practice questions with the correct answer and a full explanation for each, taken from the CertStash pack of 296 questions. Work through them, then open each answer to check your reasoning.
Get all 296 questions (US$39) · Download these 10 as a PDF
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?
Show answer and explanation


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?
Show answer and explanation

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?
Show answer and explanation
Correct answer: D. Configure 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.
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. The ALB must be in a private subnet with an internet gateway and routes configured so the Global Accelerator can reach it. The ALB's security group must restrict inbound traffic to only the accelerator's IP address ranges on the listener port, ensuring the application is accessible only through Global Accelerator and not directly from the internet.
Why the other options are wrong
- A. An internet gateway without routes is non-functional; the configuration does not restrict access to the accelerator only, allowing direct internet access.
- B. Without an internet gateway and routes, the Global Accelerator cannot reach the private ALB; this configuration is incomplete.
- C. Placing the ALB in a public subnet defeats the purpose of restricting access to the accelerator only; direct internet access becomes possible.
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?
Show answer and explanation
Correct answer: C. Create VPC endpoint services powered by AWS PrivateLink in the central shared services VPC. Create VPC endpoints in each application VPC.
PrivateLink in the central shared services VPC. Create VPC endpoints in each application VPC. VPC endpoint services powered by AWS PrivateLink provide granular security controls through service-level permissions and do not require full mesh connectivity, enabling scalable architecture as more business units are added. Each business unit can independently create VPC endpoints to consume the central service with isolated, controlled access.
Why the other options are wrong
- A. Transit gateway with full mesh connectivity creates unnecessary exposure between all VPCs and lacks granular security controls between business units.
- B. VPC peering does not scale efficiently and requires management of multiple peering relationships; it also provides less granular security control than PrivateLink.
- D. A transit VPC with VPN appliances introduces unnecessary complexity and cost; VPN is not required for same-region VPC-to-VPC communication.
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?
Show answer and explanation
Correct answer: A. Review 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.
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. CloudWatch metrics VirtualInterfaceBpsEgress and VirtualInterfaceBpsIngress are the correct metrics to identify which VIF (and thus which business unit) is consuming the most throughput during the slowness period. Upgrading to a 10 Gbps dedicated connection resolves the saturation issue while allowing identification of the offending business unit.
Why the other options are wrong
- B. While upgrading to 10 Gbps is a valid solution, the correct metrics are VirtualInterfaceBpsEgress/Ingress, not the ones mentioned.
- C. ConnectionBpsIngress and ConnectionPpsEgress are not the appropriate metrics for per-VIF traffic analysis; downgrading to 5 Gbps would worsen the problem.
- D. ConnectionBpsIngress and ConnectionPpsEgress are incorrect metrics for identifying which VIF is causing the issue.
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.)
Show answer and explanation
Correct answer: A, B
A. Deploy the SaaS service endpoint behind a Network Load Balancer. B. Configure an endpoint service, and grant the customers permission to create a connection to the endpoint service. An endpoint service powered by AWS PrivateLink allows the SaaS provider to expose the service without internet exposure, and VPC endpoints in customer accounts enable private connections. This architecture avoids routing traffic over the internet and handles IP address overlap by operating at the service level rather than the network layer, requiring no address translation or VPC peering.
Why the other options are wrong
- C. Application Load Balancer does not address the core requirement of avoiding internet exposure or handling IP overlap.
- D. VPC peering fails because it exposes the direct IP address overlap conflict that the customers explicitly want to avoid.
- E. Transit Gateway requires routing configuration that would create IP address conflicts given the stated address overlap.
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.)
Show answer and explanation
Correct answer: D, E, F
D. Use AWS Direct Connect with MACsec support for connectivity to the cloud. E. Use Gateway Load Balancers to insert third-party firewalls for inline traffic inspection. F. Configure AWS Shield Advanced and ensure that it is configured on all public assets. AWS Direct Connect with MACsec encrypts traffic in transit to on-premises. Gateway Load Balancers insert third-party firewalls for inline traffic inspection of all egress flows. AWS Shield Advanced protects public assets against DDoS attacks and includes financial protection (DDoS cost protection) against scaling charges during attacks.
Why the other options are wrong
- A. Traffic Mirroring copies traffic to capture appliances but does not provide inline inspection or active threat blocking.
- B. AWS WAF addresses application-layer attacks but does not provide comprehensive inline inspection of all traffic or network-layer DDoS protection.
- C. Lambda-based security group modifications react to threats but do not provide proactive DDoS protection or Shield's cost protection guarantee.
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.)
Show answer and explanation
Correct answer: A, D
A. Enable 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. D. Enable 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. VPC flow logs on the NAT gateway's ENI capture network traffic data and can be published to CloudWatch Logs for real-time analysis with CloudWatch Logs Insights, or to S3 for historical analysis with Athena. Both approaches enable identification of the source of increased NAT gateway usage through queryable traffic records.
Why the other options are wrong
- B. NAT gateway access logs do not exist as an AWS feature; NAT gateways produce VPC flow logs, not access logs.
- C. Traffic Mirroring on a NAT gateway ENI is complex and not a standard investigative approach compared to VPC flow logs.
- E. NAT gateway access logs are not a real AWS feature; VPC flow logs are the correct mechanism.
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?
Show answer and explanation
Correct answer: C. Create an egress-only Internet gateway in the VPC. Add a route to the existing subnet route tables to point IPv6 traffic to the egress-only internet gateway.
a route to the existing subnet route tables to point IPv6 traffic to the egress-only internet gateway. An egress-only internet gateway is built exactly for this case: it allows outbound IPv6 traffic from instances in private subnets and blocks all unsolicited inbound IPv6 traffic from the internet. Pointing the IPv6 default route in the subnet route tables at the egress-only internet gateway lets the servers initiate connections to the provider's IPv6 API while keeping them unreachable from outside.
Why the other options are wrong
- A. NAT gateways offer only NAT64, not IPv6 to IPv6 egress.
- B. NAT instances are IPv4 only and provide no IPv6 egress.
- D. Security groups cannot be associated with an egress-only internet gateway, and without an IPv6 route the traffic never leaves the subnet.
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?
Show answer and explanation

That was 10 of 296.
The full AWS ANS-C01 pack has all 296 questions, each with the answer, the explanation and why the other options are wrong, plus a questions-only copy for timed runs. US$39, paid once, with free monthly updates and a pass-or-your-money-back guarantee.
