AWS Certified Solutions Architect – Associate (SAA-C03) — Question 32
A company has a website hosted on AWS. The website is behind an Application Load Balancer (ALB) that is configured to handle HTTP and HTTPS separately. The company wants to forward all requests to the website so that the requests will use HTTPS.
What should a solutions architect do to meet this requirement?
Answer options
- A. Update the ALB's network ACL to accept only HTTPS traffic.
- B. Create a rule that replaces the HTTP in the URL with HTTPS.
- C. Create a listener rule on the ALB to redirect HTTP traffic to HTTPS.
- D. Replace the ALB with a Network Load Balancer configured to use Server Name Indication (SNI).
Correct answer: C
Explanation
The correct action is to create a listener rule on the ALB to redirect HTTP traffic to HTTPS, ensuring all requests are securely routed. Updating the network ACL only controls access at the network level but does not redirect traffic. Changing the HTTP in the URL does not enforce a redirect and requires additional handling, while replacing the ALB with a Network Load Balancer is unnecessary for this scenario.