Question

Difficulty: HardHigh-Performing and Elastic Compute Solutions

An engineering company runs distributed vehicle collision simulation models across a fleet of Amazon EC2 instances. The simulation nodes require sub-millisecond, low-latency node-to-node communication to synchronize physics engines in real-time. Additionally, a central scheduler distributes job configurations to these instances through a Network Load Balancer (NLB) on TCP port 443, which maps to the simulation application listening on TCP port 8080 on the instances. Which combination of configurations will meet the performance requirements and ensure the load balancer correctly routes traffic to the instances? (Select TWO.)

  1. Deploy the EC2 instances within a single Availability Zone using a cluster placement group.Answer
  2. Configure the target group for the Network Load Balancer to perform health checks on TCP port 8080.Answer
  3. C
    Deploy the EC2 instances across multiple Availability Zones using a spread placement group.
  4. D
    Configure the target group for the Network Load Balancer to perform health checks on the default HTTP port 80.
  5. E
    Deploy the EC2 instances in a partition placement group distributed across multiple physical partitions.

Answer

Deploy the EC2 instances within a single Availability Zone using a cluster placement group, and configure the target group for the Network Load Balancer to perform health checks on TCP port 8080.
The correct options are deploying the EC2 instances in a single Availability Zone using a cluster placement group, and configuring the target group for the Network Load Balancer to perform health checks on TCP port 8080. A cluster placement group packs instances close together within a single Availability Zone, enabling workloads to achieve low-latency and high-throughput network performance. The health check port must match the application port (8080) so that the load balancer can verify the application is running and successfully route requests.

Step-by-Step Solution

1
Analyze inter-node latency requirements.
The simulation nodes require sub-millisecond, low-latency node-to-node communication. To satisfy this, a cluster placement group is necessary because it places instances physically close together on the underlying hardware.
Cluster placement groups ensure that instances are launched within a single Availability Zone, maximizing network throughput and minimizing packet latency.
2
Analyze the load balancer health check configuration.
The application listens on TCP port 8080, while the Network Load Balancer routes traffic to the instances. The health check must target port 8080.
If the health check is configured to use default port 80, the load balancer will receive connection timeouts or resets because the application is not listening on that port. This results in the instances being falsely marked unhealthy.

Key Concept

Selecting cluster placement groups for low-latency tightly-coupled compute workloads, and aligning ELB target group health check ports with the application listening port.
Estimated Time:2m 0s
Rate this question