Installing and Configuring Windows Server 2012 — Question 16
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.)
Answer options
- 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
Correct answer: C, E
Explanation
The correct commands are C and E because setting PortMirroring to Source on VM5 allows it to send its traffic to Monitor1, while setting PortMirroring to Destination on VM6 enables Monitor1 to capture the traffic to and from VM6. The other options either do not involve port mirroring or apply incorrect settings that do not facilitate traffic monitoring.