AWS Certified Security – Specialty — Question 258

A company needs to use HTTPS when connecting to its web applications to meet compliance requirements. These web applications run in Amazon VPC on
Amazon EC2 instances behind an Application Load Balancer (ALB). A security engineer wants to ensure that the load balancer will only accept connections over port 443, even if the ALB is mistakenly configured with an HTTP listener.
Which configuration steps should the security engineer take to accomplish this task?

Answer options

Correct answer: D

Explanation

The correct answer is D because creating a security group that only allows inbound connections on port 443 ensures that the ALB does not accept any HTTP traffic. Option A would block port 80 but still allow the ALB to potentially listen on that port. Option B addresses inbound connections but doesn't guarantee that the ALB will only allow HTTPS traffic. Option C focuses on outbound connections and does not restrict inbound access to the ALB.