Microsoft
AZ-104 · Question #77
Your company has an Azure subscription named Subscription1. The company also has two on- premises servers named Server1 and Server2 that run Windows Server 2016. Server1 is configured as a DNS…
The correct answer is B. Azure CLI. Azure DNS supports importing and exporting zone files by using the Azure command-line interface (CLI). Zone file import is not currently supported via Azure PowerShell or the Azure portal. References: https://docs.microsoft.com/en-us/azure/dns/dns-import-export
Submitted by eva_at· Mar 4, 2026Configure and manage virtual networking
Question
Your company has an Azure subscription named Subscription1. The company also has two on- premises servers named Server1 and Server2 that run Windows Server 2016. Server1 is configured as a DNS server that has a primary DNS zone named adatum.com. Adatum.com contains 1,000 DNS records. You manage Server1 and Subscription1 from Server2. Server2 has the following tools installed: - The DNS Manager console - Azure PowerShell - Azure CLI 2.0 You need to move the adatum.com zone to Subscription1. The solution must minimize administrative effort. What should you use?
Options
- AAzure PowerShell
- BAzure CLI
- Cthe Azure portal
- Dthe DNS Manager console
How the community answered
(69 responses)- A12% (8)
- B62% (43)
- C4% (3)
- D22% (15)
Explanation
Azure DNS supports importing and exporting zone files by using the Azure command-line interface (CLI). Zone file import is not currently supported via Azure PowerShell or the Azure portal. References: https://docs.microsoft.com/en-us/azure/dns/dns-import-export
Community Discussion
No community discussion yet for this question.