0
0
Azurecloud~20 mins

Load Balancer vs Application Gateway decision in Azure - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Azure Load Balancer & Application Gateway Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Basic Differences

Which statement correctly describes a key difference between Azure Load Balancer and Azure Application Gateway?

AAzure Load Balancer operates at Layer 4 (Transport Layer) and routes traffic based on IP and port, while Application Gateway operates at Layer 7 (Application Layer) and routes traffic based on HTTP attributes.
BAzure Load Balancer is designed for web application firewall capabilities, while Application Gateway is only for TCP load balancing.
CAzure Load Balancer can inspect HTTP headers to make routing decisions, whereas Application Gateway only routes based on IP addresses.
DAzure Load Balancer supports SSL termination and cookie-based session affinity, while Application Gateway does not support these features.
Attempts:
2 left
💡 Hint

Think about the OSI layers each service works on and what kind of traffic they handle.

Architecture
intermediate
2:00remaining
Choosing the Right Service for SSL Termination

You need to offload SSL processing from your backend servers to improve performance. Which Azure service should you choose?

AAzure Load Balancer, because it supports SSL termination natively.
BAzure Load Balancer, because it can inspect HTTP headers for SSL offloading.
CAzure Application Gateway, because it supports SSL termination and can decrypt incoming HTTPS traffic.
DNeither service supports SSL termination; you must handle it on backend servers.
Attempts:
2 left
💡 Hint

Consider which service works at the application layer and can decrypt HTTPS traffic.

scaling
advanced
2:30remaining
Scaling Web Applications with Load Balancer vs Application Gateway

Your web application experiences sudden spikes in traffic. You want to scale efficiently and maintain session persistence. Which service and feature combination is best?

AUse Azure Application Gateway with cookie-based session affinity to maintain user sessions during scaling.
BUse Azure Load Balancer with source IP affinity to maintain session persistence during scaling.
CUse Azure Load Balancer with round-robin distribution without session affinity for better scaling.
DUse Azure Application Gateway without session affinity to maximize throughput during scaling.
Attempts:
2 left
💡 Hint

Think about which service supports cookie-based session affinity and why that matters for web apps.

tradeoff
advanced
2:00remaining
Tradeoffs Between Cost and Features

You have a limited budget and need basic TCP load balancing without advanced HTTP features. Which Azure service is more cost-effective and appropriate?

AAzure Application Gateway, because it is cheaper and supports basic TCP load balancing.
BAzure Load Balancer, because it is cost-effective for simple TCP/UDP load balancing without extra features.
CAzure Application Gateway, because it offers all features at a lower price than Load Balancer.
DNeither service is suitable; you should use Azure Front Door for basic TCP load balancing.
Attempts:
2 left
💡 Hint

Consider which service is designed for simple transport layer load balancing and typically costs less.

estimation
expert
3:00remaining
Estimating Capacity for Application Gateway

Your application gateway must handle 10,000 concurrent HTTPS connections with SSL termination. Each connection requires 1 Mbps bandwidth. What is the minimum bandwidth capacity you should provision to avoid bottlenecks?

A10 Gbps, because 10,000 connections × 1 Mbps = 10,000 Mbps = 10 Gbps.
B1 Gbps, because SSL termination reduces bandwidth by compressing data.
C100 Mbps, because connections are multiplexed and bandwidth is shared efficiently.
D20 Gbps, to allow for overhead and peak traffic spikes beyond 10,000 Mbps.
Attempts:
2 left
💡 Hint

Think about overhead, peak usage, and safety margins when estimating capacity.