Azure Network Engineer Load Balancer vs App Gateway Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 13 | Questions: 20 | Updated: Aug 14, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. True or False: Azure Load Balancer can perform URL-based routing without additional services.

Explanation

Azure Load Balancer operates at Layer 4, distributing traffic based on IP addresses and ports. It does not inspect HTTP requests or URL paths. URL-based routing requires a Layer 7 service, such as Azure Application Gateway or Azure Front Door.

Submit
Please wait...
About This Quiz
Azure Network Engineer Load Balancer Vs App Gateway Quiz - Quiz

This quiz evaluates your understanding of Azure Load Balancer and Application Gateway\u2014two critical load balancing solutions in Azure. You'll test your knowledge of their architectures, use cases, layer operations, SSL\/TLS termination, routing capabilities, and when to deploy each solution. Perfect for Azure network engineers preparing for certification or production deployments.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. True or False: Application Gateway can rewrite HTTP headers and URL paths for backend requests.

Explanation

True. Azure Application Gateway supports rewrite rules that can modify HTTP request and response headers, as well as rewrite URL paths before forwarding requests to backend servers. These rules can help with routing, security, and compatibility requirements.

Submit

3. Azure Load Balancer's distribution mode uses a 5-tuple hash including source IP, destination IP, protocol, source port, and ____.

Explanation

Azure Load Balancer uses a five-tuple hash to distribute network flows across backend instances. The tuple includes the source and destination IP addresses, protocol, source port, and destination port, helping keep traffic from the same flow directed consistently to the same backend.

Submit

4. Select all scenarios where Application Gateway is the preferred choice: (Select all that apply)

Explanation

Application Gateway operates at the application layer and is designed for web traffic. It can route HTTP(S) requests according to URL paths and terminate HTTPS connections by handling SSL/TLS encryption. It is not intended for balancing arbitrary TCP traffic such as MySQL on port 3306 or for distributing DNS queries.

Submit

5. Azure Load Balancer uses ____ to determine backend health and remove unhealthy instances.

Explanation

Azure Load Balancer uses health probes to periodically check whether backend instances are responding. If a probe detects that an instance is unhealthy, the load balancer stops sending traffic to it until it becomes healthy again.

Submit

6. Application Gateway's Web Application Firewall (WAF) operates at which OSI layer?

Explanation

Application Gateway’s Web Application Firewall inspects HTTP and HTTPS requests, including URLs, headers, and request content. These are application-level details, so the WAF operates at Layer 7 of the OSI model.

Submit

7. Which load balancing solution supports backend pools containing Virtual Machines, VMSS, and App Services?

Submit

8. Application Gateway can perform cookie-based session affinity (sticky sessions) for stateful applications.

Explanation

Application Gateway supports cookie-based session affinity by issuing a cookie that directs a client’s subsequent requests to the same backend server. This helps stateful applications retain session data across requests without requiring users to sign in or restart their workflow each time.

Submit

9. Azure Load Balancer supports connection draining through a feature called ____.

Explanation

Azure Load Balancer uses connection reset (TCP reset) to signal that an existing connection has been terminated, such as when a backend is removed or becomes unavailable. The reset quickly informs the client that the connection cannot continue, allowing the application to stop using it and establish a new connection to a healthy backend.

Submit

10. Which feature allows Application Gateway to offload SSL/TLS encryption from backend servers?

Explanation

SSL termination allows Application Gateway to end the client’s encrypted TLS connection and decrypt incoming traffic at the gateway. This shifts encryption-related processing away from backend servers, reducing their workload. The gateway can then forward the traffic to backend servers over an unencrypted or separately encrypted connection.

Submit

11. At which OSI layer does Azure Load Balancer primarily operate?

Explanation

Azure Load Balancer operates at Layer 4, the Transport layer. It distributes incoming TCP and UDP traffic across backend resources using IP addresses and port numbers, without inspecting application-level content such as HTTP headers or URLs.

Submit

12. Application Gateway requires a dedicated ____ within a virtual network to deploy.

Explanation

An Application Gateway must be deployed in a dedicated subnet within its virtual network, separate from other resources, so it has the network space it needs to operate.

Submit

13. Which Azure service is best suited for load balancing non-HTTP protocols like TCP and UDP?

Explanation

Azure Load Balancer operates at Layer 4 and distributes TCP and UDP traffic across backend resources. Application Gateway and Front Door focus on HTTP(S) traffic, while Traffic Manager directs DNS-based traffic between endpoints rather than balancing individual connections.

Submit

14. Application Gateway can route traffic to different backend pools based on which criteria? (Select all that apply)

Explanation

Routing can use application-layer details in the request: the URL path, the HTTP hostname, and the HTTP method. These criteria help direct matching requests to the appropriate backend pool. Source port alone is not one of the listed routing criteria.

Submit

15. Azure Load Balancer distributes traffic based on a ____ hash algorithm.

Explanation

Azure Load Balancer distributes traffic using a five-tuple hash based on the source IP address, source port, destination IP address, destination port, and IP protocol. This helps determine which backend instance receives a flow and keeps packets from the same flow directed consistently to that instance.

Submit

16. Which load balancing solution supports WebSocket and HTTP/2 protocols?

Explanation

Application Gateway operates at Layer 7 and understands HTTP-based traffic, allowing it to route WebSocket connections and support HTTP/2. Azure Load Balancer operates at Layer 4, distributing TCP or UDP flows without interpreting HTTP, so it does not provide these application-protocol features. Therefore, only Application Gateway supports both.

Submit

17. Match each load balancing solution to its primary use case: 1. Layer 4 load balancing for non-HTTP protocols 2. Advanced routing based on HTTP headers and paths

Explanation

Azure Load Balancer operates at Layer 4, distributing TCP and UDP traffic, including non-HTTP protocols. Application Gateway works at Layer 7 and can inspect HTTP requests to route traffic using details such as URL paths and headers.

Submit

18. Application Gateway supports SSL/TLS termination, allowing backend servers to communicate unencrypted.

Explanation

Application Gateway can terminate SSL/TLS by decrypting incoming traffic at the gateway, then forward requests to backend servers over unencrypted HTTP. This reduces encryption-related processing on those servers. End-to-end TLS can also be configured when encryption between the gateway and backend servers is required. Thus, unencrypted backend communication is supported.

Submit

19. Azure Load Balancer can distribute traffic based on which of the following? (Select all that apply)

Explanation

Azure Load Balancer operates at Layer 4, distributing TCP/UDP traffic using network-flow information, including source and destination IP addresses and ports, along with the protocol. It does not inspect application-layer details such as HTTP host headers or URL paths; those require a Layer 7 service such as Azure Application Gateway.

Submit

20. Which Azure service provides Layer 7 (Application) load balancing with URL-based routing?

Explanation

Application Gateway operates at Layer 7 and can route HTTP/HTTPS requests based on URL paths and other application-level details. Azure Load Balancer works at Layer 4, while Traffic Manager and Front Door provide broader DNS-based and global traffic-routing capabilities.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
True or False: Azure Load Balancer can perform URL-based routing...
True or False: Application Gateway can rewrite HTTP headers and URL...
Azure Load Balancer's distribution mode uses a 5-tuple hash including...
Select all scenarios where Application Gateway is the preferred...
Azure Load Balancer uses ____ to determine backend health and remove...
Application Gateway's Web Application Firewall (WAF) operates at which...
Which load balancing solution supports backend pools containing...
Application Gateway can perform cookie-based session affinity (sticky...
Azure Load Balancer supports connection draining through a feature...
Which feature allows Application Gateway to offload SSL/TLS encryption...
At which OSI layer does Azure Load Balancer primarily operate?
Application Gateway requires a dedicated ____ within a virtual network...
Which Azure service is best suited for load balancing non-HTTP...
Application Gateway can route traffic to different backend pools based...
Azure Load Balancer distributes traffic based on a ____ hash...
Which load balancing solution supports WebSocket and HTTP/2 protocols?
Match each load balancing solution to its primary use case:...
Application Gateway supports SSL/TLS termination, allowing backend...
Azure Load Balancer can distribute traffic based on which of the...
Which Azure service provides Layer 7 (Application) load balancing with...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!