Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AZ-104 topic 5 question 23 discussion

Actual exam question from Microsoft's AZ-104
Question #: 23
Topic #: 5
[All AZ-104 Questions]

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?

  • A. Azure CLI
  • B. Azure PowerShell
  • C. the Azure portal
  • D. the DNS Manager console
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Step 1: Installing the DNS migration script
Open an elevated PowerShell window (Administrative mode) and run following command install-script PrivateDnsMigrationScript

Step 2: Running the script -
Execute following command to run the script

PrivateDnsMigrationScript.ps1 -
Reference:
https://docs.microsoft.com/en-us/azure/dns/private-dns-migration-guide

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
asdf12345a
Highly Voted 3 years, 4 months ago
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.
upvoted 130 times
AubinBakana
2 years, 8 months ago
Windows Server 2016 is a legacy server, isn't it? :)
upvoted 1 times
...
vikki
3 years, 2 months ago
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.
upvoted 2 times
vikki
3 years, 2 months ago
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
upvoted 3 times
amigaguy
4 months, 3 weeks ago
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
upvoted 2 times
...
...
...
...
Anurag_Azure
Highly Voted 3 years ago
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
upvoted 118 times
Makkee
2 years, 8 months ago
You're not paying anything...
upvoted 5 times
rockhound
2 years, 7 months ago
i did pay 15 euros...
upvoted 17 times
orion1024
2 years, 7 months ago
Access to information is free though
upvoted 1 times
VM090
2 years, 2 months ago
Not 100%, only 70% access for free and remaining 30% requires sub
upvoted 17 times
Gino_Slim
1 year, 10 months ago
Yep, that's where they got me. I take the test tomorrow and I got hit with the remaining piece costs.
upvoted 9 times
...
...
...
safwansalama
2 years, 4 months ago
Me too
upvoted 3 times
...
...
...
stormshaun
2 years, 1 month ago
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.
upvoted 1 times
...
ScreamingHand
2 years, 10 months ago
Yes, - and I am very happy with that, I enjoy reading the discussions
upvoted 31 times
clouddba
2 years, 10 months ago
I agree which is very much exciting. ExamTopics already provided their answers and almost of their explanations
upvoted 6 times
...
...
61Reasons
1 year, 8 months ago
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.
upvoted 7 times
GBAU
1 year, 2 months ago
Well they could pay someone to go through and assess/fix all the oblivious wrong answers listed on questions as the answers.
upvoted 4 times
...
...
...
tashakori
Most Recent 1 month, 1 week ago
A is right
upvoted 1 times
...
tashakori
1 month, 1 week ago
A is right
upvoted 1 times
...
Amir1909
2 months, 2 weeks ago
A is correct
upvoted 1 times
...
nchebbi
5 months, 1 week ago
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
upvoted 3 times
amsioso
4 months, 2 weeks ago
But you mange Server1 and Subscription1 from Server2. And Server2 has only the enumerated tools installed. So A.
upvoted 2 times
MatAlves
1 month, 1 week ago
"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.
upvoted 1 times
...
...
...
JonWick
5 months, 3 weeks ago
the answer is Azure CLI
upvoted 1 times
...
Geet_2023
6 months ago
az network dns zone import -g <resource group> -n <zone name> -f <zone file name>
upvoted 1 times
...
DWILK
6 months, 1 week ago
I don't know why they said PS was correct. Azure CLI is much better and I thought it was replacing Azure PS
upvoted 1 times
...
KMLearn2
7 months, 2 weeks ago
Selected Answer: 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
upvoted 1 times
Br_Ry
4 weeks, 1 day ago
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
upvoted 1 times
...
...
TinyRunner
8 months, 3 weeks ago
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
upvoted 1 times
...
Teroristo
9 months ago
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
upvoted 4 times
...
Dush3695
9 months ago
Selected Answer: B
B. Azure PowerShell
upvoted 1 times
...
Sri944
9 months, 2 weeks ago
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.
upvoted 3 times
...
Tomix
10 months ago
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.
upvoted 1 times
...
kengy
11 months ago
Selected Answer: A
Azure CLI https://learn.microsoft.com/en-us/azure/dns/dns-import-export#introduction-to-dns-zone-migration
upvoted 2 times
...
zambonini
11 months ago
Answer is 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. PrivateDNSMigrationScript is for migrating legacy Azure DNS private zones to the new Azure DNS private zone resource. Reference: https://docs.microsoft.com/en-us/azure/dns/dns-import-export https://docs.microsoft.com/en-us/azure/dns/private-dns-migration-guide
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...