exam questions

Exam AZ-103 All Questions

View all questions & answers for the AZ-103 exam

Exam AZ-103 topic 1 question 20 discussion

Actual exam question from Microsoft's AZ-103
Question #: 20
Topic #: 1
[All AZ-103 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 Subscription1. The solution must minimize administrative effort.
What should you use?

  • A. the Azure portal
  • B. the DNS Manager console
  • C. Azure PowerShell
  • D. Azure CLI
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
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

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
P0d
Highly Voted 5 years, 1 month ago
Azure DNS zone records anc be exported by Powershell but could be imported only by Azure CLI. The answer is correct. D - Azure CLI
upvoted 20 times
MedRaito
5 years, 1 month ago
cannot*
upvoted 4 times
P0d
5 years ago
Powershell has many possibilities. And one of these possibilities to get data from Windows servers and machines. PS can get data and export it to CSV, txt and etc formats.
upvoted 1 times
...
...
...
pandeya442
Highly Voted 5 years, 1 month ago
given answer is correct
upvoted 7 times
...
monroesteffie
Most Recent 2 years ago
Answer is Azure CLI Azure DNS supports importing and exporting zone files via the Azure CLI. Importing zone files via Azure PowerShell or the Azure portal is not supported currently. pls check:https://learn.microsoft.com/en-us/azure/dns/dns-import-export
upvoted 1 times
...
Preet182
3 years, 10 months ago
correct answer, however the one given AZ-104 is incorrect.
upvoted 2 times
...
JayBee65
4 years ago
Well, after saying C I would now say D... Import and export a DNS zone file using the Azure CLI https://docs.microsoft.com/en-us/azure/dns/dns-import-export
upvoted 2 times
...
JayBee65
4 years ago
Answer is C How to Easily Migrate your Entire On-Prem DNS to Azure, https://sysadmin-central.com/2020/05/20/how-to-easily-migrate-your-entire-on-prem-dns-to-azure/. 1. Access the server hosting the Microsoft DNS. 2. Navigate to “C:\Windows\System32\dns” which hosts all of the DNS files for every zone. Copy these files to a local folder, Do not run against the source as it will modify the files. 3. Run the PowerShell script below making sure to follow the preceding instructions...
upvoted 1 times
...
mikewallace8372
4 years, 4 months ago
azure cli - correct
upvoted 1 times
...
OsimIndia
4 years, 5 months ago
CLI is the, answer The Azure CLI is a cross-platform command-line tool used for managing Azure services. It is available for the Windows, Mac, and Linux platforms from the Azure downloads page. Cross-platform support is important for importing and exporting zone files, because the most common name server software, BIND, typically runs on Linux.
upvoted 2 times
...
hiraz007
4 years, 5 months ago
Answer is C. https://docs.microsoft.com/en-us/azure/dns/private-dns-migration-guide
upvoted 1 times
Nicodebian
4 years, 5 months ago
Agree with you. Answer is C
upvoted 1 times
diligent176
4 years, 5 months ago
Question is about moving on-prem DNS to Azure DNS... This article is not the same scenario as question asked... Article "Migrating legacy Azure DNS private zones to new resource model".
upvoted 2 times
...
...
JayBee65
4 years ago
That link is irrelevant to the question
upvoted 1 times
...
...
aryise
4 years, 6 months ago
Correct Answer: D
upvoted 3 times
...
Geeky
4 years, 9 months ago
The given answer is correct.
upvoted 3 times
...
Larry88
4 years, 9 months ago
az network dns zone export -g <resource group> -n <zone name> -f <zone file name>
upvoted 2 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 ...