ANS-C01 · 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…
The correct answer is A. Deploy an Application Load Balancer with an HTTPS listener. Use path-based routing rules to. An Application Load Balancer (ALB) can be used to route traffic to multiple target groups based on the URL in the request. The ALB can be configured with an HTTPS listener to ensure all traffic uses HTTPS. TLS processing can be offloaded to the ALB, which reduces the load on…
Question
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?
Options
- ADeploy an Application Load Balancer with an HTTPS listener. Use path-based routing rules to
- BDeploy an Application Load Balancer with an HTTPS listener for each domain. Use host-based
- CDeploy a Network Load Balancer with a TLS listener. Use path-based routing rules to forward the
- DDeploy a Network Load Balancer with a TLS listener for each domain. Use host-based routing
How the community answered
(37 responses)- A70% (26)
- B5% (2)
- C8% (3)
- D16% (6)
Explanation
An Application Load Balancer (ALB) can be used to route traffic to multiple target groups based on the URL in the request. The ALB can be configured with an HTTPS listener to ensure all traffic uses HTTPS. TLS processing can be offloaded to the ALB, which reduces the load on the web server. Path-based routing rules can be used to route traffic to the correct target group based on the URL in the request. The X-Forwarded-For request header can be included with traffic to the targets, which will allow the web server to know the user's IP address and keep accurate logs for security purposes. https://docs.aws.amazon.com/elasticloadbalancing/latest/application/x-forwarded-headers.html
Topics
Community Discussion
No community discussion yet for this question.