A company has a single web application hosted on Azure Virtual Machines. You are configuring an Azure Application Gateway to distribute traffic. You need to ensure that requests for the URL path `/videos/*` are directed to a pool of VMs optimized for video streaming, while all other requests are directed to a default pool of web servers. Which type of routing rule should you configure on the Application Gateway?
- ABasic routing rule
- BSession affinity routing rule
- Path-based routing ruleCevap
- DRound-robin routing rule
Cevap
Path-based routing rule
A path-based routing rule allows you to create a URL path map. This map defines rules that associate specific path patterns, like `/videos/*`, with designated backend pools. Any request that does not match the specified paths is routed to the default backend pool, which satisfies the requirements of the scenario.
Adım Adım Çözüm
Anahtar Kavram
Azure Application Gateway routing rules decide how to route traffic from the listener to backend pools. A basic rule routes all traffic unconditionally, whereas a path-based rule uses a URL path map to route traffic to specific backend pools based on the URL path in the request.
Tahmini Süre:45s