Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Microsoft Certified: Azure Network Engineer Associate · Microsoft
Interactive Drag & Drop Matching
Drag each configuration to its target, or tap an option then tap a target slot.
Hotspot Solution:
I am quite agree with below, since it was tested in the lab. So the answer is not correct Listener: Create a single multi-site listener with the wildcard hostname configuration: Multi-site Listener: Hostname: *.contoso.com Routing rules: Create 4 routing rules to route requests to the respective backend pools based on the host header: Rule 1: Hostname: app1.contoso.com -> Backend pool (as1.contoso.com) Rule 2: Hostname: app2.contoso.com -> Backend pool (as1.contoso.com) Rule 3: Hostname: app3.contoso.com -> Backend pool (as2.contoso.com) Rule 4: Hostname: app4.contoso.com -> Backend pool (as2.contoso.com) By using a multi-site listener, you can minimize the number of listeners you need to configure: 1 multi-site listener 4 routing rules
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
nswer: Listeners = 2, Routing rules = 2 ✅ Explanation You have two backend pools (AS1 and AS2) and four web apps across two Azure App Service instances. Since requests must be routed based on the HTTP host header, we need to configure multi-site listeners: Listener 1 → Handles app1.contoso.com and app2.contoso.com → Routes to Backend Pool AS1. Listener 2 → Handles app3.contoso.com and app4.contoso.com → Routes to Backend Pool AS2. Why Only 2 Listeners and 2 Rules One listener per App Service instance. One routing rule per listener, matching the hostnames to the correct backend pool. No need for four listeners or four rules since multiple hostnames can share one listener when they point to the same backend pool.
Was able to configure with 1 rule and 1 Listener. Also did multiple variations like adding 2 web apps in 2 different pools and 4 web apps in both the pools and still it worked with 1 rule and 1 listener. Had to use path based routing and multisite option to make it work!
Correction. The answer is correct. Path based routing does not work in this situation