Soru

Zorluk: KolayConfigure Azure Application Gateway

An administrator is configuring an Azure Application Gateway to host two distinct websites: sales.contoso.com and marketing.contoso.com. Both sites must be accessed using the same public IP address of the gateway but must route to different backend pools. Which listener type should be configured on the Application Gateway?

  1. A
    Basic
  2. Multi-siteCevap
  3. C
    Path-based
  4. D
    Private

Cevap

Configure a multi-site listener on the Application Gateway.
Configuring a multi-site listener is correct because it allows the Application Gateway to host multiple domain names on a single public IP address and port. The gateway reads the Host header in incoming HTTP requests to route them to the correct backend pool.

Adım Adım Çözüm

1
Determine the requirement for hosting multiple distinct host names (sales.contoso.com and marketing.contoso.com) on a single public IP address.
Identify that a basic listener is insufficient because it only maps to a single host name or IP address.
Basic listeners cannot process multiple domain names on the same port.
2
Select the appropriate listener type that supports host name-based routing.
Choose the multi-site listener option during Application Gateway listener configuration.
Multi-site listeners read the HTTP Host header of incoming requests to determine which site is being targeted.
3
Associate the multi-site listener with routing rules to forward traffic to the appropriate backend pools.
Configure distinct routing rules for each website pointing to its respective backend pool.
Routing rules connect the listener to the backend pools.

Anahtar Kavram

Azure Application Gateway listeners define how incoming traffic is received. A basic listener handles a single domain, while a multi-site listener allows hosting multiple domains (e.g., sales.contoso.com and marketing.contoso.com) on the same IP address and port by inspecting the HTTP Host header.
Bu soruyu puanla