You are configuring security for your Windows Server 2008 R2 Hyper-V environment. You need to configure the environment so that virtual machines (VMs) are restricted to a specific VLAN. What should you do?
A.
Enable VLAN identification on the virtual network and specify the VLAN ID.
B.
Enable VLAN identification on the VM network adapter and specify the VLAN ID.
C.
Add a secondary network adapter to the Hyper-V host.
D.
Add a secondary network adapter to the VM.
This answer should be A. See below:
On the management operating system, you will need to configure the virtual network to allow network traffic on the physical port. This is for the VLAN IDs that you want to use internally with virtual machines. Next, you configure the virtual machine to specify the virtual LAN that the virtual machine will use for all network communications.
There are two modes in which you can configure a VLAN: access mode and trunk mode. In access mode, the external port of the virtual network is restricted to a single VLAN ID in the UI. You can have multiple VLANs using WMI. Use access mode when the physical network adapter is connected to a port on the physical network switch that also is in access mode. To give a virtual machine external access on the virtual network that is in access mode, you must configure the virtual machine to use the same VLAN ID that is configured in the access mode of the virtual network. Trunk mode allows multiple VLAN IDs to share the connection between the physical network adapter and the physical network. To give virtual machines external access on the virtual network in multiple VLANs, you need to configure the port on the physical network to be in trunk mode. You will also need to know the specific VLANs that are used and all of the VLAN IDs used by the virtual machines that the virtual network supports.
To allow Hyper-V to use a VLAN
Open Hyper-V Manager.
From the Actions menu, click Virtual Network Manager.
Select the virtual network you want to edit, and, in the right pane, check to select Enable virtual LAN identification.
Enter a number for the VLAN ID. All traffic for the management operating system that goes through the network adapter will be tagged with the VLAN ID you set.
To allow a virtual machine to use a VLAN
Open Hyper-V Manager.
In the results pane, under Virtual Machines, select the virtual machine that you want to configure to use a VLAN.
In the Action pane, under the virtual machine name, click Settings.
Under Hardware, select the virtual network adapter connected to the external virtual network.
In the right pane, select Enable virtual LAN identification, and then enter the VLAN ID you plan to use.
http://technet.microsoft.com/en-us/library/cc816585(v=WS.10).aspx