A financial services company has deployed a secure three-tier web application. The application tier runs on Amazon EC2 instances managed by an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The application listens on custom TCP port . The security team has configured Network ACLs (NACLs) to allow only HTTPS traffic on TCP port between the ALB subnets and the application subnets. The ALB target group has health checks configured to query TCP port . After deployment, the operations team notices that all EC2 instances are repeatedly marked as unhealthy by the target group and subsequently terminated and replaced by the ASG, even though local tests confirm the application process is running and responding on port . Which of the following configuration modifications will resolve the health check failures and stabilize the Auto Scaling group?
- Update the Network ACLs to allow outbound traffic on TCP port from the ALB subnets and inbound traffic on TCP port to the application subnets, while also allowing traffic on ephemeral TCP ports - in both directions to accommodate stateless return communication.Answer
- BChange the target group health check port configuration to standard TCP port or , allowing the ALB to perform health checks on standard web ports while client traffic continues to flow to the application on port .
- CConfigure the application instances' security groups to be stateless to allow inbound traffic on port , and modify the Network ACLs to be stateful so they automatically permit the returning ephemeral port traffic from the instances to the ALB.
- DConfigure Amazon Route 53 Latency routing with active-passive failover to redirect client requests directly to a secondary static page, bypass the ALB's health check threshold settings, and configure the ASG to use EC2 health checks instead of ELB health checks.