CertLumen

Microsoft Azure Administrator (AZ-104) · Section 3 · 23% of the exam

Configure deployment slots for an App Service

One of the objectives of the Microsoft Azure Administrator (AZ-104) exam, in the section “Deploy and manage Azure compute resources”. Here is what it covers, the points to remember and a question to try.

What it covers

Production web apps need their own DNS name, a trusted certificate, a restore point and a safe way to release. This lesson maps a custom domain with the right DNS records, secures it with a managed or uploaded certificate, configures backups, and uses deployment slots to swap releases without downtime.

Points to remember

  • Custom domains need a paid tier (not Free) and a public DNS zone; use an A record for the root domain and a CNAME for subdomains and wildcards.
  • Add a TXT record asuid[.subdomain] with the domain verification ID to prove ownership and prevent takeover.
  • Certificates and TLS bindings need Basic or higher; IP-based SSL needs Standard or higher; SNI SSL is free and the default.
  • The free managed certificate covers one name, is not exportable, has no wildcard, and needs public reachability with a CNAME pointing directly to azurewebsites.net.
  • Key Vault certificates sync to the app within 24 hours; an uploaded certificate needs a manual binding update on renewal.

Try a question

You are mapping the root domain contoso.com to an App Service web app. Which DNS record types do you create?

  1. AA CNAME record for @ that points to the app's default hostname, plus the asuid TXT record
  2. BAn MX record that points to the app
  3. CAn A record to the app's IP address and a TXT record asuid with the verification ID
  4. DAn NS record that delegates the root domain to Azure App Service
Show the answer

C. Root domain: A record plus TXT asuid. Subdomain (www): CNAME to <app>.azurewebsites.net plus TXT asuid.www. Wildcard: CNAME * plus TXT asuid. The plan must be a paid tier, and the zone must be public.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson App Service custom domains, certificates, backups and deployment slots teaches this objective (about 60 minutes), and 17 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.

More in this section

← Previous objective · All 81 objectives · Next objective →