Upgrading Your Skills to MCSA: Windows Server 2016 — Question 91
You have a Hyper-V host named Server1 that runs Windows Server 2016. Server1 hosts a virtual machine named VM1. VM1 is in a workgroup. VM1 is currently in a running state.
You need to create 10 copies of VM1 on Server1 in the least amount of time possible.
Which cmdlets should you use?
Answer options
- A. Stop-VM, and then Import-VM
- B. Export-VM, and then Import-VM
- C. Checkpoint-VM, and then New-VM
- D. Copy-VMFile, and then New-VM
Correct answer: B
Explanation
The correct answer is B because exporting VM1 creates a complete copy of the virtual machine, which can then be imported back to create multiple instances efficiently. Option A is incorrect as stopping the VM would not facilitate quick duplication. Option C involves checkpoints, which are not designed for creating multiple copies, and option D does not address the requirement of creating duplicates of a running VM in a time-efficient manner.