Home » Microsoft » 70-740 v.2 » Which cmdlet should you run?
You have a Hyper-V host named Served that runs Windows Server 2016. Served has an external virtual switch named Switch1. Served hosts a virtual machine named VM1 that runs Windows Server 2016. VM1 has one network adapter. The network adapter connects to Switch1.
You need to limit the maximum network bandwidth available to VM1 to 100 Mbps. The solution must limit the bandwidth for VM1 only.
Which cmdlet should you run?
A. Set-NetAdapter
B. Set-VMNetworkAdapter
C. Set-VM
D. Set-NetAdapterVmq
E. Set-NetworkSwitchPortProperty
Correct Answer: B
Explanation/Reference:
Explanation:
The Set-VMNetworkAdapterVlan cmdlet configures virtual LAN settings for the traffic through a virtual network adapter.
Incorrect answers:
A: The Set-NetAdapter cmdlet sets the basic properties of a network adapter such as virtual LAN (VLAN) identifier (ID) and MAC address.
D: The Set-NetAdapterVmq cmdlet sets the virtual machine queue (VMQ) properties of a network adapter. VMQ is a scaling networking technology for Hyper-V switch that improves network throughput by distributing processing of network traffic for multiple virtual machines among multiple processors.
C: The Set-VM cmdlet configures a virtual machine.