Question 187 of 511
Configure and Manage vSphere NetworkingeasyMultiple SelectObjective-mapped

Quick Answer

The correct answers are creating a port group and assigning a VLAN, along with adding the ESXi hosts to the distributed switch. A distributed switch functions as a centralized virtual switch across multiple hosts, so hosts must be added to it before they can use its configuration. However, for VMs to actually send and receive traffic, you must create a port group with a VLAN ID assigned—this provides the necessary Layer 2 segmentation and connectivity. On the VMware Certified Professional Data Center Virtualization VCP-DCV exam, this question tests your understanding of the minimum requirements for VM network connectivity versus optional features like jumbo frames or NIOC. A common trap is confusing host management interfaces (VMkernel) with VM connectivity, or assuming MTU or NIOC is mandatory. Remember the memory tip: “Hosts join, VMs need a group with a VLAN.”

VCP-DCV Configure and Manage vSphere Networking Practice Question

This VCP-DCV practice question tests your understanding of configure and manage vsphere networking. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. 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.

Which two actions must the administrator take to ensure network connectivity for VMs on a new distributed switch?

Question 1easymulti select
Full question →

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

Add the ESXi hosts to the distributed switch

The correct answers are A and B. Adding the ESXi hosts to the distributed switch (A) is necessary for them to use the switch. Creating a port group and assigning a VLAN ID (B) provides the network layer connectivity. Option C (setting MTU to 9000) is optional and not required for basic connectivity. Option D (configuring a VMkernel interface) is for host management, not VM connectivity. Option E (enabling NIOC) is optional for QoS.

Key principle: A trunk being up does not mean the VLAN is allowed across it. Always verify the allowed VLAN list and whether the VLAN exists on both switches.

Answer analysis

Option-by-option breakdown

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

  • Configure a VMkernel interface on the distributed switch

    Why it's wrong here

    VMkernel interfaces are for host-level traffic (management, vMotion), not for VM data.

  • Add the ESXi hosts to the distributed switch

    Why this is correct

    Without adding the hosts, the distributed switch cannot be used by VMs on those hosts.

    Related concept

    Access ports place end devices into a single VLAN.

  • Set the MTU to 9000

    Why it's wrong here

    Jumbo frames are optional and not required for basic network connectivity.

  • Create a port group and assign a VLAN

    Why this is correct

    VMs need a port group with a valid VLAN to communicate on the network.

    Related concept

    Access ports place end devices into a single VLAN.

  • Enable Network I/O Control

    Why it's wrong here

    NIOC is a QoS feature and not necessary for basic connectivity.

Common exam traps

Common exam trap: an active trunk can still block the VLAN you need

A trunk being up does not prove every VLAN is crossing it. Check allowed VLAN lists, native VLAN mismatch, VLAN existence and access-port assignment.

Detailed technical explanation

How to think about this question

VLAN questions usually combine access-port and trunking clues. The key is to identify whether the issue is local to one switchport, caused by the trunk, or caused by the VLAN not existing where it needs to exist.

KKey Concepts to Remember

  • Access ports place end devices into a single VLAN.
  • Trunk ports carry multiple VLANs between switches.
  • Allowed VLAN lists decide which VLANs can cross a trunk.
  • Native VLAN mismatch can create confusing symptoms.

TExam Day Tips

  • Use show vlan brief to verify access VLANs.
  • Use show interfaces trunk to verify trunk state and allowed VLANs.
  • Do not treat every same-VLAN issue as a routing problem.

Key takeaway

A trunk being up does not mean the VLAN is allowed across it. Always verify the allowed VLAN list and whether the VLAN exists on both switches.

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.

Review VLAN allowed lists, native VLAN mismatch detection, and how to verify VLAN membership with show vlan brief and show interfaces trunk. Then practise related VCP-DCV questions on switching, trunking, and access-port configuration.

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.

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 — Access ports place end devices into a single VLAN..

What is the correct answer to this question?

The correct answer is: Add the ESXi hosts to the distributed switch — The correct answers are A and B. Adding the ESXi hosts to the distributed switch (A) is necessary for them to use the switch. Creating a port group and assigning a VLAN ID (B) provides the network layer connectivity. Option C (setting MTU to 9000) is optional and not required for basic connectivity. Option D (configuring a VMkernel interface) is for host management, not VM connectivity. Option E (enabling NIOC) is optional for QoS.

What should I do if I get this VCP-DCV question wrong?

Review VLAN allowed lists, native VLAN mismatch detection, and how to verify VLAN membership with show vlan brief and show interfaces trunk. Then practise related VCP-DCV questions on switching, trunking, and access-port configuration.

What is the key concept behind this question?

Access ports place end devices into a single VLAN.

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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 24, 2026

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.

Loading comments…

Sign in to join the discussion.

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.