Learn how to configure Azure Application Gateway to route web app traffic based on domain names using multi-site listeners. Get expert insights on best practices for handling multiple domain-based routing rules in your Azure environment.
Table of Contents
Question
You host multiple web apps on a single Azure Application Gateway instance. Each app has its own domain name and requires separate routing rules.
You need to configure Application Gateway to route requests to the appropriate backend pools based on the domain name.
Which feature should you implement?
A. Apply path-based routing rules.
B. Enable URL-based routing.
C. Implement connection draining.
D. Use multi-site listeners.
Answer
D. Use multi-site listeners.
Explanation
Using multi-site listeners enables routing requests to different backend pools based on the host header or domain name, which is necessary for hosting multiple apps on a single gateway instance. Implementing connection draining allows for the graceful removal of backend pool members during maintenance or scaling activities, but it does not provide functionality for routing requests based on domain names. Applying path-based routing rules directs traffic based on the URL path, not the domain name, so it is not suitable for routing requests based on different domain names. Enabling URL-based routing might seem like it would allow routing based on domain names, but it actually routes based on URL paths, not domain names.
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.