An organization plans to migrate a public-facing website to an Azure App Service web app named `prod-web`. The website is currently hosted on-premises and is accessed via the custom subdomain `sales.contoso.com`.
The migration must meet the following requirements:
- The website must experience zero downtime during the DNS transition.
- The custom domain `sales.contoso.com` must be secured with an SSL/TLS certificate.
- The domain binding and SSL configuration must be fully prepared in the Azure Web App before the live DNS traffic is rerouted.
- The web app's Custom Domain Verification ID is `A1B2C3D4E5F6G7H8`.
Which three actions should you perform to prepare the web app for the transition? (Select three.)
- Create a DNS TXT record named asuid.sales with the value A1B2C3D4E5F6G7H8.Answer
- Add the custom hostname sales.contoso.com to the prod-web web app.Answer
- Upload and bind a custom SSL/TLS private certificate to sales.contoso.com.Answer
- DCreate a DNS TXT record named awverify.sales with the value A1B2C3D4E5F6G7H8.
- ECreate a DNS CNAME record for sales.contoso.com pointing to prod-web.azurewebsites.net prior to adding the custom domain in Azure.
- FGenerate a free App Service Managed Certificate for sales.contoso.com prior to adding the custom domain.
Answer
Create a DNS TXT record named asuid.sales with the value of the Custom Domain Verification ID, add the custom domain sales.contoso.com to the web app, and upload and bind a custom TLS/SSL private certificate.
To prepare a web app for migration with zero downtime, you must map the custom domain and configure its SSL binding before updating the routing CNAME record. Creating a TXT record named `asuid.sales` with the Custom Domain Verification ID verifies ownership. After verification, the hostname `sales.contoso.com` can be added. Finally, a custom private TLS/SSL certificate must be uploaded and bound; a managed certificate cannot be generated because it requires the DNS routing to already point to Azure, which is not possible during the pre-verification stage.
Step-by-Step Solution
Key Concept
Zero-Downtime Custom Domain Mapping and Pre-binding TLS/SSL Certificates
Estimated Time:3m 0s