AWS Certified Solutions Architect – Associate (SAA-C03) — Question 590
A company wants to run a gaming application on Amazon EC2 instances that are part of an Auto Scaling group in the AWS Cloud. The application will transmit data by using UDP packets. The company wants to ensure that the application can scale out and in as traffic increases and decreases.
What should a solutions architect do to meet these requirements?
Answer options
- A. Attach a Network Load Balancer to the Auto Scaling group.
- B. Attach an Application Load Balancer to the Auto Scaling group.
- C. Deploy an Amazon Route 53 record set with a weighted policy to route traffic appropriately.
- D. Deploy a NAT instance that is configured with port forwarding to the EC2 instances in the Auto Scaling group.
Correct answer: A
Explanation
A Network Load Balancer (NLB) operates at Layer 4 and natively supports the UDP protocol, making it the correct choice for distributing UDP traffic across an Auto Scaling group. An Application Load Balancer (ALB) only supports HTTP, HTTPS, and gRPC traffic, which rules it out for UDP-based applications. Route 53 weighted routing and NAT instances do not offer the managed load balancing capabilities required to seamlessly scale and distribute UDP traffic to dynamic EC2 instances.