AZ-700 · Question #29
You have an Azure subscription that is linked to an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com. The subscription contains the following resources: - An Azure App Service…
The correct answer is A. app1.privatelink.azurewebsites.net. When you use Private Endpoint for Web App, the requested URL must match the name of your Web App. By default mywebappname.azurewebsites.net. By default, without Private Endpoint, the public name of your web app is a canonical name to the cluster. For example, the name…
Question
You have an Azure subscription that is linked to an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com. The subscription contains the following resources:
- An Azure App Service app named App1
- An Azure DNS zone named contoso.com
- An Azure private DNS zone named private.contoso.com
- A virtual network named Vnet1
You create a private endpoint for App1. The record for the endpoint is registered automatically in Azure DNS. You need to provide a developer with the name that is registered in Azure DNS for the private endpoint. What should you provide?
Options
- Aapp1.privatelink.azurewebsites.net
- Bapp1.contoso.com
- Capp1.contoso.onmicrosoft.com
- Dapp1.private.contoso.com
How the community answered
(39 responses)- A92% (36)
- C5% (2)
- D3% (1)
Explanation
When you use Private Endpoint for Web App, the requested URL must match the name of your Web App. By default mywebappname.azurewebsites.net. By default, without Private Endpoint, the public name of your web app is a canonical name to the cluster. For example, the name resolution will be: mywebapp.azurewebsites.net CNAME clustername.azurewebsites.windows.net clustername.azurewebsites.windows.net CNAME cloudservicename.cloudapp.net cloudservicename.cloudapp.net A 40.122.110.154 When you deploy a Private Endpoint, we update the DNS entry to point to the canonical name mywebapp.privatelink.azurewebsites.net. For example, the name resolution will be: Name Type Value Remark mywebapp.azurewebsites.net CNAME mywebapp.privatelink.azurewebsites.net mywebapp.privatelink.azurewebsites.net CNAME clustername.azurewebsites.windows.net clustername.azurewebsites.windows.net CNAME cloudservicename.cloudapp.net cloudservicename.cloudapp.net A 40.122.110.154 https://docs.microsoft.com/en-us/azure/app-service/networking/private-endpoint
Topics
Community Discussion
No community discussion yet for this question.