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…
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
Options
- AAdd-DnsServerResourceRecordA
- BAdd-DnsServerResourceRecordAAAA
- CAdd-DnsServerResourceRecordCNAME
- DAdd-DnsServerResourceRecordPtr
- EAdd-DnsServerResourceRecordMX
How the community answered
(52 responses)- A2% (1)
- B2% (1)
- C94% (49)
- D2% (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
Community Discussion
No community discussion yet for this question.
