Explanation
Network Load Balancer is the correct answer because:
- Network Load Balancer (NLB) operates at Layer 4 (Transport layer) of the OSI model
- It can handle both TCP and UDP traffic
- NLB is designed for high-performance, low-latency scenarios
- It can handle millions of requests per second while maintaining ultra-low latencies
Why the other options are incorrect:
- Amazon API Gateway: Primarily handles HTTP/HTTPS traffic (Layer 7) for REST APIs and WebSocket connections
- Application Load Balancer (ALB): Operates at Layer 7 (Application layer) and only handles HTTP/HTTPS traffic
- Gateway Load Balancer: Specialized for deploying, scaling, and managing third-party virtual appliances, but primarily handles IP traffic rather than specifically TCP/UDP distribution
Key Use Cases for Network Load Balancer:
- TCP/UDP-based applications
- Gaming applications
- IoT applications
- Voice over IP (VoIP)
- Real-time streaming applications