SAP-C02 Question 403
Single answerA company is running a mission-critical application on Amazon EC2 instances spread across multiple Availability Zones within a single region. The application requires low-latency communication between instances and needs to handle sudden spikes in traffic. The company is concerned about network latency and wants to optimize network performance without incurring unnecessary costs. Which solution is the most suitable?
- A
Use Elastic Load Balancing (ELB) with cross-region load balancing enabled
- B
Launch the instances within a Placement Group configured for cluster placement
- C
Enable enhanced networking on the EC2 instances by using Elastic Network Adapter (ENA)
- D
Migrate the workload to Amazon ECS with Service Auto Scaling
Show answer and explanation
Correct answer: B
Explanation
Cluster placement groups are ideal for applications that require low-latency, high-bandwidth communication between EC2 instances. By grouping instances closely within the same Availability Zone, the communication overhead is minimized, meeting the company's requirements for low-latency performance. Other options, while useful in different scenarios, do not directly address the specific needs of this use case.
- A. Incorrect.
Elastic Load Balancing (ELB) with cross-region load balancing is not necessary as the workload is confined to a single region. Cross-region load balancing does not optimize low-latency communication within a region.
- B. Correct.
Cluster placement groups are specifically designed to optimize low-latency communication between EC2 instances by grouping them closely within the same Availability Zone. This is the most suitable option for the given requirements.
- C. Incorrect.
Enhanced networking via Elastic Network Adapter (ENA) improves network performance, but it does not address the low-latency communication requirement as effectively as a cluster placement group.
- D. Incorrect.
Migrating the workload to Amazon ECS with Service Auto Scaling is not directly related to optimizing network performance or low-latency communication. It focuses more on managing containerized workloads and scaling.