AWS Certified SysOps Administrator – Associate (SOA-C03) — Question 9

A company plans to run a public web application on Amazon EC2 instances behind an Elastic Load Balancing (ELB) load balancer. The company’s security team wants to protect the website by using AWS Certificate Manager (ACM) certificates. The load balancer 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 sets up an Application Load Balancer with both an HTTP listener on port 80 and an HTTPS listener on port 443, allowing for the redirection of HTTP traffic to HTTPS. Options A, C, and D do not correctly configure the listeners or lack the necessary HTTP to HTTPS redirection setup, making them unsuitable for the requirements.