AWS Certified SysOps Administrator – Associate — Question 94

A company plans to run a public web application on Amazon EC2 instances behind an Elastic Load Balancer (ELB). The company’s security team wants to protect the website by using AWS Certificate Manager (ACM) certificates. The ELB must automatically redirect any HTTP requests to HTTPS.

Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

Option B is correct because it properly configures an Application Load Balancer with an HTTP listener on port 80 and an HTTPS listener on port 443, allowing for the implementation of a redirection rule from HTTP to HTTPS and the use of an SSL/TLS certificate. Options A and C incorrectly set the HTTPS listener and do not provide the right configuration for redirection. Option D uses a Network Load Balancer instead of an Application Load Balancer, which does not support HTTP-to-HTTPS redirection in the same manner.