-
AZ-104 practice question RE DNS import vs CloudShell
-
I don’t know what happened, I posted this question and it vanished from the forum?!
In this question (see bottom), I don’t follow why Azure Cloudshell is not a valid answer, since Azure Cloudshell provides Azure CLI (or powershell) .
At least, I don’t understand how I am to predict that that is not an acceptable answer for exam thinking, becuase I’m quite certain that Azure CloudShell could be used if in Azure CLI mode?
For example this just worked in “CloudShell”
PS /home/myuser> az network dns zone import help</p><p>the following arguments are required: --resource-group/-g, --name/-n, --file-name/-f</p><p>Examples from AI knowledge base:</p><p>az network dns zone import --resource-group MyResourceGroup --name MyZone --file-name /path/to/zone/file</p><p>Import a local zone file into a DNS zone resource.</p><p>https://docs.microsoft.com/en-US/cli/azure/network/dns/zone#az_network_dns_zone_import</p><p>Read more about the command in reference docsThe practice question is as below
13. Question
You have a server in your on-premises datacenter that contains a DNS server named TD1 with a primary DNS zone for the tutorialsdojo.com domain.
You have an Azure subscription named TD-Subscription1.
You plan to migrate the tutorialsdojo.com zone to an Azure DNS zone in TD-Subscription1. You must ensure that you minimize administrative effort.
Which tools can you use? (Select TWO.)
Azure CloudShell
Azure PowerShell
Azure CLI
Azure Resource Manager templates
Azure Portal
Explanation
Azure DNS is a hosting service for DNS domains that provides name resolution by using Microsoft Azure infrastructure. By hosting your domains in Azure, you can manage your DNS records by using the same credentials, APIs, tools, and billing as your other Azure services.
You can’t use Azure DNS to buy a domain name. For an annual fee, you can buy a domain name by using App Service domains or a third-party domain name registrar. Your domains can then be hosted in Azure DNS for record management.
A DNS zone file is a text file that contains details of 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 quick, reliable, and convenient way to transfer a DNS zone into or out of Azure DNS.
Take note that Azure DNS supports importing and exporting zone files by using the Azure command-line interface (CLI) and Azure Portal. Zone file import is NOT supported via Azure PowerShell and Azure Cloud Shell.
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.
Hence, the correct answer are:
– Azure CLI
– Azure Portal
Azure PowerShell, Azure Resource Manager templates, and Azure CloudShell are incorrect because these user tools are not supported by Azure DNS for importing a DNS zone file. Only Azure CLI and Azure Portal are supported.
-
Hi An-L,
Thank you for posting and for taking the time to raise this. You’ve made a genuinely valid point!
Upon reviewing the question and explanation, we agree that the original wording was misleading. The statement that zone file import is “not supported via Azure Cloud Shell” implies a technical limitation, when in fact, as you correctly observed, Cloud Shell running in CLI mode can execute the az network dns zone import command successfully.
The distinction the question is testing is one of tool classification, not technical capability. Azure Cloud Shell is a browser-based execution environment; it is simply one of several places where the Azure CLI can be accessed. The supported tool for DNS zone file import is the Azure CLI itself, and Cloud Shell is not classified as a standalone tool for this purpose.
We have updated the explanation to reflect this more accurately, and the changes will be reflected on the portal shortly.
Thank you again for helping us improve the quality of our content. This is exactly the kind of feedback that makes our practice questions better for everyone.
Best regards,
Irene @ Tutorials Dojo
-
Many thanks for the explanation.
If Microsoft questions can be as, perhaps unfair as this, then I do think that it is important that similarly unfair questions continue to be represented in your practice exams.
As long as the explanation of the thinking is present then that is what’s ideal.
Many thanks.-
Hi An-L,
Thank you for this thoughtful feedback. You’ve raised a really important point. You’re absolutely right that keeping “unfair” or tricky questions in the practice exams is valuable, provided the explanation clearly walks through the reasoning. That’s exactly the approach we’ll take.
We appreciate your patience and your commitment to helping us improve. Best of luck with your AZ-104 exam!
Best regards,
Irene @ Tutorials Dojo
-
-
Log in to reply.