Soru

Zorluk: KolayHigh-Performing and Elastic Compute Solutions

An online gaming company is deploying a multiplayer game lobby system on Amazon EC2 instances. The lobby instances must exchange session data with the lowest possible network latency. The application is configured to listen on port 3000, and traffic must be distributed across the instances using an Application Load Balancer (ALB).

Which two configurations should the solutions architect choose to meet these requirements? (Select TWO.)

  1. Configure the ALB target group health check port to 3000Cevap
  2. Launch the EC2 instances in a cluster placement groupCevap
  3. C
    Configure the ALB target group health check port to default to port 80
  4. D
    Launch the EC2 instances in a spread placement group
  5. E
    Launch the EC2 instances in a partition placement group

Cevap

Deploy the EC2 instances in a cluster placement group and configure the ALB target group health check port to 3000.
To achieve the lowest possible network latency between Amazon EC2 instances, they should be deployed in a cluster placement group. In addition, because the application is listening on port 3000 rather than a standard web port, the Application Load Balancer's target group health check must be explicitly configured to monitor port 3000. This ensures the health checks pass and traffic is successfully routed.

Adım Adım Çözüm

1
Analyze the network latency requirement for node-to-node communication.
Identify that a cluster placement group is required to achieve ultra-low-latency and high-throughput networking between EC2 instances in the same Availability Zone.
Other placement groups (spread, partition) focus on high availability and fault isolation rather than minimizing network latency.
2
Determine the correct health check configuration for the Application Load Balancer.
Identify that the health check port must be custom-configured to port 3000 to match the application's listening port.
Using the default port 80 will cause health check failures because the application on the EC2 instances is not listening on that port.

Anahtar Kavram

Selecting appropriate EC2 placement groups for latency requirements and configuring correct ELB target group health check ports to prevent false unhealthy state.
Bu soruyu puanla