exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 3 question 10 discussion

Actual exam question from Microsoft's AZ-300
Question #: 10
Topic #: 3
[All AZ-300 Questions]

You have an on-premises virtual machine named VM1 configured as shown in the following exhibit.

VM is started.
You need to create a new virtual machine image in Azure from VM1.
Which three actions should you perform before you create the new image? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Remove the Backup (volume shadow copy) integration service
  • B. Generalize VM1
  • C. Run Add-AzureRmVhd and specify a blob service container as the destination
  • D. Run Add-AzureRmVhd and specify a file share as the destination
  • E. Reduce the amount of memory to 16 GB
Show Suggested Answer Hide Answer
Suggested Answer: ABC 🗳️
Sysprep removes all your personal account and security information, and then prepares the machine to be used as an image.
The Add-AzureRmVhd cmdlet uploads on-premises virtual hard disks, in .vhd file format, to a blob storage account as fixed virtual hard disks.
References:
https://docs.microsoft.com/en-us/powershell/module/azurerm.compute/add-azurermvhd?view=azurermps-6.13.0 https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource

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
mihlo74
Highly Voted 5 years, 4 months ago
It seems googleing' for similar questions, that there is an "F" option: A. Remove the Backup (volume shadow copy) integration service B. Generalize VM1 C. Run Add-AzureRmVhd and specify a blob service container as the destination D. Run Add-AzureRmVhd and specify a file share as the destination E. Reduce the amount of memory to 16 GB F. Convert the disk type to VHD in this case, it has sense and it would be B, C ad F
upvoted 56 times
mihlo74
5 years, 4 months ago
and add that I didn't see any info in documentation about "shadow copies" removal as a problem or other integration services like those in the exhibit... so it makes sense F option as the disk appears as VHDX in the exhibit and it should be converted to VHD before uploading to Azure
upvoted 4 times
Andy001
5 years, 4 months ago
Agree. More details at this article - https://docs.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image
upvoted 1 times
...
...
Gjferweb
5 years, 3 months ago
both bellow articles mention the F option convert to vhd https://docs.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image https://docs.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image?toc=/azure/virtual-machines/windows/toc.json and https://docs.microsoft.com/en-us/powershell/module/azurerm.compute/add-azurermvhd?view=azurermps-6.13.0 says The Add-AzureRmVhd cmdlet uploads on-premises virtual hard disks, in .vhd file format, to a blob storage account >>>> so i´ll go with mihlo options
upvoted 1 times
...
praveen97
4 years, 11 months ago
Agree with milho. https://docs.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource
upvoted 1 times
...
...
MoniqueArduin
Highly Voted 5 years, 4 months ago
ABC is correct: Remove the Backup (volume shadow copy) integration service Refernce: https://devblogs.microsoft.com/setup/delete-shadow-copies-to-compact-vhds-and-avhds/
upvoted 7 times
pieixoto
5 years, 1 month ago
A is not correct. The existence of the backup integration service does not imply that shadow copies exist or that the existence of shadow copies is an issue for conversion of the VHDX to a VHD. Compacting the disk is not a requirement for this task.
upvoted 3 times
...
...
Bhagirathi
Most Recent 4 years, 5 months ago
what is F ?
upvoted 1 times
...
azurecert2021
4 years, 5 months ago
answer is BCF as per below link it has misleading first line which says "you must prepare the virtual hard disk (VHD or VHDX)." but later on they are having steps to convert vhdx to vhd using Hyper-V Manager or Convert-VHD cmdlet in PowerShell hence given asnwer is correct https://docs.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image removing option Integration services does not make sense as this are services that allow the virtual machine to communicate with the Hyper-V host. Many of these services are conveniences while others can be quite important to the virtual machine's ability to function correctly.
upvoted 1 times
...
tundervirld
4 years, 11 months ago
I agree, the answer will be: BCF. Explanation: Generalize, clean personal data and prepare your VM to be an image. Add-AzureRmVhd will have a Blob like destiny. You’ll need to change HDD to VHD to be able to upload to azure, Azure support VHD disks. Reference: https://www.starwindsoftware.com/blog/migrate-on-premises-vhd-files-to-azure https://docs.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource
upvoted 3 times
ct84
4 years, 9 months ago
yeah, nice summary.
upvoted 1 times
...
...
gboyega
4 years, 11 months ago
B C F is the correct answer
upvoted 2 times
...
Prash85
5 years ago
with F. Convert the disk type to VHD as an addtional option the answer is BCF
upvoted 1 times
...
Nehuuu
5 years ago
B,c,f is correct answer F - Convert the disk type to VHD
upvoted 2 times
...
denkes
5 years ago
Anwer option F is missing here. F. Convert the disk type to VHD. From my point of view: B, C, F. See: e.g. https://vceguide.com/which-three-actions-should-you-perform-before-you-create-the-new-image/
upvoted 5 times
...
Happiman
5 years, 3 months ago
Answer is BCF, F. Convert the disk type to VHD
upvoted 4 times
...
[Removed]
5 years, 5 months ago
It says which three?
upvoted 1 times
...
Amrinder101
5 years, 6 months ago
Should be B and C
upvoted 1 times
tartar
4 years, 9 months ago
B C F - change HDD to VHD
upvoted 4 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 ...