An enterprise application runs on Amazon EC2 instances inside a private subnet. These instances are managed by an Auto Scaling group (ASG) and receive traffic from an Application Load Balancer (ALB). The primary application is configured to listen on port 5000, while a dedicated monitoring daemon on each instance handles status reporting on port 5001. Currently, the target group health checks are targeted at port 5001. The ALB marks all new instances as unhealthy, yet the ASG fails to terminate or replace them. The security group on the EC2 instances is configured to accept inbound TCP connections on port 5000 from the ALB's security group. Which two modifications will resolve these issues and ensure unhealthy instances are automatically replaced? (Select two.)
- Allow inbound TCP traffic on port 5001 from the Application Load Balancer's security group in the EC2 instances' security groupAnswer
- Modify the Auto Scaling group's health check configuration to use Elastic Load Balancing (ELB) health checks instead of EC2 health checksAnswer
- CAdd an inbound rule to the subnet's Network Access Control List (NACL) to allow traffic on port 5001, and remove the port 5001 allowance from the security group
- DChange the target group health check port configuration to port 80 to align with standard HTTP health check protocols
- EConfigure an Amazon Route 53 latency routing policy to route user requests directly to individual EC2 instance IP addresses when they fail load balancer health checks