A gaming company runs a matchmaking service on Amazon EC2 instances within an Auto Scaling group (ASG). The instances are located in a private subnet and registered with an Application Load Balancer (ALB) target group. The matchmaking service is configured to listen on TCP port 7000. The target group is configured to route traffic to port 7000. Currently, all EC2 instances are marked as unhealthy by the ALB.
The security group for the ALB allows inbound HTTPS traffic from 0.0.0.0/0 and all outbound traffic. The security group for the EC2 instances allows inbound TCP traffic on port 7000 from the ALB's security group. The Network ACL (NACL) for the private subnet has been configured to allow inbound traffic on port 7000 and outbound traffic on port 7000.
Which two changes should the solutions architect make to resolve this issue and allow the instances to register as healthy? (Select two.)
- Modify the target group's health check settings to query port 7000 rather than the default port.Answer
- Update the outbound rules of the private subnet's network access control list (NACL) to allow TCP traffic to ephemeral ports (1024-65535).Answer
- CAdd an outbound rule to the EC2 instances' security group allowing TCP traffic to the Application Load Balancer's security group on port 7000 to permit response packets.
- DConfigure the target group health check protocol to use HTTPS on the default port to secure the transmission of health check probes.
- ESet up an Amazon Route 53 Latency routing policy pointing to the Application Load Balancer to dynamically route health check traffic away from the private subnet.