Exam AZ-104 All QuestionsBrowse all questions from this exam
Question 359

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 an Azure DNS zone in Subscription1. The solution must minimize administrative effort.

What should you use?

    Correct Answer: A

    To move an on-premises DNS zone to Azure DNS, the Azure CLI provides the necessary capabilities to import the DNS zone file efficiently. You can use the 'az network dns zone import' command to import the zone file directly into Azure DNS. This method is supported and simplifies the process, meeting the requirement to minimize administrative effort.

Discussion
asdf12345aOption: A

Answer is incorrect, it should be A - Azure CLI. https://docs.microsoft.com/en-us/azure/dns/dns-import-export - 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. PrivateDNSMigrationScript is for migrating legacy Azure DNS private zones to the new Azure DNS private zone resource.

Vikki

Agree. Besides, prerequisites of using PrivateDNSMigrationScript were lack to provide in the question: 1. Make sure you have installed latest version of Azure PowerShell. 2. Make sure that you've Az.PrivateDns module for the Azure PowerShell installed. I think the point of this question is "The solution must minimize administrative effort." without proper scenario.

Vikki

Due to the statements in the document: The migration process is simple, and we've provided a PowerShell script to automate this process. https://docs.microsoft.com/en-us/azure/dns/private-dns-migration-guide

amigaguy

That link is for migrating legacy Azure DNS zones to modern Azure DNS zones. Migrating on-prem DNS to Azure DNS the proper reference is: https://learn.microsoft.com/en-us/azure/dns/dns-import-export

AubinBakana

Windows Server 2016 is a legacy server, isn't it? :)

Anurag_Azure

so basically we are just paying for a collection of questions and ability to ask others for answers....EXAMTOPICS has no responsibility to at least mark right answers...otherwise give that access to us so that as community we correct answers too

ScreamingHand

Yes, - and I am very happy with that, I enjoy reading the discussions

clouddba

I agree which is very much exciting. ExamTopics already provided their answers and almost of their explanations

Makkee

You're not paying anything...

rockhound

i did pay 15 euros...

orion1024

Access to information is free though

VM090

Not 100%, only 70% access for free and remaining 30% requires sub

Gino_Slim

Yep, that's where they got me. I take the test tomorrow and I got hit with the remaining piece costs.

safwansalama

Me too

stormshaun

You definitely can correct answers. DYOR if the answer is correct! I think this is what this page is for. Not just for someone who wants to cheat the exam! You have to find the right answers yourself.

61Reasons

And how would ET confirm the real answer? Ask MSFT? Not. And, don't forget even MSFT can write an ambiguous question, which means ET would have to say "Exam answer according to MSFT is B, but really it's A. So I don't share your concern, I think doing it the way they did was best for all of us.

GBAU

Well they could pay someone to go through and assess/fix all the oblivious wrong answers listed on questions as the answers.

nchebbiOption: A

Correct Aswer is A & C, az cli and Portal both support importing dns files now. Ref for portal: https://learn.microsoft.com/en-us/azure/dns/dns-import-export-portal Ref for cli: https://learn.microsoft.com/en-us/azure/dns/dns-import-export

amsioso

But you mange Server1 and Subscription1 from Server2. And Server2 has only the enumerated tools installed. So A.

MatAlves

"Server2 has only the enumerated tools installed." All you need to use the Portal is a browser, which already comes installed natively on Windows Servers (Edge). So the question is clearly outdated and, as of now, DNS import supports both Azure CLI and the Portal.

TeroristoOption: A

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

Sri944Option: A

Microsoft Q&A page that says “importing zone files via Azure PowerShell or the Azure portal is not supported currently” 1. However, you can use Azure CLI to import and export zone files 2.

TomixOption: B

To move the adatum.com zone to an Azure DNS zone in Subscription1 while minimizing administrative effort, you should use Azure PowerShell. Azure PowerShell provides a comprehensive set of cmdlets for managing Azure resources, including Azure DNS. With Azure PowerShell, you can automate the process of creating a new Azure DNS zone, configuring the necessary DNS records, and migrating the adatum.com zone from Server1 to the Azure DNS zone.

9433df7

Almost for every question, right answer is only on Discussion. Lol

76d5e04Option: A

Azure DNS supports importing and exporting zone files via the Azure CLI and the Azure portal. https://learn.microsoft.com/en-us/azure/dns/dns-import-export

tashakoriOption: A

A is right

tashakoriOption: A

A is right

Amir1909Option: A

A is correct

JonWickOption: A

the answer is Azure CLI

Geet_2023Option: A

az network dns zone import -g <resource group> -n <zone name> -f <zone file name>

DWILKOption: A

I don't know why they said PS was correct. Azure CLI is much better and I thought it was replacing Azure PS

KMLearn2Option: B

I think the key point is "minimize administrative effort". Yes, you need Azure CLI at first but then PowerShell for the PrivateDNSMigrationScript and you can call CLI commands inside of PowerShell. Also in the prequirements they're talking about PowerShell and not CLI: https://learn.microsoft.com/en-us/azure/dns/private-dns-migration-guide#prerequisites

Br_Ry

That is migrating from legacy Private DNS zones to newer Private DNS zones. To migrate on-prem to a private DNS zone as requested it's azure cli. https://learn.microsoft.com/en-us/azure/dns/dns-import-export

TinyRunnerOption: A

Answer is incorrect, it should be A. It´s important to disclaim that when we deal with DNS migrations (expo-impo) between DNS we must handle it with their DNS FILE. So the only way to operate with thi FILES is via Azure CLI. " A DNS zone file is a text file containing information about every Domain Name System (DNS) record in the zone. It follows a standard format, making it suitable for transferring DNS records between DNS systems. Using a zone file is a fast and convenient way to import DNS zones into Azure DNS. You can also export a zone file from Azure DNS to use with other DNS systems." https://learn.microsoft.com/en-us/azure/dns/dns-import-export#introduction-to-dns-zone-migration

Dush3695Option: B

B. Azure PowerShell