exam questions

Exam 70-740 All Questions

View all questions & answers for the 70-740 exam

Exam 70-740 topic 1 question 272 discussion

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

HOTSPOT -
You have several custom deployment images for Windows Server 2016. The images are stored in a WIM file named install.wim.
You need to apply a cumulative update located in C:\Packages to the first image in the WIM file.
How should you complete the PowerShell script? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
References:
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/servicing-the-image-with-windows-updates-sxs#add-a-windows-update-package-to-an- image https://docs.microsoft.com/en-us/powershell/module/dism/save-windowsimage?view=win10-ps

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
hkshado
Highly Voted 5 years, 7 months ago
The 3rd command should be "Dismount-WindowsImage". As you can check on the links provided, "Save-WindowsImage" has no -save option but "Dismount-WindowsImage" has this option https://docs.microsoft.com/en-us/powershell/module/dism/save-windowsimage?view=win10-ps https://docs.microsoft.com/en-us/powershell/module/dism/dismount-windowsimage?view=win10-ps
upvoted 23 times
Person
5 years, 7 months ago
I agree with you.
upvoted 4 times
...
mvdb87
5 years, 5 months ago
Agreed. It's Mount, Add, Dismount since dismount has the -save parameter.
upvoted 9 times
lbs
5 years, 1 month ago
I agree. Correct answer is Mount, Add, Dismount bcos question requires a -save parameter.
upvoted 3 times
...
...
...
darfinx
Highly Voted 5 years, 2 months ago
the answer is mount / add / dismount. SaveImage has not -save parameter.
upvoted 6 times
...
GoldenFox
Most Recent 4 years, 8 months ago
Incorrect. Save-WindowsImage does NOT have the -save parameter. Correct answer is Dismount for 3rd option. Save-WindowsImage -Path <String> [-CheckIntegrity] [-Append] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<CommonParameters>]
upvoted 3 times
...
LeongCC
4 years, 9 months ago
Got this q on exam (11AUG2020) The correct answer is Mount Add Dismount
upvoted 2 times
...
Robbie
4 years, 11 months ago
you have to dismount before you save image, the last command should be dismount windows image.
upvoted 2 times
...
promaster
4 years, 11 months ago
Save-WindowsImage DOES NOT HAVE A "-Save" parameter. There can not be correct answer for 3rd step.... Dismount-WindowsImage is correct. -Path <String> [-CheckIntegrity] [-Append] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<CommonParameters>]
upvoted 4 times
...
LeonSKanady
5 years, 1 month ago
I guess the answer is "SAVE" not " DISMOUNT"... Because, if you see the 3rd part carefully, it asked for "SAVE" not " SAVE and DISMOUNT" . the SAVE option will only save the changes you made in image but wont dismount it. But the DISMOUNT option will save the changes and dismount the image. For the questions demand, i will pick SAVE instead of DISMOUNT. PS C:\> Save-WindowsImage -Path "c:\offline" This command saves the servicing changes made to the Windows image mounted to c:\offline. It does not unmounts the image. PS C:\> Dismount-WindowsImage -Path "c:\offline" -Save This command dismounts the Windows Image mapped to c:\offline and saves any changes that were made while servicing the image. https://docs.microsoft.com/en-us/powershell/module/dism/save-windowsimage?view=win10-ps https://docs.microsoft.com/en-us/powershell/module/dism/dismount-windowsimage?view=win10-ps
upvoted 1 times
TA77
4 years, 10 months ago
The question says: "You need to APPLY a cumulative update", it doesn't say you need to save. So, based on the given options, Dismount-WindowsImage makes sense.
upvoted 3 times
...
...
Izhar
5 years, 4 months ago
Got this question in exam
upvoted 5 times
...
Ben22
5 years, 5 months ago
Save-WindowsImage cmdlet applies the servicing changes made to a mounted image to its WIM or VHD file without unmounting it. 3rd command is correct.
upvoted 2 times
Shadowmaster20
5 years, 4 months ago
Save-WindowsImage cmdlet is incorrect. -save is not used in de save-windowsimage cmdlet. https://docs.microsoft.com/en-us/powershell/module/dism/save-windowsimage?view=win10-ps Meaning Dismount is correct.
upvoted 6 times
Thermal
5 years, 3 months ago
That's because the "Save-WindowsImage" cmdlet doesn't need a -save switch, it's sole function is save servicing changes without dismounting. So technically it is correct, the issue then becomes whether you need to dismount the image. Personally i think you and others are right, if I were doing this then I would Dismount -save to save and dismount at the same time but knowing MS questions I'm going to go with the save option as it is does what the question asks and I feel that will get me the mark. Fortunately you'll still get two points out of three either way. I just wish MS would give a point for any solution that accomplishes the goal unless it's wrong, not just the solution they want you to use.
upvoted 1 times
[Removed]
5 years, 2 months ago
Very true; however, the provided command does have the -save commend making it invalid. Correct answer is Dismount for third option.
upvoted 5 times
...
...
...
...
RicardoRyuma
5 years, 7 months ago
Differences between mount-windowsimage and expand-windowsimage.
upvoted 3 times
falcon4fun
5 years, 7 months ago
Interested too. Because expand is used sometimes in prev.questions.
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 ...