Amazon

SOA-C03 practice question 9

AWS Certified CloudOps Engineer - Associate (SOA-C03) · free question 9 of 20

Question

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?
  • A. Create an Application Load Balancer that has one HTTPS listener on port 80. Attach an SSL/TLS certificate to listener port 80. Create a rule to redirect requests from HTTP to HTTPS.
  • B. Create an Application Load Balancer that has one HTTP listener on port 80 and one HTTPS protocol listener on port 443. Attach an SSL/TLS certificate to listener port 443. Create a rule to redirect requests from port 80 to port 443. Correct
  • C. Create an Application Load Balancer that has two TCP listeners on port 80 and port 443. Attach an SSL/TLS certificate to listener port 443. Create a rule to redirect requests from port 80 to port 443.
  • D. Create a Network Load Balancer that has two TCP listeners on port 80 and port 443. Attach an SSL/TLS certificate to listener port 443. Create a rule to redirect requests from port 80 to port 443.

Explanation

Option B is correct because it specifies creating an Application Load Balancer with both HTTP and HTTPS listeners on ports 80 and 443, respectively. An SSL/TLS certificate is attached to the HTTPS listener (port 443), and a rule is created to redirect HTTP requests (port 80) to HTTPS, which meets the requirement of automatically redirecting HTTP traffic to HTTPS.

Need the theory? Learn it free in the SOA-C03 course on Godlike Academy

Practice the whole free set

Answer all 20 free SOA-C03 questions with instant feedback, or unlock all 129 questions with Learn and Exam modes.