StudyByteLearn
← AZ-802: Administering Windows Server
AZ-802 · Virtual machines · Virtual machines | Manage Hyper-V and guest VM

Practice question 143 of 506 · medium

Two VMs need to communicate with the host for a local test but do not need a physical uplink. Which command creates the intended switch?

Choose the single best answer.

  1. A.Set-VMNetworkAdapterVlan -VMName 'APP01' -Access -VlanId 120
  2. B.New-VMSwitch -Name 'Lab' -SwitchType Private
  3. C.New-VMSwitch -Name 'Lab' -NetAdapterName 'NIC1'
  4. D.New-VMSwitch -Name 'Lab' -SwitchType Internal
Show the answer and explanation

✓ Correct answer

  • New-VMSwitch -Name 'Lab' -SwitchType Internal

An Internal switch includes the host virtual adapter without a physical uplink. Private excludes host participation. NetAdapterName creates an external switch. VLAN configuration changes an adapter's tagging and does not create the required switch.

Read the source reference

Read and review here, or open the app to practise and save your results on this device.

Unofficial study material, independently written and not affiliated with or endorsed by Microsoft. These are original learning questions, not actual exam questions. Product support and exam scope can change; a practice percentage is not a Microsoft exam scaled score.