A company hosts a specialized analytics platform on Amazon EC2 instances within an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The application listens for HTTPS traffic on TCP port 8443. To monitor the application's internal status, a custom telemetry agent runs on the instances, listening on TCP port 9090. The Solutions Architect configures the ALB target group's health check settings to use TCP port 9090. The security group of the EC2 instances is configured to allow inbound TCP traffic on port 8443 from the ALB's security group. All outbound traffic from the instances is allowed. Despite the instances functioning correctly, the ALB marks all targets as unhealthy, and the ASG is repeatedly terminating and replacing the instances. Which action should the Solutions Architect take to resolve this issue?
- Update the EC2 instances' security group to allow inbound TCP traffic on port 9090 from the ALB's security group.Answer
- BChange the target group's health check configuration to use the 'traffic port' setting, since Application Load Balancers can only perform health checks on the port where application traffic is received.
- CAdd an outbound rule to the EC2 instances' security group allowing TCP traffic on port 9090 to the ALB's security group, as security groups are stateless and require explicit egress rules.
- DCreate an Amazon Route 53 latency routing policy targeting the EC2 instances' public IP addresses on port 9090 to handle health checks and bypass the Application Load Balancer's target group health checks.