PrepAway - Latest Free Exam Questions & Answers

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.

PrepAway - Latest Free Exam Questions & Answers

Answer:

7 Comments on “What three Windows PowerShell cmdlets should you run in…

  1. John says:

    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




    3



    1
  2. Peter says:

    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)




    8



    1
    1. Peter says:

      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




      17



      3
  3. Ding says:

    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




    2



    6
  4. davidcertifier says:

    Go with Peter’s answer on this one. I cannot verify if the snapshot-type changes automatically, but with only three options, I would pick these as well.




    3



    1

Leave a Reply