Topic 1 Question 247
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?
Create a security group with a rule that denies inbound connections from 0.0.0.0/0 on port 80. Attach this security group to the ALB to overwrite more permissive rules from the ALB’s default security group.
Create a network ACL that denies inbound connections from 0.0.0.0/0 on port 80. Associate the network ACL with the VPC’s internet gateway.
Create a network ACL that allows outbound connections to the VPC IP range on port 443 only. Associate the network ACL with the VPC’s internet gateway.
Create a security group with a single inbound rule that allows connections from 0.0.0.0/0 on port 443. Ensure this security group is the only one associated with the ALB.
ユーザの投票
コメント(4)
- 正解だと思う選択肢: D
Agree, D.
👍 1jdx0002024/11/27 - 正解だと思う選択肢: A
Option A is the most effective solution to ensure that the ALB only accepts HTTPS connections. By creating a security group that denies inbound connections on port 80 and attaching it to the ALB, you can override any permissive rules from the default security group. This will prevent HTTP traffic from reaching the ALB, even if it's misconfigured.
👍 1IPLogic2024/12/05 - 正解だと思う選択肢: D
Between A and D, A - There is nothing such as Deny rule in security group D - Although not exhaustive, the best choice among these
👍 1Curl80122024/12/06
シャッフルモード