exam questions

Exam 70-743 All Questions

View all questions & answers for the 70-743 exam

Exam 70-743 topic 1 question 42 discussion

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

Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only to that question.
You have a Hyper-V host named Server1 that runs Windows Server 2016. Server1 has a dynamically expanding virtual hard disk (VHD) file that is 900 GB. The
VHD contains 400 GB of free space.
You need to reduce the amount of disk space used by the VHD.
What should you run?

  • A. the Mount-VHD cmdlet
  • B. the Diskpart command
  • C. the Set-VHD cmdlet
  • D. the Set-VM cmdlet
  • E. the Set-VMHost cmdlet
  • F. the Set-VMProcessor cmdlet
  • G. the Install-WindowsFeature cmdlet
  • H. the Optimize-VHD cmdlet
Show Suggested Answer Hide Answer
Suggested Answer: H 🗳️
The Optimize-VHD cmdlet optimizes the allocation of space in or more virtual hard disk files, except for fixed virtual hard disks. The Compact operation is used to optimize the files. This operation reclaims unused blocks as well as rearranges the blocks to be more efficiently packed, which reduces the size of a virtual hard disk file.
References:
https://technet.microsoft.com/en-us/itpro/powershell/windows/hyper-v/optimize-vhd

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
spirel
4 years, 7 months ago
They didn't say first, i think the given answer H is correct.
upvoted 2 times
...
kndwomb
4 years, 7 months ago
ok, agreed, you must first mount the vhd, but thats not what has been asked. the question is: You need to reduce the amount of disk space used by the VHD., What should you run? Does Mount-vhd the amount of disk space? So answer is correct, Optimize-vhd
upvoted 1 times
...
JTJaki
4 years, 9 months ago
First you must mount-vhd to use optimize-vhd command! https://www.sikich.com/insight/how-to-compact-dynamic-vhd-and-vhdx-files-in-hyper-v-2012-and-newer/
upvoted 1 times
...
Wafi
4 years, 9 months ago
I think it's A
upvoted 2 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 ...