Microsoft Azure Administrator (AZ104) Practice Exam

Disable ads (and more) with a membership for a one time $4.99 payment

Study for the Microsoft Azure Administrator (AZ104) Exam. Prepare with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Practice this question and more.


Which record type should be created to delegate a subdomain in Azure DNS?

  1. PTR record

  2. NS record

  3. SOA record

  4. A record

The correct answer is: NS record

To delegate a subdomain in Azure DNS, an NS (Name Server) record is used. This type of record specifies which DNS servers are authoritative for the subdomain you wish to delegate. When you create an NS record for a subdomain, you essentially indicate that DNS queries for that subdomain should be directed to the specified name servers, allowing them to handle the DNS resolution for that particular subdomain. The NS record is crucial in scenarios where you want different teams or departments to manage their own subdomains, or when you want to delegate management of a subdomain to a different hosting provider. By using NS records, administrators can efficiently separate the DNS management responsibilities and streamline the management of large domain hierarchies. Other record types such as PTR, SOA, and A records serve different purposes. PTR records are used primarily for reverse DNS lookups, SOA records provide information about the domain's zone, and A records map domain names to their corresponding IP addresses. While all these record types have important functions in DNS, only NS records are specifically designed for the delegation of subdomains.