Soru

Zorluk: OrtaConfigure Azure Application Gateway

An administrator is configuring a single Azure Application Gateway v2 named AppGW1 to support two custom domains: `orders.contoso.com` and `inventory.contoso.com`. Traffic for `orders.contoso.com` must route to a backend pool named `OrderPool`. Traffic for `inventory.contoso.com` must route to a backend pool named `InventoryPool`. What is the minimum number of listeners and routing rules required on AppGW1?

  1. Two multi-site listeners and two routing rulesCevap
  2. B
    One basic listener and two routing rules
  3. C
    One multi-site listener and one routing rule
  4. D
    Two basic listeners and one routing rule

Cevap

Two multi-site listeners and two routing rules
To route traffic to different backend pools based on distinct host names (multi-site hosting), you must configure a separate multi-site listener for each host name. Since there are two separate domains (`orders.contoso.com` and `inventory.contoso.com`) pointing to different backend pools, two multi-site listeners are required. Each listener must be associated with a dedicated routing rule that maps the listener to its respective backend pool, requiring a total of two routing rules.

Adım Adım Çözüm

1
Determine listener requirements for hosting multiple domain names.
Two multi-site listeners are required, one listening for `orders.contoso.com` and the other for `inventory.contoso.com`.
Basic listeners do not evaluate host headers to differentiate traffic for multiple domains, so multi-site listeners must be used.
2
Determine the routing rule configuration to send traffic to different backend pools.
Two separate routing rules are required.
Each routing rule binds a single listener to a backend pool. Since we have two listeners pointing to two different backend pools, we need two separate routing rules.

Anahtar Kavram

Azure Application Gateway listeners and routing rules configuration for hosting multiple sites.
Bu soruyu puanla