Exam-Answer

Home / Microsoft / AZ-100 / Question 86

Prev Question
Next Question

Question 86

A client asks you to assist in moving a public website and Domain Name System (DNS) domain from the current host into Azure.

You help the client migrate the website to an Azure App Service web application. You also create a zone in Azure DNS for the client's company.com domain.

You now need to configure DNS so that user requests to company.com resolve to the Azure App Service app.

What should you do next?

Answers


Advertisement

Explanation

You should delegate the company.com zone to Azure DNS at the client's registrar. Azure DNS is not the registrar, so this step is necessary to ensure that DNS lookups for company.com are redirected to Azure DNS, which will serve as the domain's source of authority from now on.

You should not create a host (A) record for company.com in Azure DNS until you have delegated the zone to Azure DNS at the original registrar. This new resource record will ensure that calls to company.com (the so-called "naked" domain) resolve to the correct Azure App Service web application.

You should not create an alias (CNAME) record for company.com in Azure DNS for two reasons. First, as previously described, you need to complete the zone delegation before you populate the Azure DNS zone. Second, a CNAME record is used to map an additional host name to an existing A record. In this scenario, you need to handle only the company.com root domain name.

You should not configure Azure DNS as a secondary name server because the client's goal is to manage DNS from within Azure and Azure DNS does not support zone transfers.

References

Comments

Load more
Prev Question
Next Question