A public website is hosted behind an Application Load Balancer that currently only has an HTTP listener on port 80. You have a validated public certificate for www.example.com in ACM. Existing users must continue to use the same endpoint, but all traffic between clients and the ALB needs to be encrypted. Which set of actions should you take?
Choose an answer
Tap an option to check your answer.
Correct answer: Configure the ALB’s HTTP (port 80) listener to redirect all requests to HTTPS (port 443). Then add an HTTPS listener on port 443, set its default action to forward to the target group, and attach the ACM certificate for www.example.com as the SSL certificate..
Why this is the answer
The correct approach is to redirect HTTP traffic to HTTPS while enabling HTTPS. Configuring the HTTP listener on port 80 to redirect to HTTPS (port 443) ensures all client traffic is encrypted, meeting the requirement. Adding an HTTPS listener on port 443 with the ACM certificate and forwarding to the existing target group completes the setup. Option 1 is incorrect because it doesn't redirect HTTP traffic, leaving unencrypted access possible. Option 2 is incorrect because removing the HTTP listener on port 80 would break existing unencrypted links and prevent automatic redirection for users who type http://. Option 3 is incorrect because you cannot attach an SSL certificate directly to an HTTP listener; certificates are for HTTPS listeners.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed