
Ultimate access to all questions.
A company is launching a new application in the AWS Cloud and requires a highly available web server positioned behind an Elastic Load Balancer. The load balancer should direct traffic to multiple target groups based on the request URL. All traffic must be secured via HTTPS, with TLS termination handled by the load balancer. The web server must retain access to the user’s original IP address to ensure accurate security logging.
Which solution fulfills these requirements?
A
Deploy 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.
B
Deploy 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.
C
Deploy 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.
D
Deploy 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.