You have two Azure App Service instances that host the web apps shown the following table.

You deploy an Azure application gateway that has one public frontend IP address and two backend pools.
You need to publish all the web apps to the application gateway. Requests must be routed based on the HTTP host headers.
What is the minimum number of listeners and routing rules you should configure? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Recent Comments (The most recent comments are at the top.)
Listeners:
Two listeners, one for each unique HTTP host header (app1.contoso.com and app2.contoso.com) to differentiate between the web apps hosted on the Azure App Service instances.
Routing Rules:
Two routing rules, one for each backend pool (as1.contoso.com and as2.contoso.com), to direct traffic from the respective listeners to the correct backend pools based on the HTTP host headers.
Therefore, the correct options to select are:
Listeners: 2
Routing Rules: 2
1,2 the right answer