SAA-C03 Question 220
Select 2A gaming company has deployed a multiplayer online game. The game servers are hosted on Amazon EC2 instances behind an Application Load Balancer (ALB) in a single AWS Region. Players are reporting increased latency during peak traffic hours. Upon investigation, the company identifies that the ALB is experiencing high request latencies, and some EC2 instances are being overwhelmed with traffic. How should the company redesign the architecture to improve performance and handle peak traffic effectively?
- A
Enable Auto Scaling for the EC2 instances to dynamically adjust the number of instances based on traffic demand.
- B
Deploy an Amazon CloudFront distribution in front of the Application Load Balancer to cache and serve frequently accessed content.
- C
Use a Network Load Balancer (NLB) instead of the Application Load Balancer to reduce latency.
- D
Configure the Application Load Balancer to distribute traffic across multiple AWS Regions using cross-region load balancing.
- E
Increase the size of the EC2 instances to handle more traffic per instance.
Show answer and explanation
Correct answers: A, B
Explanation
To design a high-performing architecture for the gaming application, enabling Auto Scaling ensures that the EC2 instances can handle fluctuating traffic dynamically. Additionally, deploying Amazon CloudFront helps offload static content delivery from the ALB, improving overall performance and latency. Other options either do not fit the requirements or provide less scalable solutions.
- A. Correct.
Auto Scaling ensures that the number of EC2 instances adjusts dynamically to match traffic demand, reducing the risk of instances being overwhelmed during peak traffic.
- B. Correct.
Amazon CloudFront can cache and serve frequently accessed static content, reducing the load on the ALB and improving latency for end users.
- C. Incorrect.
While Network Load Balancers are optimized for low latency, they are not designed for HTTP/HTTPS traffic and do not provide the layer 7 routing features required for this gaming application.
- D. Incorrect.
Cross-region load balancing through an ALB is not supported. Instead, you would use AWS Global Accelerator or a custom solution for multi-region traffic distribution.
- E. Incorrect.
Increasing the size of the EC2 instances may temporarily mitigate the issue but does not address traffic spikes dynamically or scale horizontally to handle growth.