Microsoft Exam Questions

Which DISM option should you use?

You have a VHD that contains an image of Windows Server 2012.
You plan to apply updates to the image.
You need to ensure that only updates that can install without requiring a restart are installed.
Which DISM option should you use?

A.
/Apply-Unattend

B.
/Add-ProvisionedAppxPackage

C.
/PreventPending

D.
/Cleanup-Image

Explanation:
http://technet.microsoft.com/en-us/library/hh825265.aspx
Operating System Package Servicing Command-Line Options
When you are installing a package in an offline image, the package state is install pending because of
pending online actions. In other words, the packagewill be installed when the image is booted and theonline
actions are processed. If subsequent actions are requested, they cannot be processed until the previous
pending online action is completed. You can use the/PreventPending option when you add a package with/
AddPackageto skip the installation of a package when there are pending online actions.