A company is hosting a simple web application on Amazon EC2 instances. The instances are managed by an Auto Scaling group (ASG) and receive traffic through an Application Load Balancer (ALB). The web application is configured to run on custom port . The solutions architect needs to configure the load balancer and security groups to ensure traffic is correctly routed and instances are properly monitored.
Which of the following actions should the solutions architect perform to meet these requirements? (Select two.)
- Configure the target group of the Application Load Balancer to perform health checks on the custom port .Cevap
- Configure the security group of the EC2 instances to allow inbound traffic from the security group of the Application Load Balancer on port .Cevap
- CConfigure the target group to perform health checks on default port , while keeping the application listener on port .
- DConfigure a stateless Network ACL on the subnet to allow inbound traffic on port , relying on the stateful security group to automatically permit return traffic without additional outbound rules.
- EConfigure an Amazon Route 53 Latency routing policy pointing to individual EC2 instances to dynamically handle load balancing and instance failover.
Cevap
Configure the target group of the Application Load Balancer to perform health checks on the custom port , and configure the security group of the EC2 instances to allow inbound traffic from the security group of the Application Load Balancer on port .
To ensure that the Application Load Balancer (ALB) can successfully route traffic and monitor the health of the EC2 instances, the target group health checks must query the port where the application is listening (port ). Additionally, the security group attached to the EC2 instances must allow inbound traffic on port from the security group of the ALB.
Adım Adım Çözüm
Anahtar Kavram
ELB Target Group health check configurations and security group port alignment for custom application ports.
Tahmini Süre:1m 0s