AZ-104 exam dumps

AZ-104 practice question 184 of 289

Microsoft Certified: Azure Administrator Associate. Associate level, Microsoft. Free question with the correct answer and a full explanation.

AZ-104 Question 184

Single answer

You are an Azure Administrator for a retail company. The marketing team wants to map the custom domain name 'www.contoso.com' to the existing Azure App Service web app named 'contosoweb.azurewebsites.net'. You have added the custom domain in the Azure portal, but the verification step fails. Which action must be taken within your DNS provider to verify domain ownership for the subdomain?

  1. A

    Create a CNAME record for www.contoso.com that points to contosoweb.azurewebsites.net

  2. B

    Create an A record for www.contoso.com that points to the App Service’s IP address

  3. C

    Add a TXT record with a unique token from the certificate authority

  4. D

    Set a custom domain certificate in the Azure App Service

Show answer and explanation

Correct answer: A

Explanation

Mapping a subdomain (www) to an Azure App Service requires creating a CNAME record in your DNS to establish domain ownership. Once the DNS record is in place and propagates, the Azure portal will confirm ownership, and the custom domain will successfully map to the App Service.

  • A. Correct.

    Correct. For subdomains, you must create a CNAME record mapping the custom DNS name to the default hostname of the App Service to verify ownership.

  • B. Incorrect.

    An A record is typically required only when mapping a root (apex) domain, not a subdomain like 'www'.

  • C. Incorrect.

    While some domain verifications use TXT records, in this specific scenario with a subdomain, a CNAME record to the App Service’s default domain is required to verify ownership.

  • D. Incorrect.

    Configuring a custom certificate in Azure is a separate step from verifying domain ownership. It does not replace the DNS record requirement.

Timed practice exam

Take a AZ-104 practice test under exam conditions

60 questions in 60 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam