AWS Certified Solutions Architect - Associate / Question #1397 of 1019

Question #1397

A live streaming platform uses UDP for real-time video transmission between users and servers in an Auto Scaling group. The platform experiences fluctuating traffic throughout the day and requires a database to store user session data and preferences that can scale automatically without manual intervention. Which solution should a solutions architect recommend?

A

Use Amazon Route 53 with weighted routing policies and Amazon Aurora Serverless for data storage.

B

Use a Network Load Balancer for traffic distribution and Amazon DynamoDB on-demand for data storage.

C

Use an Application Load Balancer for traffic distribution and Amazon DynamoDB global tables for data storage.

D

Use a Gateway Load Balancer for traffic distribution and Amazon Keyspaces (Apache Cassandra) for data storage.

Explanation

The correct answer is B. Here's why:

- Network Load Balancer (NLB): The platform uses UDP for real-time video transmission. NLBs operate at Layer 4 (TCP/UDP) and are designed to handle high-throughput, low-latency traffic like live streaming. ALB (Option C) and Gateway Load Balancer (Option D) are unsuitable because ALB works at Layer 7 (HTTP/HTTPS only), and Gateway Load Balancer is for third-party appliance traffic, not user-facing UDP.

- DynamoDB On-Demand: The requirement for automatic scaling without manual intervention aligns with DynamoDB's on-demand mode, which scales capacity based on workload. Aurora Serverless (Option A) and Keyspaces (Option D) are less optimal: Aurora Serverless has scaling delays, and Keyspaces is better suited for Cassandra-specific use cases.

- Why Other Options Fail:
- A: Route 53 weighted routing is DNS-based and not ideal for real-time traffic distribution. Aurora Serverless is not optimized for session data's low-latency needs.
- C: ALB cannot handle UDP traffic.
- D: Gateway Load Balancer is not designed for user traffic distribution.

Key Points:
- Use NLB for UDP-based workloads.
- DynamoDB on-demand is serverless and scales automatically.
- ALB and Gateway Load Balancer are unsuitable for UDP.

Answer

The correct answer is: B