Skip to Content

AZ-104: How to configure and use Azure Application Gateway for load balancing and web security

Your IT department is adding several web servers to distribute the load on the motor vehicle department’s registration website. You’re working on the configuration plan to centralize the site by using Azure Application Gateway. A few teams have submitted configuration requirements and questions for your consideration:

  • The web team is installing the application gateway. They want to ensure incoming requests are checked for common security threats like cross-site scripting and crawlers.
  • The server team has requested information about how Application Gateway routes requests to web servers.
  • You need to present a high-level comparison of load-balancing strategies to the executive committee.

Question 1

What criteria does Azure Application Gateway use to route requests to a web server?

A. The region where the servers hosting the web application are located.
B. The hostname, port, and path in the URL of the request.
C. The users authentication information.

Answer

B. The hostname, port, and path in the URL of the request.

Explanation

Application Gateway uses the hostname, port, and URL path.

A is incorrect. Application Gateway doesn’t directly use the region to route requests.
C is incorrect. Application Gateway doesn’t consider user authentication information when routing requests.

Question 2

Which load-balancing strategy does Azure Application Gateway implement?

A. Requests are distributed to the server in the back-end pool with the lightest load.
B. Each server in the back-end pool is polled in turn, and the request is sent to the first server that responds.
C. Requests are distributed to each available server in a back-end pool in turn via a round-robin technique.

Answer

C. Requests are distributed to each available server in a back-end pool in turn via a round-robin technique.

Explanation

Application Gateway distributes requests across multiple servers by using a round-robin technique.

A is incorrect. Application Gateway doesn’t review workloads.
B is incorrect. Application Gateway doesn’t implement polling.

Question 3

How can the concerns about security threats be addressed?

A. Install Azure Web Application Firewall.
B. Install an internal load balancer.
C. Install Azure Firewall.

Answer

A. Install Azure Web Application Firewall.

Explanation

Azure Web Application Firewall is an optional component that handles incoming requests before they reach a listener. Web Application Firewall checks each request for many common threats, based on the Open Web Application Security Project.

B is incorrect. An internal load balancer isn’t the ideal solution to address the security threats.
C is incorrect. Azure Firewall isn’t the ideal solution to address the security threats.

Microsoft Azure Administrator AZ-104 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Azure Administrator AZ-104 exam and earn Microsoft Azure Administrator AZ-104 certification.