exam questions

Exam MD-100 All Questions

View all questions & answers for the MD-100 exam

Exam MD-100 topic 2 question 56 discussion

Actual exam question from Microsoft's MD-100
Question #: 56
Topic #: 2
[All MD-100 Questions]

DRAG DROP
-

You have two computers named Client1 and Client2 that run Windows 10.

You perform the following actions on Client 1:

• Enable Hyper-V.
• Create a virtual machine named VM1 that runs Windows 10 Pro.
• Install a Microsoft SQL Server 2019 instance on VM1.

You plan to deploy a copy of VM1 to Client2.

You need to create an export of V1. The solution must ensure that the captured state is transactionally consistent.

Which three PowerShell commands should you run in sequence on Client1? To answer, move the appropriate cmdlets from the list of cmdlets to the answer area and arrange them in the correct order.

Show Suggested Answer Hide Answer
Suggested Answer:

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
[Removed]
2 years, 2 months ago
1 - Checkpoint-VM Name VM1 2 - Get-VMCheckpoint Get-VMCheckpoint -VMName VM1 3 - Export-VMCheckpoint -VMName VM1 -Name VM1Checkpoint -Path C:\Export https://www.ubackup.com/enterprise-backup/hyper-v-checkpoint.html
upvoted 1 times
...
flabezerra
2 years, 2 months ago
The idea behind this sequence is just to export. Before that, it is important to perform the configuration requested in the question, which is to guarantee the captured state is transactionally consistent. Then save a checkpoint with the state of the three actions. There is no need to restore anything, the question doesn't ask for that. 1 - SetVM -Name VM1 -CheckpointType Production Set to Production Checkpoint, if the production checkpoint fails a standard checkpoint is being created. 2 - Checkpoint-VM Name VM1 Creates a checkpoint of the type configured for the virtual machine. 3 - Export-VMCheckpoint -VMName VM1 -Name VM1Checkpoint -Path C:\Export Export bundles the checkpoint as a virtual machine so the checkpoint can be moved to a new location. Once imported, the checkpoint is restored as a virtual machine. Exported checkpoints can be used for backup. Using checkpoints to revert virtual machines to a previous state: https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/checkpoints
upvoted 4 times
...
ChrisC21
2 years, 2 months ago
I see how the given answer can make sense, but we are lacking some vital information. First, we're never told that we can't use the automatic backup from Hypter-V. Slyly, they use the phrase "create an export" and not create a checkpoint. If we use the automatic backup and all commands are on client one, which is the actual scripting context in the question, the answer should be closer to what Windows311 gives. No point in Restore-VMCheckpoint if it's not an Client2. It says that we "plan" to do that, not that we're doing that currently. So, to be it concisely, I agree with Windows311 on the answer.
upvoted 1 times
...
Windows311
2 years, 2 months ago
The given answer does not make sense to me... After some digging i believe its this: 1) Checkpoint-VM Name VM1 2) Get-VMCheckpoint -VMName VM1 3) Export-VMCheckpoint -VMName VM1 Checkpoint type is Prodcution as default (https://www.nakivo.com/blog/need-know-hyper-v-checkpoints/) so we wont need to set that. What we have to do is create a checkpoint in the first place, find its name by Get-VMCheckpoint and export it- Source: https://woshub.com/clone-import-export-virtual-machines-hyper-v/ If you want to export the VM state from the specific checkpoint, specify its name. First, display the list of checkpoints available for the VM: Get-VMSnapshot -VMName win10 Then export the checkpoint by its name: Export-VMSnapshot -Name “win10 - (6/17/2021 - 3:12:205 PM) Standard” -VMName win10 -Path 'C:\VHD\export'
upvoted 1 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