- A
Enable promiscuous mode on the VM port group.
Why wrong: Promiscuous mode is for MAC address issues, not VLAN.
- B
Change the physical switch port to access mode on VLAN 100.
Why wrong: The physical switch is already trunking VLAN 100.
- C
Ensure the VM port group is set to VLAN 100.
The VM port group must match the VM's VLAN.
- D
Set the VM port group VLAN to 4095.
Why wrong: VLAN 4095 is used for VLAN tagging by the guest OS.
Quick Answer
The answer is to ensure the VM port group is set to VLAN 100. This resolves the connectivity issue because on a standard switch, the port group VLAN ID must explicitly match the VLAN tag expected by the physical trunk; the VM itself is configured with VLAN 100, and the physical switch trunk already permits VLANs 100 and 200, but without the port group set to VLAN 100, the standard switch will not tag the VM’s egress frames or filter ingress traffic correctly. On the VMware Certified Professional Data Center Virtualization VCP-DCV exam, this scenario tests your understanding of how standard switch VLAN tagging interacts with physical trunk ports—a common trap is assuming the VM’s guest OS VLAN setting alone is sufficient, when in fact the port group must apply the tag for the virtual switch to communicate with the physical network. To troubleshoot VLAN connectivity for virtual machines on a standard switch, always verify that the port group VLAN ID mirrors the allowed trunk VLAN. Memory tip: “Port group tags, guest OS just listens”—the port group is the gatekeeper for VLAN tagging on a standard switch.
VCP-DCV Configure and Manage vSphere Networking Practice Question
This VCP-DCV practice question tests your understanding of configure and manage vsphere networking. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
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?
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.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
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.
- ✗
Set the VM port group VLAN to 4095.
Why it's wrong here
VLAN 4095 is used for VLAN tagging by the guest OS.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often 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.
Detailed technical explanation
How to think about this question
In vSphere standard switching, the VLAN ID on a port group determines the 802.1Q tag applied to outbound frames and the expected tag on inbound frames. The physical switch trunk port expects tagged frames for VLAN 100 and 200; if the VM port group is set to a different VLAN (or the default 0), frames will be either untagged or tagged incorrectly, causing the default gateway to be unreachable. A common real-world scenario is when a VM is moved between port groups or hosts and the VLAN ID is inadvertently left at the default (0), breaking connectivity despite correct physical trunking.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A help-desk technician troubleshoots why a newly connected PC cannot reach shared printers on the same floor. The cable is good, the switch port is active, but the PC is in VLAN 20 and the printers are in VLAN 10. The uplink trunk only allows VLAN 10. A trunk being up does not mean every VLAN crosses it.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Configure and Manage vSphere Networking — study guide chapter
Learn the concepts, then practise the questions
- →
Configure and Manage vSphere Networking practice questions
Targeted practice on this topic area only
- →
All VCP-DCV questions
511 questions across all exam domains
- →
VMware Certified Professional Data Center Virtualization VCP-DCV study guide
Full concept coverage aligned to exam objectives
- →
VCP-DCV practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related VCP-DCV practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
vSphere Architecture, Products and Solutions practice questions
Practise VCP-DCV questions linked to vSphere Architecture, Products and Solutions.
Configure and Manage vSphere Networking practice questions
Practise VCP-DCV questions linked to Configure and Manage vSphere Networking.
Configure and Manage vSphere Storage practice questions
Practise VCP-DCV questions linked to Configure and Manage vSphere Storage.
vSphere Lifecycle Management practice questions
Practise VCP-DCV questions linked to vSphere Lifecycle Management.
vSphere Security practice questions
Practise VCP-DCV questions linked to vSphere Security.
vSphere Performance and Scaling practice questions
Practise VCP-DCV questions linked to vSphere Performance and Scaling.
VCP-DCV fundamentals practice questions
Practise VCP-DCV questions linked to VCP-DCV fundamentals.
VCP-DCV scenario practice questions
Practise VCP-DCV questions linked to VCP-DCV scenario.
VCP-DCV troubleshooting practice questions
Practise VCP-DCV questions linked to VCP-DCV troubleshooting.
Practice this exam
Start a free VCP-DCV practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this VCP-DCV question test?
Configure and Manage vSphere Networking — This question tests Configure and Manage vSphere Networking — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: 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.
What should I do if I get this VCP-DCV question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
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: Options A and B are correct because a port group must have a name and a VLAN ID (even if 0) to be created. Option C is incorrect because MTU can default. Option D is incorrect because the network adapter type is chosen by the VM. Option E is incorrect because the MAC address is assigned automatically.
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: Option B is correct because the physical switch port must be configured to pass VLAN 100, either as a trunk or access port. Option A is incorrect because duplicate MAC addresses would affect local communication too. Option C is incorrect because subnet mismatch would also affect local communication. Option D is incorrect because one uplink is sufficient.
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: Option C is correct because if VMs on the same VLAN cannot communicate across hosts, the physical switch ports connecting ESXi hosts are likely not configured as trunk ports for that VLAN. This prevents VLAN-tagged frames from passing between hosts. Option A is incorrect because VLAN trunking policy on the vDS is not required for basic VLAN communication; 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 D is incorrect because the 'forging transmits' security policy controls MAC address changes, not basic connectivity.
Keep practising
More VCP-DCV practice questions
- A vSphere administrator is managing a cluster with vLCM and receives a notification that a new ESXi patch is available.…
- An administrator needs to apply a security patch to a vLCM-managed cluster. The patch is available as an ESXi image in t…
- An administrator sees the above JSON output from a vLCM compliance report. What should the administrator do to resolve t…
- An administrator is planning to migrate from legacy baselines to vLCM for a cluster. Which TWO statements are true about…
- A vSphere administrator is using vLCM and needs to ensure that all hosts are compliant with the desired image. Which TWO…
- Which TWO actions are recommended to secure the vCenter Server Appliance (VCSA)?
Last reviewed: Jun 11, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.