0
0
AWScloud~20 mins

ALB vs NLB decision in AWS - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Load Balancer Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Choosing Load Balancer for HTTP Traffic with Advanced Routing

You have a web application that requires routing requests based on URL paths and host headers. Which load balancer type is best suited for this?

ANetwork Load Balancer (NLB) because it handles TCP traffic efficiently.
BGateway Load Balancer because it is designed for third-party virtual appliances.
CClassic Load Balancer because it supports both HTTP and TCP protocols.
DApplication Load Balancer (ALB) because it supports path-based and host-based routing.
Attempts:
2 left
💡 Hint

Think about which load balancer can inspect HTTP headers to route traffic.

service_behavior
intermediate
2:00remaining
Load Balancer Choice for High Throughput TCP Traffic

Your application requires handling millions of TCP connections with very low latency. Which load balancer should you choose?

ANetwork Load Balancer (NLB) because it operates at the connection level and handles millions of connections efficiently.
BApplication Load Balancer (ALB) because it supports HTTP/2 and WebSocket.
CClassic Load Balancer because it supports both HTTP and TCP protocols.
DGateway Load Balancer because it is optimized for third-party appliances.
Attempts:
2 left
💡 Hint

Consider which load balancer works best at the transport layer for TCP traffic.

Architecture
advanced
2:00remaining
Designing a Highly Available Web Application with SSL Termination

You want to design a highly available web application that terminates SSL connections at the load balancer and supports sticky sessions. Which load balancer type should you use?

AClassic Load Balancer because it does not support SSL termination.
BApplication Load Balancer (ALB) because it supports SSL termination and sticky sessions at the application layer.
CNetwork Load Balancer (NLB) because it supports SSL termination and sticky sessions.
DGateway Load Balancer because it is designed for routing traffic to virtual appliances.
Attempts:
2 left
💡 Hint

Think about which load balancer can handle SSL termination and session stickiness at the application layer.

security
advanced
2:00remaining
Load Balancer Choice for Protecting Against DDoS Attacks on TCP Ports

Your application needs protection against DDoS attacks on TCP ports and requires static IP addresses for firewall whitelisting. Which load balancer fits these requirements?

AClassic Load Balancer because it supports static IP addresses.
BApplication Load Balancer (ALB) because it provides static IP addresses and DDoS protection.
CNetwork Load Balancer (NLB) because it provides static IP addresses and integrates with AWS Shield for DDoS protection.
DGateway Load Balancer because it is designed for third-party firewall appliances.
Attempts:
2 left
💡 Hint

Consider which load balancer provides static IPs and integrates with AWS Shield.

Best Practice
expert
2:00remaining
Optimizing Cost and Performance for Mixed HTTP and TCP Workloads

You have a mixed workload: HTTP traffic requiring advanced routing and TCP traffic requiring high throughput. You want to optimize cost and performance. What is the best architecture?

AUse a Network Load Balancer (NLB) for TCP traffic and an Application Load Balancer (ALB) for HTTP traffic to optimize performance and cost.
BUse two Network Load Balancers (NLBs), one for HTTP and one for TCP traffic, to maximize throughput.
CUse a single Application Load Balancer (ALB) for both HTTP and TCP traffic to reduce cost.
DUse a Classic Load Balancer to handle both HTTP and TCP traffic in one place.
Attempts:
2 left
💡 Hint

Think about which load balancer is best for each protocol and how to combine them efficiently.