nerdexam
Microsoft

AZ-800 · Question #269

You need to create CNAME alias resource records for a specific app running on a server. Which of the following cmdlet can you use to create the required resource records in Windows PowerShell?

The correct answer is C. Add-DnsServerResourceRecordCNAME. Add-DnsServerResourceRecordCNAME is the PowerShell cmdlet used to create CNAME (Canonical Name) alias resource records on a Windows DNS server. CNAME records map an alias name to a canonical (true) hostname. The other cmdlets create different record types…

Implement and manage on-premises and hybrid networking infrastructure

Question

You need to create CNAME alias resource records for a specific app running on a server. Which of the following cmdlet can you use to create the required resource records in Windows PowerShell?

Exhibit

AZ-800 question #269 exhibit

Options

  • AAdd-DnsServerResourceRecordA
  • BAdd-DnsServerResourceRecordAAAA
  • CAdd-DnsServerResourceRecordCNAME
  • DAdd-DnsServerResourceRecordPtr
  • EAdd-DnsServerResourceRecordMX

How the community answered

(52 responses)
  • A
    2% (1)
  • B
    2% (1)
  • C
    94% (49)
  • D
    2% (1)

Explanation

Add-DnsServerResourceRecordCNAME is the PowerShell cmdlet used to create CNAME (Canonical Name) alias resource records on a Windows DNS server. CNAME records map an alias name to a canonical (true) hostname. The other cmdlets create different record types: Add-DnsServerResourceRecordA (A) creates IPv4 address records, Add-DnsServerResourceRecordAAAA (B) creates IPv6 address records, Add-DnsServerResourceRecordPtr (D) creates reverse lookup pointer records, and Add-DnsServerResourceRecordMX (E) creates mail exchanger records.

Topics

#DNS#PowerShell#CNAME records#Server Management

Community Discussion

No community discussion yet for this question.

Full AZ-800 Practice