An organization has deployed an Application Load Balancer (ALB) in a public subnet to distribute traffic to a fleet of Amazon EC2 web instances residing in a private subnet. The public subnet CIDR is and the private subnet CIDR is .
The security controls are configured as follows:
- The ALB's security group allows inbound TCP traffic on ports and from , and allows all outbound traffic.
- The EC2 instances' security group allows inbound TCP traffic on ports and from the ALB's security group.
- The Network ACL (NACL) for the private subnet has an inbound rule allowing TCP traffic on ports and from , and an outbound rule allowing all traffic to .
- The Network ACL (NACL) for the public subnet has inbound rules allowing TCP traffic on ports and from . However, its outbound rules are restricted to only allow TCP traffic on ports and to .
Users report that connection attempts to the ALB timeout.
Which of the following changes will resolve this issue and restore connectivity?
- Modify the public subnet's outbound Network ACL rules to allow outbound TCP traffic to the ephemeral port range - for destination .Cevap
- BAdd an outbound rule to the EC2 instances' security group to allow TCP traffic on the ephemeral port range - to the ALB's security group.
- CAdd a route to the private subnet's route table targeting the Internet Gateway for destination .
- DAssociate a Gateway Load Balancer endpoint with the route tables of both the public and private subnets.