Skip to Content

AZ-700: How to Configure Azure Application Gateway with URL Path-Based Routing for Multiple Web Apps?

Learn how to implement Azure Application Gateway with URL Path-Based Routing to direct traffic to specific backend pools for different web applications. Ensure proper routing for www.contoso.com and its subpaths using this efficient solution.

Table of Contents

Question

You have an Azure Application Gateway named AzGW1 that contains two backend pools named Pool1 and Pool2. Each pool hosts a different web app.
You need to recommend a solution that will ensure the following:

  • Any connections directed to www.contoso.com must be directed to Pool1.
  • Any connections directed to www.contoso.com/app1 must be directed to Pool1.
  • Any connections to www.contoso.com/app2 must be directed to Pool2.

What should you recommend?

A. Conditional Access policy
B. Listener redirection
C. URL Path Based Routing
D. URL rewrite

Answer

C. URL Path Based Routing

Explanation

URL Path Based Routing allows certain query strings to be sent to a different backend pool than other traffic. This leaves URLs consistent for users but can be directed to different backend hardware. Rewrite rules are for changing a query string or for adding and removing headers.

Designing and Implementing Microsoft Azure Networking Solutions AZ-700 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Designing and Implementing Microsoft Azure Networking Solutions AZ-700 exam and earn Designing and Implementing Microsoft Azure Networking Solutions AZ-700 certification.