A solutions architect is designing a high-performance web application. The application tier runs on Amazon EC2 instances inside an Auto Scaling Group (ASG) behind an Application Load Balancer (ALB). The application listens on a custom port . The ALB is configured with a target group targeting the EC2 instances. The solutions architect configures the security group of the EC2 instances to accept incoming TCP traffic on port from the ALB's security group. However, the instances are showing as unhealthy in the target group, and users receive a HTTP Bad Gateway error. The subnets containing the EC2 instances are associated with a custom Network Access Control List (Network ACL). Which TWO configurations must the solutions architect verify or modify to resolve the health check issues and restore service? (Select two.)
- Configure the health check port in the ALB target group settings to use port instead of the default port.Answer
- Verify that the custom Network ACL has an inbound rule allowing traffic on port and an outbound rule allowing traffic on ephemeral ports for the EC2 subnet.Answer
- CModify the EC2 instances' security group to allow inbound traffic on port , as target group health checks are always forwarded to port by default regardless of target group configurations.
- DChange the subnet Network ACL to be stateful so that return traffic from the EC2 instances to the ALB is automatically allowed without requiring an explicit outbound rule.
- EConfigure Amazon Route 53 with a latency routing policy pointing to the ALB to bypass the unhealthy targets when health checks fail.