exam questions

Exam 70-740 All Questions

View all questions & answers for the 70-740 exam

Exam 70-740 topic 1 question 162 discussion

Actual exam question from Microsoft's 70-740
Question #: 162
Topic #: 1
[All 70-740 Questions]

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?

  • 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
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
MrRiver
Highly Voted 5 years, 9 months ago
B is correct with Export-vm you can export a Running VM. After that you can import-vm Answer A does not create a copy of the vmfiles, even if it would the question states "in the least amount of time" so exporting the running vm would be faster creating a checkpoint does not hel in creating a new VM copy-vmfile only copys a file from the HV-Host to the Guest VM (if Guest Services is enabled ;)
upvoted 17 times
nonoelptirobo
5 years ago
after having tried in a lab if you only stop the VM and reimport it , it would use the SAME configuration file as the original meaning you wouldn't be able to start the original and the copy at the same time, it's not copying the original. hence why B is correct
upvoted 1 times
Bobgross
4 years, 11 months ago
I just stopped a VM, imported it. during the important it said it was copying the files to a new location. After the import I started both VMs and they both are running at the same time. Answer is A
upvoted 1 times
...
...
Dave_Holden
4 years, 8 months ago
I think they are going for VM templates here. So, answer B. Sysprep the template and then create duplicates. https://www.nakivo.com/blog/using-vm-templates-to-clone-hyper-v-vms/
upvoted 1 times
...
...
Tenshi
Most Recent 4 years, 10 months ago
A is correct provided that its ok to turn off the VM. (fastest) B is correct provided that we are not to turn off the VM. The question states the VM condition as running but not if we are to turn it off or on, so i assume that its ok to turn it off and be quick about it. It is a very bad question and the only "right answer" is in the mood of the person who came up with it.
upvoted 2 times
Tenshi
4 years, 10 months ago
Coming back to this question I can see that A is the correct one. We need 10 VM copies on the same host with the fastest possible way. "You need to create 10 copies of VM1 on Server1 in the least amount of time possible." The key is "on server1".
upvoted 1 times
...
...
mans789
4 years, 11 months ago
Import a Virtual Machine Importing a virtual machine registers the virtual machine with the Hyper-V host. You can import back into the host, or new host. If you're importing to the same host, you don't need to export the virtual machine first, because Hyper-V tries to recreate the virtual machine from available files. Importing a virtual machine registers it so it can be used on the Hyper-V host.
upvoted 1 times
...
promaster
5 years, 1 month ago
Answer A, would be the least amount of time possible, because your spending time exporting, I think that's why they gave a hint that it's running...... "If you're importing to the same host, you don't need to export the virtual machine first, because Hyper-V tries to recreate the virtual machine from available files."... https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/deploy/export-and-import-virtual-machines
upvoted 2 times
promaster
5 years, 1 month ago
And what I mean is doing Answer B you would be "spending time" exporting.
upvoted 2 times
TrueLearner
5 years ago
Yep, definitely A would be faster.
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 ...