exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 26 discussion

Actual exam question from Microsoft's AZ-204
Question #: 26
Topic #: 2
[All AZ-204 Questions]

HOTSPOT -
You are configuring a development environment for your team. You deploy the latest Visual Studio image from the Azure Marketplace to your Azure subscription.
The development environment requires several software development kits (SDKs) and third-party components to support application development across the organization. You install and customize the deployed virtual machine (VM) for your development team. The customized VM must be saved to allow provisioning of a new team member development environment.
You need to save the customized VM for future provisioning.
Which tools or services should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Azure Powershell -
Creating an image directly from the VM ensures that the image includes all of the disks associated with the VM, including the OS disk and any data disks.
Before you begin, make sure that you have the latest version of the Azure PowerShell module.
You use Sysprep to generalize the virtual machine, then use Azure PowerShell to create the image.

Box 2: Azure Blob Storage -
You can store images in Azure Blob Storage.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource#create-an-image-of-a-vm-using-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
st003
Highly Voted 3 years, 7 months ago
The answer is right, it is show in AZ-900 as well.
upvoted 58 times
clarionprogrammer
3 years, 7 months ago
Powershell is correct. https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource
upvoted 9 times
...
...
mlantonis
Highly Voted 3 years, 5 months ago
Box 1: Azure Powershell Creating an image directly from the VM ensures that the image includes all of the disks associated with the VM, including the OS disk and any data disks. Before you begin, make sure that you have the latest version of the Azure PowerShell module. You use Sysprep to generalize the virtual machine, then use Azure PowerShell to create the image. Box 2: Azure Blob Storage A VM Image is a collection of metadata and pointers to a set of VHDs (one VHD per disk) stored as page blobs in Azure Storage. Reference: https://azure.microsoft.com/en-us/blog/vm-image-blog-post https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource
upvoted 44 times
...
bgbgvfvf
Most Recent 11 months ago
I think the answer is right
upvoted 1 times
...
nlk0
1 year, 4 months ago
Is it still relevant for az-204 since they removed VMs from scope in 28th of april?
upvoted 6 times
macobuzi
1 year, 2 months ago
I would say better safe than sorry because Microsoft tends to give a sh*t about scope.
upvoted 8 times
...
...
tom112
1 year, 6 months ago
It's Visual Studio Command Prompt. You can't generalize VM to make an image in azure. <Windows> Sysprep removes all your personal account and security information, and then prepares the machine to be used as an image. For information about Sysprep, see Sysprep overview. Once Sysprep has finished, set the status of the virtual machine to Generalized. => So, you generalize VM in the OS side(windows/linux/etc), and just set the status in Azure powershell. https://learn.microsoft.com/en-us/azure/virtual-machines/generalize
upvoted 1 times
...
IrshadF
1 year, 7 months ago
It was asked in exam on 26/03/23 as well.
upvoted 1 times
...
sarmaria
1 year, 8 months ago
Got this question in the exam on 16/03/2023. Went with proposed solution. Make sure to prepare for case studies. I got city and lights case study.
upvoted 4 times
...
Esward
1 year, 9 months ago
Given answers are correct! https://learn.microsoft.com/en-us/azure/virtual-machines/generalize
upvoted 2 times
...
Magis
2 years ago
I think that answer is incorrect. Correct answer: -Visual Studio Command Prompt as first of all you need to Generalize VM. Generalize means that you need to run SysPrep and you can do it from OS side only. So Azure PowerShell cannot be used at this point but you can do it from Visual Studio Command Prompt as it has integration with OS CMD. https://learn.microsoft.com/en-us/azure/virtual-machines/generalize - Second option is correct. Azure Blob Storage.
upvoted 4 times
AllNickNamesTaken
1 year, 9 months ago
I agree. Everyone else appears to be answering the question "What tool should you use to create an image?" which would be PowerShell. But, that is not the question being asked. The question is "What tool should you use to generalize the image?" and you are correct with VC Cmd Prompt.
upvoted 1 times
...
...
rol204
2 years ago
why blob image I can not understand
upvoted 1 times
...
Dani_ac7
2 years, 2 months ago
Answer is correct, Powershell because we need arm Blob Storage templates to store virtual machine images, specifically Page Blobs
upvoted 1 times
...
Eltooth
2 years, 5 months ago
Powershell Blob Storage
upvoted 2 times
...
meoukg
2 years, 8 months ago
Got it on 03/2022, I chose as Generalize the VM = Azure PowerShell ; Store images = Azure Blob Storage
upvoted 4 times
elequiel
2 years ago
thanks for coment date
upvoted 1 times
...
...
BobCui
2 years, 11 months ago
Why not Azure Backup for the first box?
upvoted 5 times
RochaG2
2 years, 2 months ago
I've got no ideia.. and no one seems to explain it
upvoted 2 times
...
...
ozbonny
3 years, 3 months ago
powershell and blob storage
upvoted 2 times
...
glam
3 years, 6 months ago
correct.
upvoted 3 times
...
titombo
3 years, 8 months ago
What is the problem to store the VM images on Azure File Storage?
upvoted 4 times
DanVe
3 years, 7 months ago
Page blobs are the standard storage area for VM
upvoted 5 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago