Soru

Zorluk: OrtaHigh-Performing and Elastic Compute Solutions

A financial services firm is deploying a distributed, real-time risk modeling engine on a fleet of Amazon EC2 instances. The modeling nodes require the lowest possible latency and maximum network throughput for node-to-node communication to synchronize state. The application runs on a custom port of 90909090 on each instance. An Application Load Balancer (ALB) is configured to route traffic to the instances on port 90909090. The Solutions Architect needs to ensure the instances can communicate efficiently and are not mistakenly marked as unhealthy by the ALB. Which combination of actions should the Solutions Architect take to meet these requirements? (Select TWO.)

  1. Launch the EC2 instances within a cluster placement group in a single Availability ZoneCevap
  2. Set the target group health check port configuration to 'traffic-port' or explicitly to port 90909090Cevap
  3. C
    Launch the EC2 instances within a spread placement group across multiple Availability Zones
  4. D
    Leave the target group health check port configuration at its default value of port 8080
  5. E
    Launch the EC2 instances within a partition placement group with a partition count of 77

Cevap

To meet the requirements, the Solutions Architect should launch the EC2 instances in a cluster placement group and configure the ALB target group health check port to 'traffic-port' or explicitly to port 90909090.
Launching instances within a cluster placement group provides low-latency, high-throughput network performance by placing them close together within a single Availability Zone. Setting the health check port to the traffic port or explicitly to port 90909090 ensures the load balancer verifies the actual port where the application is listening, preventing healthy instances from being falsely marked as unhealthy.

Adım Adım Çözüm

1
Analyze the network latency and throughput requirements of the risk modeling engine.
Identify that the workload is tightly-coupled and requires the lowest possible network latency and high throughput for node-to-node communication.
This determines the choice of EC2 placement group.
2
Select the appropriate EC2 placement group type.
A cluster placement group is selected because it packs instances close together inside a single Availability Zone to enable low-latency, high-throughput networking.
Spread and partition placement groups separate instances to increase resilience, which increases latency.
3
Analyze the Application Load Balancer port routing and health check parameters.
Identify that the application is listening on custom port 90909090, but default ALB target group health checks target port 8080.
This mismatch will cause the health checks to fail.
4
Configure the target group health check port to match the application port.
Configure the health check port to 'traffic-port' or explicitly to 90909090 so that the ALB queries the correct daemon.
This prevents healthy instances from being flagged as unhealthy.

Anahtar Kavram

Optimizing compute networks using placement groups and aligning load balancer health check ports with custom application ports.
Bu soruyu puanla