A company hosts a REST API on Amazon EC2 instances in an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The API service is configured to bind and listen on custom TCP port 5001. The EC2 instances are deployed in private subnets, and their security group permits inbound traffic on port 5001 from the ALB's security group. After a scale-out event, the newly launched instances are repeatedly marked as unhealthy by the ALB target group and are subsequently terminated by the ASG. An investigation reveals that the ALB target group health check is set to the default port, and the private subnet Network ACLs only have explicit rules allowing inbound TCP port 5001 and outbound TCP port 5001. Which two configuration changes must the solutions architect implement to resolve the health check failures and ensure the instances remain in service? (Select two.)
- Modify the target group's health check port setting to use port 5001.Answer
- Add an outbound rule to the private subnet Network ACL to allow traffic to ephemeral ports ().Answer
- CAdd an inbound rule to the EC2 instance security group to allow traffic on port 80 from the ALB security group.
- DChange the Auto Scaling group health check type from ELB to EC2.
- EConfigure an Amazon Route 53 latency routing policy to route health check traffic directly to the private IP addresses of the EC2 instances.