Question

Difficulty: MediumHigh-Performing and Elastic Compute Solutions

A media company is deploying a distributed video rendering application on a fleet of Amazon EC2 instances. The rendering nodes must exchange massive amounts of sync data with each other with the lowest possible network latency. The rendering application runs on TCP port 8082, while a secondary administrative agent runs on TCP port 80. A Network Load Balancer (NLB) distributes rendering jobs to the fleet. Which configuration should the company implement to achieve optimal network performance between nodes while ensuring the load balancer accurately identifies the status of the rendering application?

  1. A
    Deploy the EC2 instances in a partition placement group. Configure the NLB target group health checks to use port 8082.
  2. Deploy the EC2 instances in a cluster placement group. Configure the NLB target group health checks to use port 8082.Answer
  3. C
    Deploy the EC2 instances in a cluster placement group. Configure the NLB target group health checks to use port 80.
  4. D
    Deploy the EC2 instances in a spread placement group. Configure the NLB target group health checks to use port 80.

Answer

Deploy the EC2 instances in a cluster placement group and configure the NLB target group health checks to use port 8082.
The correct configuration uses a cluster placement group to group the instances within a single Availability Zone, minimizing node-to-node latency. It also configures the load balancer health checks to query port 8082, ensuring that the rendering service itself is verified rather than the secondary administrative agent on port 80.

Step-by-Step Solution

1
Determine the placement group type that minimizes network latency between EC2 instances.
Select a cluster placement group.
Cluster placement groups pack instances close together inside a single Availability Zone, enabling high-performance, low-latency node-to-node communication.
2
Identify the application port that requires health monitoring by the Network Load Balancer.
Target port 8082 for health checks.
The core rendering application listens on port 8082. Monitoring this port ensures that the load balancer only routes traffic to instances where the rendering service is running, rather than checking the secondary administrative agent on port 80.
3
Combine the placement group and port configurations to form the complete solution.
Combine a cluster placement group with target group health checks configured to port 8082.
This combined configuration satisfies both the low-latency networking requirement and the accurate health status reporting requirement.

Key Concept

Selecting cluster placement groups for low-latency HPC workloads and configuring matching health check ports on target groups.
Rate this question