Exam AZ-104 Topic 4 Question 338 Discussion

Actual exam question for Microsoft's AZ-104 exam
Question #: 338
Topic #: 4
You need to configure an Azure web app named contoso.azurewebsites.net to host www.contoso.com.
What should you do first?

Suggested Answer: A Vote an answer

Detailed Explanation
Before App Service will accept a custom domain, you must prove ownership of it using a domain verification record. For a subdomain such as www.contoso.com (as opposed to the apex/root domain contoso.com), Microsoft ' s supported method is a CNAME record named asuid.www pointing to the app ' s domain verification ID (the same value shown under the app ' s custom domain verification ID setting); apex domains must instead use a TXT record because DNS does not allow a CNAME to coexist with other records (like MX) at the zone root. Since www.contoso.com is a subdomain, creating the asuid CNAME verification record is the correct first step, performed before adding the actual www CNAME/A record that routes traffic to the app.
Official Reference
Tutorial: Map an existing custom DNS name to Azure App Service - https://learn.microsoft.com/en-us/azure
/app-service/app-service-web-tutorial-custom-domain

by Galee at Oct 05, 2026, 06:48 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
Galee
2026-10-05 06:48:50
Selected Answer: C
I believe C is the closest correct answer based on the current Microsoft documentation. For a subdomain such as www.contoso.com, App Service uses a TXT record named asuid.www whose value is the Domain Verification ID. The CNAME record is instead www → contoso.azurewebsites.net. Therefore option A appears incorrect as written: a CNAME named asuid does not contain the domain verification ID. Strictly speaking, option C should say asuid.www rather than simply asuid.
upvoted 1 times
...
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10