Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AZ-140 topic 1 question 18 discussion

Actual exam question from Microsoft's AZ-140
Question #: 18
Topic #: 1
[All AZ-140 Questions]

DRAG DROP -
You have an Azure subscription that contains a virtual machine named VM1. VM1 runs a customized version of Windows 10 Enterprise.
You generalize the operating system on VM1 and shut down the virtual machine.
You need to deploy additional virtual machines based on an image of VM1 by using the Azure portal.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Create a managed image from a snapshot using PowerShell.
You can create a managed image from a snapshot of a generalized VM by following these steps:
1. Create an image of a VM in the portal, capture a VM in the portal
2. Go to the Azure portal, then search for and select Virtual machines.
3. Select your VM from the list.
4. On the page for the VM, on the upper menu, select Capture.
5. The Create an image page appears.
6. For Resource group, either select Create new and enter a name, or select a resource group to use from the drop-down list. If you want to use an existing gallery, select the resource group for the gallery you want to use.
7. To create the image in a gallery, select Yes, share it to a gallery as an image version.
8. To only create a managed image, select No, capture only a managed image. The VM must have been generalized to create a managed image. The only other required information is a name for the image.
9. If you want to delete the source VM after the image has been created, select Automatically delete this virtual machine after creating the image. This is not recommended.
10.For Gallery details, select the gallery or create a new gallery by selecting Create new. (Step 1)
11.In Operating system state select generalized or specialized. For more information, see Generalized and specialized images.
12.Select an image definition or select create new and provide a name and information for a new Image definition. (Step 2)
13.Enter an image version number. If this is the first version of this image, type 1.0.0. (Step 3)
14.If you want this version to be included when you specify latest for the image version, then leave Exclude from latest unchecked.
15.Select an End of life date. This date can be used to track when older images need to be retired.
16.Under Replication, select a default replica count and then select any additional regions where you would like your image replicated.
17.When you are done, select Review + create.
18.After validation passes, select Create to create the image.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/capture-image-portal

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Magis
Highly Voted 1 year, 8 months ago
Provided answer is correct. https://learn.microsoft.com/en-us/azure/virtual-machines/shared-image-galleries?tabs=azure-cli
upvoted 14 times
...
kay000001
Highly Voted 1 year, 5 months ago
Hi folks, When you create the Image Gallery - within the Image Gallery are steps to create the Definition, Then Image Version, then select the Source Image. This means the Snap Shot needs to be completed first (to be able to select it within the Image Version of the Gallery). Correct Answer should be: 1. Create Snap Snot. 2. Create Image Gallery 3. Create Definition
upvoted 9 times
CharlesS76
10 hours, 16 minutes ago
This is WRONG. Read through https://learn.microsoft.com/en-us/training/modules/create-manage-session-host-image/4-plan-for-image-update-management You will see that a Snap Shot has already been created and the VM turned off. What is needed now is an Image Gallery to store the image, an image definition to describe the image and give information to someone that will be using it, and an image version which is the VHD that will be used to create vm's.
upvoted 1 times
...
kay000001
1 year, 5 months ago
Also, don't get creating an Image confused with creating an Image Version. Image creation is done after Snap Shot, and Image Version is done in the Image Gallery.
upvoted 1 times
...
...
RotemDror
Most Recent 2 months, 1 week ago
The Correct order will be: Creating an Azure Compute Gallery Creating an Image Definition Creating an Image Version Snapshot cannot be taken after sysprep.
upvoted 1 times
...
jerrychan
8 months, 3 weeks ago
https://learn.microsoft.com/en-us/azure/virtual-machines/shared-image-galleries?tabs=azure-cli#generalized-and-specialized-images I think the given answer is correct.
upvoted 2 times
...
RDIO
9 months, 1 week ago
The VM was already sysprep and generalized. What will the snapshot do now? The provided answer is correct.
upvoted 3 times
...
Peeeedor
9 months, 2 weeks ago
BTW: Hyper-V checkpoints and snapshots are the same. A Hyper-V snapshot is the outdated name of a point-in-time copy of a VM. That name is relevant for Windows Server 2008, 2008 R2, and 2012. In version 2012 R2, Microsoft renamed Hyper-V snapshots to checkpoints.
upvoted 1 times
...
Doornroosje
1 year, 1 month ago
Got this question on exam today.
upvoted 2 times
Gajalakshmi_2901B
10 months, 4 weeks ago
What is the answer
upvoted 1 times
...
...
Zam88
1 year, 3 months ago
if we read it carefully it says in the question - You need to deploy additional virtual machines based on an image of VM1 by using the Azure portal. Image is already there - no need for snapshost
upvoted 4 times
...
CARO54
1 year, 5 months ago
I thnink answer is correct. No need to do snapshost because sysprep is already done and vm is power off
upvoted 1 times
MZeeshanTayyab
1 year, 5 months ago
The whole process itself starts with taking capture snapshot then we will be moving to Image portal so steps would be: Create a snapshot of VM1 Create an Azure compute gallery Create an image definition
upvoted 3 times
...
ShockWaveSix
1 year, 4 months ago
SysPrep is already done, but that in itself does not actually create an image, right? You still need to do that as one of the steps
upvoted 1 times
...
...
Spoonstabber
1 year, 6 months ago
The first step in the explanation is: "Create a managed image from a snapshot using PowerShell." So I think the first step should be to create a snapshot
upvoted 3 times
Spoonstabber
1 year, 6 months ago
Extra information: https://learn.microsoft.com/en-us/azure/virtual-desktop/set-up-golden-image
upvoted 1 times
Spoonstabber
1 year, 6 months ago
I reckon an Image version is automatically created when you create an image definition, so I think the correct answers are: Create a snapshot of VM1 Create an Azure compute gallery Create an image definition
upvoted 3 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 ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in