Soru

Zorluk: OrtaConfigure Azure App Services

An administrator is configuring a custom domain for a web app named App1 that runs on a Standard S1 App Service plan. The DNS zone for the domain contoso.com is hosted in Azure DNS. You need to configure App1 to be accessible via https://www.contoso.com using a free App Service Managed Certificate. Which two actions should you perform? Select two.

  1. In the DNS zone for contoso.com, create a CNAME record that points www to app1.azurewebsites.net.Cevap
  2. Add the custom domain www.contoso.com to App1.Cevap
  3. C
    Scale down the App Service plan of App1 to the Free F1 tier.
  4. D
    Create a Private DNS Zone named contoso.com and link it to the virtual network of App1.

Cevap

To configure the custom domain and secure it with a managed certificate, you must create a DNS CNAME record pointing the www subdomain to the web app's default URL, and add the custom domain to the App Service web app configuration.
The correct configurations involve creating a CNAME record in public DNS to verify domain ownership and route traffic, followed by adding the custom domain to the App Service. Both steps are prerequisites before an App Service Managed Certificate can be created and bound to secure the domain.

Adım Adım Çözüm

1
Configure the DNS mapping in public DNS.
A CNAME record for www pointing to app1.azurewebsites.net is created in the public DNS zone.
This establishes the routing of web traffic to the Azure App Service and satisfies the domain ownership validation requirement.
2
Map the custom domain in the Azure portal or CLI.
The custom domain www.contoso.com is bound to the App Service App1.
Azure requires the custom domain to be successfully added to the App Service web app configuration before an App Service Managed Certificate can be generated for it.
3
Generate and bind the App Service Managed Certificate.
An SSL binding is created using the free managed certificate.
Once the domain is verified and added, you can generate the managed certificate to secure HTTPS traffic.

Anahtar Kavram

Configuring public custom domains and securing them with App Service Managed Certificates requires a valid public DNS mapping and binding the custom domain to the App Service prior to certificate generation.
Bu soruyu puanla