Question 320
Before adding a new custom hostname to Azure App Service, the administrator must prove ownership of the domain. The DNS records have not yet been verified and no invalid record has been identified. Which check establishes the required ownership proof?
Explanation
Correct Answer
Azure App Service validates a custom domain through supported DNS mapping and ownership verification. The administrator must inspect the applicable A or CNAME mapping, and where required the `asuid` TXT verification record provided by App Service, then confirm the expected values have propagated through authoritative public DNS. This is distinct from simply having a valid certificate or a running app on the default azurewebsites.net hostname. The scenario does not establish a record error to repair blindly, so verify the exact domain and Azure-provided token, correct mismatches if observed, and complete the hostname binding only after successful ownership validation.
Incorrect Answers
Possessing a certificate with a related name is not a substitute for the supported App Service custom-domain ownership-validation process. A certificate may be valid for an unrelated hostname or obtained independently of the exact DNS records Azure requests. The scenario says the records have not yet been verified, so skip-assumption would leave domain control unproved. Check the specific host mapping and ownership verification ID or appropriate DNS record as required for this domain type before completing the App Service binding.
A healthy application at its platform-provided hostname demonstrates runtime reachability, not control over a separate external DNS name. An unrelated tenant could have a working app while lacking ownership of the custom hostname it is attempting to bind. The administrator must inspect authoritative public DNS and the appropriate verification record, wait for propagation if necessary, and confirm App Service accepts the custom domain. A default hostname HTTP 200 response does not establish the requested domain's identity.
A certificate binding protects TLS for a hostname after that hostname is properly configured, but installing an arbitrary certificate cannot bypass Azure's supported domain verification. The problem is not a missing HTTPS listener or expiring certificate; it is the outstanding requirement to prove control of the proposed custom hostname. Determine the correct DNS record type and validation token for the apex or subdomain and confirm Azure recognizes it before performing security-sensitive hostname and certificate binding work.






Microsoft Azure Administrator (AZ-104) Practice Tests