What three Windows PowerShell cmdlets should you run in…

Drag and Drop Question
Your network contains two Hyper-V servers named Server1 and Serve2 has Windows Server 2012
R2 installed. Server2 has Windows Server 2016 installed. You perform a live migration of a virtual
machine named VM1 from Serverl to Server2. You need to create a production checkpoint for VM1
on Server2. What three Windows PowerShell cmdlets should you run in sequence? To answer,
move the appropriate Windows PowerSheild cmdlets from the list of actions to the answer.

Drag and Drop Question
Your network contains two Hyper-V servers named Server1 and Serve2 has Windows Server 2012
R2 installed. Server2 has Windows Server 2016 installed. You perform a live migration of a virtual
machine named VM1 from Serverl to Server2. You need to create a production checkpoint for VM1
on Server2. What three Windows PowerShell cmdlets should you run in sequence? To answer,
move the appropriate Windows PowerSheild cmdlets from the list of actions to the answer.

Answer:



Leave a Reply 6

Your email address will not be published. Required fields are marked *


John

John

Update-VMVersion update the VM version to the most recent version. Production Checkpoints are only supported as of Windows Server 2016, it is necessary for the VM to be updated to the VM version 8 which has been made available in Windows Server 2016.

See:
https://docs.microsoft.com/en-us/powershell/module/hyper-v/update-vmversion?view=win10-ps
and:
https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/manage/choose-between-standard-or-production-checkpoints-in-hyper-v

The -CheckpointType paramater in Set-VM is used to allow the creation of production checkpoints in the VM.

See:
https://docs.microsoft.com/en-us/powershell/module/hyper-v/set-vm?view=win10-ps

Checkpoint-VM is used to create a checkpoint of a VM.

See:
https://docs.microsoft.com/en-us/powershell/module/hyper-v/checkpoint-vm?view=win10-ps

Peter

Peter

In my opinion the answer should be:
1. Stop-VM (because u cannot change VM version while VM is in running state and Live Migration can be done only on running VM)
2. Update-VMVersion
3. Set-VM -CheckpointType (you have to change checkpoint type, because after migration from 2012 to 2016 the default checkpoint type is Standard not Production. Cmlet Set-VMHost doesn’t allow you to change checkpoint type)

Peter

Peter

I made mistake. Update-VM also changing checkpoint type from Standard to Production 🙂
1. Stop-VM (because u cannot change VM version while VM is in running state and Live Migration can be done only on running VM)
2. Update-VMVersion
3. Checkpoint-VM

Ding

Ding

New Questions:

QUESTION 35
You have a Hyper-V host that runs Windows Server 2016. The host contains a virtual machine named VM1.
VM1 has resource metering enabled.
You need to use resource metering to track the amount of network traffic that VM1 sends to the 10.0.0.0/8 network.
Which cmdlet should you run?

A. Add-VMNetworkAdapteiAd
B. Set-VMNetworkAdapter
C. New-VMResourcePool
D. Set-VMNetworkAdapterRoutingDomamMapping

Answer: B

QUESTION 36
Note: This question is part of a series of questions that use the same 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.
You plan to deploy several shielded virtual machines on Server1.
You deploy a Host Guardian on a new server.
You need to ensure that Server1 can host shielded virtual machines.
What should you run first?

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

Answer: G

QUESTION 37
You have a server named Server1 that runs Windows Server 2016.
You need to install the DNS Server role on Server1.
What should you run?

A. the dns.exe command
B. the optionalfcaturcs.exe command
C. the Install-Package cmdlet
D. the Enable-WindowsOptionalFeature cmdlet

Answer: A

QUESTION 38
Your network contains an Active Directory domain named contoso.com.
The domain contains two servers named Server1 and Server2 that have the same hardware configuration.
You need to asynchronously replicate volume F: from Server1 to Server2.
What should you do?

A. RunNew-SRPartnershipand specify the -RephcationModeparameter.
B. install the Failover Clustering feature and create a new cluster resource group.
C. Install the Failover Clustering feature and use Cluster Shared Volumes (CSV).
D. RunSet-DfsrServiceConfigurationand specify the -RPCPortparameter

Answer: A

QUESTION 39
You have a Nano Server named Nano1.
You deploy several containers to Nano1 that use an image named Image1.
You need to deploy a new container to Nano1 that uses Image1.
What should you run?

A. the Install-NanoServerPackage cmdlet
B. theInstall-WindowsFeaturecmdlet
C. the docker load command
D. the docker run command

Answer: D

Guru

Guru

Question 37 answer should be “D. Enable-WindowsOptionalFeature cmdlet”