exam questions

Exam AZ-103 All Questions

View all questions & answers for the AZ-103 exam

Exam AZ-103 topic 5 question 17 discussion

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

SIMULATION -
Please wait while the virtual machine loads. Once loaded, you may proceed to the lab section. This may take a few minutes, and the wait time will not be deducted from your overall test time.
When the Next button is available, click it to access the lab section. In this section, you will perform a set of tasks in a live environment. While most functionality will be available to you as it would be in a live environment, some functionality (e.g, copy and paste, ability to navigate to external websites) will not be possible by design.
Scoring is based on the outcome of performing the tasks stated in the lab. In other words, it doesn't matter how you accomplish the task, if you successfully perform it, you will earn credit for that task.
Labs are not timed separately, and this exam may have more than one lab that you must complete. You can use as much time as you would like to complete each lab. But, you should manage your time appropriately to ensure that you are able to complete the lab(s) and all other sections of the exam in the time provided.
Please note that once you submit your work by clicking the Next button within a lab, you will NOT be able to return to the lab.
You may now click next to proceed to the lab.


You plan to deploy several Azure virtual machines and to connect them to a virtual network named VNET1007.
You need to ensure that future virtual machines on VNET1007 can register their name in an internal DNS zone named corp9172795.com. The zone must NOT be hosted on a virtual machine.
What should you do from Azure Cloud Shell?
To complete this task, start Azure Cloud Shell and select PowerShell (Linux). Click Show Advanced Settings, and then enter corp9172795n1 in the
Storage account text box and File1 in the File share text box. Click Create storage, and then complete the task.

Show Suggested Answer Hide Answer
Suggested Answer: See solution below.
Step 1: New-AzureRMResourceGroup -name MyResourceGroup
Before you create the DNS zone, create a resource group to contain the DNS zone.
Step 2: New-AzureRmDnsZone -Name corp9172795.com -ResourceGroupName MyResourceGroup
A DNS zone is created by using the New-AzureRmDnsZone cmdlet. This creates a DNS zone called corp9172795.com in the resource group called
MyResourceGroup.
References:
https://docs.microsoft.com/en-us/azure/dns/dns-getstarted-powershell

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
shapgi
Highly Voted 4 years, 11 months ago
i wish this question not come in exam
upvoted 19 times
geraldhermannerich
4 years, 11 months ago
for all i`ve read, your wish comes true. there was no lab in exams for the last months
upvoted 7 times
Tom033
4 years, 11 months ago
good thing to see that there is no LAB! hehe
upvoted 2 times
...
...
needtopassexam
4 years, 10 months ago
As long as its not CLI we have a chance :D
upvoted 3 times
...
...
Nurhun
Highly Voted 5 years, 3 months ago
http://www.rebeladmin.com/2019/12/step-step-guide-configure-azure-private-dns-powershell-guide/
upvoted 7 times
docent
5 years, 3 months ago
Yeah, we need to link the VNET to the zone and enable auto registration. The instructions in the answer are not complete
upvoted 4 times
...
...
I
Most Recent 4 years, 4 months ago
AZ104 won't have coding questions in the exam, which I am pretty sure that there has not a little code by the exam instruction.
upvoted 2 times
...
I
4 years, 4 months ago
AZ104 won't have coding questions in the exam, which I am pretty sure that there has not a little code by the exam instruction.
upvoted 1 times
...
Ajayhub
4 years, 8 months ago
this one came in az-300 exam I took in august.
upvoted 1 times
...
GC2020
5 years ago
New resource Group, New Azprivatednszone and linit Vnet107
upvoted 1 times
...
baobabko
5 years, 1 month ago
Just type in the Cloud Shell: $vnet = Get-AzVirtualNetwork -ResourceGroupName azadmin-demo-rg -Name VNET1007 New-AzPrivateDnsVirtualNetworkLink -ZoneName corp9172795.com -Name vnetlink1 -ResourceGroupName $vnet.ResourceGroupName -VirtualNetworkId $vnet.Id I believe that although they requested to solve in PowerShell, one could go to the private DNS zone and add the link from the Azure Portal.
upvoted 2 times
...
Bara2020
5 years, 1 month ago
New-AzureRMResourceGroup -name MyResourceGroup New-AzureRmVirtualNetwork New-AzPrivateDnsZone New-AzPrivateDnsVirtualNetworkLink New-AzureRmVM
upvoted 2 times
...
Bara2020
5 years, 1 month ago
New-AzureRMResourceGroup -name MyResourceGroup New-AzureRmVirtualNetwork New-AzPrivateDnsZone New-AzPrivateDnsVirtualNetworkLink
upvoted 2 times
...
NapoleonBorntoparty
5 years, 1 month ago
Link to MS' official guide w/cloudshell: https://docs.microsoft.com/en-us/azure/dns/private-dns-getstarted-powershell
upvoted 2 times
jjkidd72
4 years, 10 months ago
Thank you!
upvoted 1 times
...
...
docent
5 years, 2 months ago
New-AzureRmVirtualNetwork New-AzPrivateDnsZone New-AzPrivateDnsVirtualNetworkLink
upvoted 7 times
...
LA1985
5 years, 2 months ago
https://docs.microsoft.com/en-us/azure/dns/private-dns-getstarted-powershell
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 ...