PrepAway - Latest Free Exam Questions & Answers

Which two commands should you run from Windows PowerShell?

Your network contains an Active Directory domain named adatum.com. The domain contains a
member server named Host1. Host1 runs Windows Server 2012 R2 and has the Hyper-V server role
installed.
Host1 hosts two virtual machines named VM5 and VM6. Both virtual machines connect to a virtual
switch named Virtual1.
On VM5, you install a network monitoring application named Monitor1.
You need to capture all of the inbound and outbound traffic to VM6 by using Monitor1.
Which two commands should you run from Windows PowerShell? (Each correct answer presents
part of the solution. Choose two.)

PrepAway - Latest Free Exam Questions & Answers

A.
Get-VM “VM6″ | Set-VMNetworkAdapter-IovWeight 1

B.
Get-VM “VM5″ I Set-VMNetworkAdapter -IovWeight 0

C.
Get-VM “VM5″ | Set-VMNetworkAdapter -PortMirroring Source

D.
Get-VM “VM6″ | Set-VMNetworkAdapter -AllowTeaming On

E.
Get-VM “VM6″ | Set-VMNetworkAdapter -PortMirroring Destination

F.
Get-VM “VM5″ | Set-VMNetworkAdapter -AllowTeaming On

Explanation:
-PortMirroring specifies the port mirroring mode for the network adapter. This can be set to None,
Source, and Destination.
If set to Source, a copy of every network packet it sends or receives is forwarded to a virtual network
adapter configured to receive the packets.
If set to Destination, it receives copied packets from the source virtual network adapter.
In this scenario, VM5 is the destination which must receive a copy of the network packets from VM6,
which s the source.
http://technet.microsoft.com/en-us/library/hh848457.aspx

10 Comments on “Which two commands should you run from Windows PowerShell?

  1. Sam Martin says:

    Once again, Source and Destination have been reversed.
    Monitoring1 is installed on VM5
    Traffic is captured from VM6
    Source is where the packets come from
    Destination is where the packets go to

    The packets need to come from VM6 to VM5
    Ergo, VM6 is the source, VM5 is the destination.




    0



    0
    1. Olivier Lopez says:

      I noticed that “to” as well. If we follow that statement then yes, VM6 should be configured as the destionation, but then, there would be no way to know that VM5 has to be set as source.

      “On VM5, you install a network monitoring application named Monitor1” is the only sentence that lets you know that VM5 could possibly be the destionation VM, using VM6 as the destionation just because of that “to” generates simply too much confusion.

      I rather think they just wrongly flipped the source and destination words on the possible answers.




      0



      0

Leave a Reply