AWS Certified Advanced Networking – Specialty (ANS-C01) — Question 3

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?

Answer options

Correct answer: A

Explanation

Option A is correct because it employs an Application Load Balancer with an HTTPS listener and uses path-based routing, meeting all specified requirements. Options B and D do not meet the requirement of path-based routing as they suggest host-based routing instead. Option C is incorrect as it uses a Network Load Balancer, which is not ideal for handling HTTP/S traffic with URL-based routing.