exam questions

Exam AZ-303 All Questions

View all questions & answers for the AZ-303 exam

Exam AZ-303 topic 5 question 47 discussion

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

You have an Azure tenant that contains two subscriptions named Subscription1 and Subscription2.
In Subscription1, you deploy a virtual machine named Server1 that runs Windows Server 2016. Server1 uses managed disks.
You need to move Server1 to Subscription2. The solution must minimize administration effort.
What should you do first?

  • A. Create a new virtual machine in Subscription2
  • B. In Subscription2, create a copy of the virtual disk
  • C. Create a snapshot of the virtual disk
  • D. From Azure PowerShell, run the Move-AzureRmResource cmdlet
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
To move existing resources to another resource group or subscription, use the Move-AzureRmResource cmdlet.
References:
https://docs.microsoft.com/en-in/azure/azure-resource-manager/resource-group-move-resources#move-resources

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
azurecert2021
Highly Voted 4 years, 5 months ago
answer is correct additional imp information from link For a move across subscriptions, the resource and its dependent resources must be located in the same resource group and they must be moved together. For example, a VM with managed disks would require the VM and the managed disks to be moved together, along with other dependent resources. If you're moving a resource to a new subscription, check to see whether the resource has any dependent resources, and whether they're located in the same resource group. If the resources aren't in the same resource group, check to see whether the resources can be combined into the same resource group. If so, bring all these resources into the same resource group by using a move operation across resource groups.
upvoted 18 times
...
betamode
Highly Voted 4 years, 1 month ago
Given answer is correct. Important point to be noted is AzureRM PowerShell modules would retire on 29 February 2024. If this question appears in exam then one of the options provided by MS could be "Move-AzResource" which is a replacement or successor of "Move-AzureRmResource".
upvoted 10 times
...
Amir1909
Most Recent 1 year, 4 months ago
D is correct
upvoted 1 times
...
syu31svc
3 years, 10 months ago
Provided link supports D as the answer
upvoted 1 times
...
sham21
4 years ago
If repeated or questions from AZ-104 are removed then actual questions would be less then 200. I am not sure, if AZ-104 questions are appear in this exams.
upvoted 2 times
...
Blimpy
4 years, 5 months ago
this is an old question and C wouldve been correct, but now its possible to move the resource and its dependencies directly from the portal to a new subscription
upvoted 4 times
Blimpy
4 years, 5 months ago
also is not using the portal, then the new powershell command is: Move-AzResource : https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/move-resource-group-and-subscription#use-azure-powershell first thing to do in this new method will be to register the resource provider, see point 6 here: https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/move-resource-group-and-subscription#checklist-before-moving-resources
upvoted 10 times
nExoR
4 years, 2 months ago
since the question is 'what is the first step' and with the method step would be 'Register-AzResourceProvider -ProviderNamespace Microsoft.Batch' and there is no such answer... seems like the only correct answer as 'first action' is C
upvoted 2 times
...
...
...
Stephan99
4 years, 5 months ago
Move-AzureRmResource is outdated. I'm not sure, but I think it would be better to create a new Virtual Maschine and append the existing disk.
upvoted 5 times
...
Stevezzc
4 years, 5 months ago
correct answer, https://docs.microsoft.com/en-us/azure/virtual-machines/windows/move-vm#use-powershell-to-move-a-vm
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 ...