You plan to publish a site at www.contoso.com using two App Service apps (AS1 and AS2). You will use Azure Traffic Manager with a profile named TMprofile1 that uses the Weighted routing method to distribute traffic between AS1 and AS2. To have Traffic Manager handle requests for www.contoso.com, which DNS record should you create for the www.contoso.com name?
Choose an answer
Tap an option to check your answer.
Correct answer: A CNAME record that maps www.contoso.com to TMprofile1.trafficmanager.net.
Why this is the answer
Azure Traffic Manager works by returning the name of an endpoint based on the configured routing method. To direct traffic to Traffic Manager, you must create a CNAME record that points your domain (www.contoso.com) to your Traffic Manager profile's DNS name (TMprofile1.trafficmanager.net). This allows Traffic Manager to resolve the request and direct it to either AS1 or AS2 according to the Weighted routing method. Incorrect options: Two A records would directly map the domain to IP addresses, bypassing Traffic Manager's load balancing and health checks. A CNAME record mapping to TMprofile1.azurefd.net would be used for Azure Front Door, not Traffic Manager. A TXT record is used for verification purposes (e.g., domain ownership) and does not direct web traffic.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed