A company hosts a containerized web application on Amazon EC2 instances within a private subnet. The instances are managed by an Auto Scaling Group (ASG) behind an Application Load Balancer (ALB). The application listens on custom TCP port . The ALB's target group is configured to route traffic to port , but its health check is configured to use the default HTTP port . As a result, all newly launched EC2 instances fail the ALB health check and are terminated by the ASG.
The security group assigned to the EC2 instances allows inbound TCP traffic on port from the ALB security group, and allows all outbound traffic. The private subnet's Network ACL allows inbound traffic on port and port , but its outbound rule only allows traffic to destination ports and to allow for package updates.
Which two actions should a solutions architect take to resolve the health check failures and allow the instances to receive application traffic? (Select two.)
- Modify the target group health check settings to perform health checks on port instead of the default port.Cevap
- Update the outbound Network ACL rules of the private subnet to allow traffic to ephemeral ports .Cevap
- CUpdate the security group of the EC2 instances to allow outbound TCP traffic on port and port to the Application Load Balancer.
- DModify the target group configuration to enable stickiness and change the target type from instance to ip.
- EConfigure an Amazon Route 53 latency routing policy with health checks to route client requests directly to the EC2 instances, bypassing the Application Load Balancer.