AmazonAmazon Advanced Networking Specialty ANS-C01 Certification·EN·Updated 3 Aug 2026
A company is migrating an application to a new AWS account in a single Region. The app runs on EC2 instances in private subnets across multiple Availability Zones. Users connect via HTTPS from browsers. Inbound traffic must be balanced across AZs and instances, and all connections from the same client session must go to the same EC2 instance. The company also requires end-to-end encryption using the application SSL certificate. Which design meets these requirements?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a Network Load Balancer. Create a target group. Set the protocol to TCP and the port to 443 for the target group. Turn on session affinity (sticky sessions). Register the EC2 instances as targets. Create a listener. Set the protocol to TCP and the port to 443 for the listener. Deploy SSL certificates to the EC2 instances..
Why this is the answer
This option correctly identifies the need for a Network Load Balancer (NLB) to handle the high performance and low latency required, while also supporting end-to-end encryption with the application's SSL certificate. Setting the target group and listener protocols to TCP on port 443 allows the NLB to pass encrypted traffic directly to the EC2 instances, where the SSL termination occurs. This ensures end-to-end encryption. Session affinity (sticky sessions) on the NLB ensures that connections from the same client are routed to the same instance.
The other options are incorrect because:
An Application Load Balancer (ALB) would terminate SSL at the load balancer, not on the EC2 instances, thus not providing end-to-end encryption with the application's certificate.
Setting the NLB target group protocol to TLS would also terminate SSL at the NLB.
An HTTP listener on an ALB would not handle HTTPS traffic.