exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

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: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
asdf12345a
Highly Voted 4 years, 3 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 138 times
AubinBakana
3 years, 6 months ago
Windows Server 2016 is a legacy server, isn't it? :)
upvoted 1 times
...
vikki
4 years, 1 month 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 3 times
vikki
4 years, 1 month 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
1 year, 2 months 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 3 times
...
...
...
...
Anurag_Azure
Highly Voted 3 years, 10 months 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 133 times
ScreamingHand
3 years, 8 months ago
Yes, - and I am very happy with that, I enjoy reading the discussions
upvoted 37 times
clouddba
3 years, 8 months ago
I agree which is very much exciting. ExamTopics already provided their answers and almost of their explanations
upvoted 6 times
...
...
Makkee
3 years, 6 months ago
You're not paying anything...
upvoted 5 times
rockhound
3 years, 5 months ago
i did pay 15 euros...
upvoted 17 times
orion1024
3 years, 5 months ago
Access to information is free though
upvoted 1 times
VM090
3 years ago
Not 100%, only 70% access for free and remaining 30% requires sub
upvoted 17 times
Gino_Slim
2 years, 8 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
3 years, 2 months ago
Me too
upvoted 3 times
...
...
...
stormshaun
2 years, 12 months 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 2 times
...
61Reasons
2 years, 6 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
2 years ago
Well they could pay someone to go through and assess/fix all the oblivious wrong answers listed on questions as the answers.
upvoted 5 times
...
...
...
JPA210
Most Recent 4 months ago
Selected Answer: C
https://learn.microsoft.com/en-us/azure/dns/dns-import-export here it is written: Azure DNS supports importing and exporting zone files via the Azure CLI and the Azure portal. So the least administrative effort is always the Azure Portal.
upvoted 1 times
JPA210
4 months ago
Well this is a tricky question. It is difficult to choose the right one. Azure Portal is a web-based interface that is user-friendly and visually intuitive. It’s great for those who prefer a graphical interface and need to perform tasks that require more detailed configuration or monitoring. Azure CLI is a command-line tool that can be very efficient for repetitive tasks, automation, and scripting. It allows you to execute commands quickly and can be integrated into CI/CD pipelines, reducing manual effort significantly.
upvoted 1 times
...
...
Dankho
4 months, 3 weeks ago
Selected Answer: B
Azure PowerShell provides cmdlets specifically designed for managing Azure resources, including DNS zones. You can use the Import-AzDnsZone cmdlet to easily import your existing DNS zone and records from Server1 directly into Azure DNS. While Azure CLI (Option A) can also manage Azure resources, it may require more complex scripting compared to the straightforward cmdlets available in Azure PowerShell for DNS operations.
upvoted 1 times
...
[Removed]
5 months, 1 week ago
Selected Answer: A
it´s A
upvoted 1 times
...
Pcservices
5 months, 2 weeks ago
Selected Answer: B
The correct option is B. Azure PowerShell. Here's why: Azure PowerShell provides specific cmdlets designed for DNS zone management, including importing DNS records from an on-premises DNS server into Azure DNS. The Import-AzDnsZone cmdlet can be used to import the DNS zone file directly into Azure DNS, which minimizes the manual effort needed for such a task.
upvoted 1 times
...
9433df7
8 months ago
Almost for every question, right answer is only on Discussion. Lol
upvoted 3 times
...
76d5e04
8 months, 3 weeks ago
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
upvoted 1 times
...
tashakori
11 months, 3 weeks ago
A is right
upvoted 1 times
...
tashakori
11 months, 3 weeks ago
A is right
upvoted 1 times
...
Amir1909
1 year ago
A is correct
upvoted 1 times
...
nchebbi
1 year, 3 months 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 4 times
amsioso
1 year, 2 months ago
But you mange Server1 and Subscription1 from Server2. And Server2 has only the enumerated tools installed. So A.
upvoted 2 times
MatAlves
11 months, 3 weeks 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
1 year, 3 months ago
the answer is Azure CLI
upvoted 1 times
...
Geet_2023
1 year, 4 months ago
az network dns zone import -g <resource group> -n <zone name> -f <zone file name>
upvoted 1 times
...
DWILK
1 year, 4 months 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
1 year, 5 months 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
11 months, 1 week 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
1 year, 7 months 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
...
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago