Courseiva
Configure and Manage vSphere NetworkingmediumMultiple ChoiceObjective-mapped

VCP-DCV Configure and Manage vSphere Networking Practice Question

A vSphere administrator is troubleshooting connectivity issues for a virtual machine on a standard switch. The VM is configured with VLAN 100, but cannot ping the default gateway. The VMkernel port on the host is on VLAN 200. The physical switch port connected to the host is configured as a trunk port allowing VLANs 100 and 200. Which action should the administrator take to resolve the issue?

⚠ Common exam trap

Test-takers frequently confuse the VM port group VLAN setting with the VMkernel port VLAN, or think that a trunk port on the physical switch automatically passes all VLANs to the VM without requiring the port group to be set to a specific VLAN ID.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Ensure the VM port group is set to VLAN 100.

The VM is configured with VLAN 100, and the physical switch trunk port already allows VLAN 100 and 200. The VMkernel port on VLAN 200 is working, so the issue is that the VM port group must be explicitly set to VLAN 100 to tag egress frames with VLAN 100 and to accept only VLAN 100-tagged frames on ingress. Option C ensures the standard switch port group applies the correct VLAN ID, matching the physical switch trunk configuration.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Enable promiscuous mode on the VM port group.

    Why it's wrong here

    Promiscuous mode is for MAC address issues, not VLAN.

  • Change the physical switch port to access mode on VLAN 100.

    Why it's wrong here

    The physical switch is already trunking VLAN 100.

  • Ensure the VM port group is set to VLAN 100.

    Why this is correct

    The VM port group must match the VM's VLAN.

  • Set the VM port group VLAN to 4095.

    Why it's wrong here

    VLAN 4095 is used for VLAN tagging by the guest OS.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

About these practice questions

This VCP-DCV question is part of Courseiva's 498-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

4 more ways this is tested on VCP-DCV

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. An administrator is configuring a vSphere Standard Switch. Which two settings are essential for basic network connectivity of virtual machines?

easy
  • A.Port group name
  • B.MTU
  • C.Network adapter type (e.g., E1000)
  • D.Security policy
  • E.VLAN ID

Why A: For basic network connectivity of virtual machines on a vSphere Standard Switch, a port group must be created. Two essential settings are the port group name (to identify the network) and a VLAN ID (to associate the VMs with the correct VLAN; VLAN 0 is the default untagged VLAN). Without a name, the port group cannot be created; without a VLAN ID, VMs may not be properly segmented or may lack network access. Other options like MTU, network adapter type, and security policy are not essential for basic connectivity.

Variation 2. An administrator needs to create a distributed port group on a vSphere Distributed Switch (VDS). Which two configuration settings must be specified during creation? (Choose two.)

easy
  • A.VLAN ID
  • B.Uplink teaming policy
  • C.Number of ports
  • D.Port group name
  • E.Traffic shaping policy

Why A: A VLAN ID must be specified to define the VLAN membership for the distributed port group, ensuring proper network segmentation and traffic isolation. The port group name is required as a unique identifier for administrative management and reference within the vSphere environment.

Variation 3. An administrator has created a standard vSwitch port group with VLAN ID 100. Virtual machines in this port group can communicate with each other but not with devices on the physical network. What is a possible cause?

easy
  • A.The vSwitch has only one uplink.
  • B.The virtual machines have duplicate MAC addresses.
  • C.The physical switch port is not configured to pass VLAN 100.
  • D.The virtual machines are using different subnets.

Why C: The issue is that VMs on VLAN 100 can communicate among themselves but not with the physical network. This indicates that VLAN tagging is working within the vSwitch (inter-VM communication works), but the physical switch port is not configured to pass VLAN 100 traffic. The uplink from the ESXi host to the physical switch must be set as a trunk port allowing VLAN 100, or if using an access port, it must be set to VLAN 100. Option A (only one uplink) is sufficient for connectivity. Option B (duplicate MAC addresses) would cause issues even locally. Option D (different subnets) would also affect local communication, but local communication works, so these are not the cause.

Variation 4. A vSphere administrator is troubleshooting connectivity issues for a virtual machine that is unable to communicate with other VMs on the same VLAN. The VM is connected to a distributed port group on a vSphere Distributed Switch (vDS). The administrator verifies that the VM's IP configuration is correct and that the port group is configured with the correct VLAN ID. However, the VM can only communicate with other VMs on the same ESXi host. What is the most likely cause?

medium
  • A.The vDS is not configured with a VLAN trunking policy.
  • B.The VM's network adapter is configured with the wrong MAC address.
  • C.The distributed port group has forging transmits set to reject.
  • D.The physical switch ports connecting the ESXi hosts are not configured as trunk ports for the VLAN.

Why D: The VM can communicate only with other VMs on the same ESXi host because VLAN-tagged frames cannot pass through the physical switch ports to other hosts. For VMs on the same VLAN to communicate across hosts, the physical switch ports connecting the ESXi hosts must be configured as trunk ports that allow the relevant VLAN. Option A is incorrect because the vDS does not require a separate VLAN trunking policy; the port group VLAN ID handles tagging. Option B is incorrect because the MAC address is automatically assigned and would not cause host-only communication. Option C is incorrect because the 'forging transmits' security policy controls MAC address changes, not basic connectivity.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This VCP-DCV practice question is part of Courseiva's free VMware certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the VCP-DCV exam.