What should you create to configure AG2?
What should you create to configure AG2?
To configure AG2 for load balancing traffic across different domains such as http://www.adatum.com and http://fabrikam.com, you should create multi-site listeners. This setup allows the application gateway to properly route requests based on the incoming URL, directing traffic to the appropriate backend pools based on the domain name. URL path-based routing rules would not be appropriate here as they route traffic based on paths within a single domain.
correct answer. https://docs.microsoft.com/en-us/azure/application-gateway/create-multiple-sites-portal
https://docs.microsoft.com/en-us/azure/application-gateway/multiple-site-overview. Almost identical to this question.
Correct
Given answer is correct and provided explanation supports it
B is the correct answer - URL path-based routing rules It is not multi site as URL is same - corporate.adatum.com - only the paths differ after that
URL path-based routing rules are only effective in the part after de domain name. For example www.contoso.com/<here you can define your URL path filter> But the scenario needs a solution for routing adatum.com and fabrikan.com to different backend pools. Answer A (multi-site listeners) is the correct solution in this case.
you need to double check the "existing environment". the AG2 is for "http://www.adatum.com" and "http://fabrikam.com" so URL path-based routing rules is incorrect