Bird
0
0

You want to ensure all HTTP traffic to your AWS Application Load Balancer is securely redirected to HTTPS. Which configuration achieves this best?

hard📝 Best Practice Q15 of 15
AWS - Elastic Load Balancing
You want to ensure all HTTP traffic to your AWS Application Load Balancer is securely redirected to HTTPS. Which configuration achieves this best?
ACreate an HTTP listener on port 80 that redirects all requests to HTTPS on port 443
BCreate an HTTPS listener on port 443 and disable HTTP listener
CConfigure backend servers to redirect HTTP to HTTPS
DAttach SSL certificates to backend servers only
Step-by-Step Solution
Solution:
  1. Step 1: Understand how to redirect HTTP to HTTPS at load balancer

    Creating an HTTP listener on port 80 that redirects to HTTPS ensures all HTTP requests become secure.
  2. Step 2: Evaluate other options

    Disabling HTTP listener blocks HTTP requests; backend redirects add latency and complexity; attaching certs only to backend does not redirect.
  3. Final Answer:

    Create an HTTP listener on port 80 that redirects all requests to HTTPS on port 443 -> Option A
  4. Quick Check:

    HTTP listener with redirect = secure all traffic [OK]
Quick Trick: Use HTTP listener redirect to HTTPS for secure traffic [OK]
Common Mistakes:
  • Disabling HTTP listener without redirect
  • Relying on backend servers for redirects
  • Not attaching SSL cert to load balancer listener

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes