Microsoft Exam Questions

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 VMS 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.)

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:
The questions states you need to capture all traffic going to and from VM6, using VM5.

Get-VM “VM5” | Set-VMNetworkAdapter -PortMirroring Destination (<—- Not source as VM5
is the destination for the monitor)
And
Get-VM “VM6” | Set-VMNetworkAdapter -PortMirroring Source (<—- Not destination as
we’re monitoring VM6 not collecting with it)