VMware certification · Exam 2V0-41.24

2V0-41.24 Mock Exam Page 3

VMware NSX 4.X Professional V2

Free 2V0-41.24 mock exam questions 21–30, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Free 2V0-41.24 questions

21–30 of 34 free
Question 21 Choose 1
Which command is used to set the NSX Manager’s logging-level to debug mode for troubleshooting?
Show answerHide answer

Correct answer: D sec service manager logging-level debug

Explanation

Explanation:

When troubleshooting NSX Manager issues, you may need to increase the logging level to capture more detailed diagnostic information. The CLI command to set the NSX Manager's logging level to debug mode follows a specific syntax structure, where the service name is identified as "manager" rather than "nsx-manager".

Why other options are incorrect:

A. set service manager log-level debug – Incorrect.
The command uses an invalid parameter log-level. The correct parameter is logging-level (hyphenated form). While the difference may seem minor, CLI commands are case-sensitive and require exact syntax.

B. set service nsx-manager logging-level debug – Incorrect.
This command uses an incorrect service name. The NSX Manager service is registered as manager, not nsx-manager. Using an incorrect service name will result in a command execution failure.

C. set service nsx-manager log-level debug – Incorrect.
This option combines two errors: it uses the wrong service name (nsx-manager instead of manager) and the wrong parameter (log-level instead of logging-level).

Reference

VMware NSX CLI Guide – The official documentation confirms the correct command syntax: set service manager logging-level is used to "Set the log level of the manager service"

Exam discussion sources – While some exam discussion forums debate between options, multiple authoritative sources confirm that option D is the correct answer for this question
Question 22 Choose 1
When a stateful service is enabled for the first time on a Tier-0 Gateway, what happens on the NSX Edge node?
Show answerHide answer

Correct answer: B SR is instantiated and automatically connected with DR.

Explanation

Explanation:

When a stateful service is enabled for the first time on a Tier-0 Gateway, the NSX Edge node instantiates a Service Router (SR) and automatically connects it to the pre-existing Distributed Router (DR).

All Tier-0 gateways contain a Distributed Router (DR) by default. The DR handles distributed East-West routing and is replicated across all transport nodes. It is always present and does not require manual creation.

When a stateful service that cannot be distributed is enabled on a logical router, a Service Router (SR) is instantiated on-demand. Stateful services such as NAT, VPN, and Gateway Firewall must be processed on the Edge node rather than being distributed to individual hosts.

The connection between the SR and DR uses a dedicated transit link on the 169.254.0.0/28 subnet. This intra-router transit link is created automatically when the SR is instantiated.

Why other options are incorrect:

A. DR is instantiated and automatically connected with SR. – Incorrect.
The DR exists on all Tier-0 gateways by default, even before any stateful service is enabled. It is not "instantiated" when a stateful service is enabled—it is already present. The SR is the component that gets instantiated on-demand.

C. SR and DR doesn't need to be connected to provide any stateful services. – Incorrect.
For stateful services to function, the SR must be connected to the DR. The DR handles distributed routing functionality, while the SR manages stateful packet processing. Traffic must be able to pass between these components for stateful services to work correctly.

D. SR and DR is instantiated but requires manual connection. – Incorrect.
The DR is not instantiated when enabling a stateful service—it already exists. Additionally, the connection between SR and DR is created automatically. No manual configuration or connection steps are required. The links between SR and DR use the 169.254.0.0/28 subnet and are created automatically when a gateway is deployed or when an SR is instantiated.

Reference

VMware NSX Documentation (Broadcom TechDocs) – "NSX Edge Networking Setup": A services router is required if the gateway is going to be configured to perform services, such as NAT. The links between SR and DR are created automatically when you deploy a tier-0 or tier-1 gateway.
Question 23 Choose 1
What is the most restrictive NSX built-in role which will allow a user to apply configuration changes on an NSX Edge?
Show answerHide answer

Correct answer: A Network Engineer

Explanation

Explanation:

The question asks for the most restrictive built-in role that allows configuration changes on an NSX Edge. This means we need the role with the fewest privileges that still grants write access (CRUD or Execute permissions) to Edge-specific networking configurations, while excluding broader administrative powers.

Why other options are incorrect:

B. Cloud Service Administrator – Incorrect.
The Cloud Admin (CA) role is only available in NSX Cloud environments and is not a standard on-premises NSX role . It is not relevant to the general NSX Edge configuration scenario described in the question.

C. NSX Administrator – Incorrect.
While the NSX Administrator (equivalent to Enterprise Admin, EA) can certainly configure Edge devices, it is not the most restrictive role that can do so . Enterprise Admin has Full Access to the entire NSX system, including security, user management, system updates, and all networking functions . This role is significantly over-privileged for the stated requirement.

D. Network Operator – Incorrect.
The Network Operator (NO) role has only Read (R) access to Tier-0 Gateways, Tier-1 Gateways, Segments, NAT, and VPN . This role cannot make configuration changes; it is limited to viewing networking configurations. Therefore, it does not meet the requirement of allowing a user to apply configuration changes on an NSX Edge.

Reference

VMware NSX 4.2 Administration Guide – "Role-Based Access Control": Lists Network Admin (NA) with FA (Full Access) to Tier-0 Gateways, Tier-1 Gateways, Segments, NAT, VPN, and other networking components; Network Operator (NO) has Read access only .
Question 24 Choose 1
What must be configured on Transport Nodes for encapsulation and decapsulation of Geneve protocol?
Show answerHide answer

Correct answer: A TEP

Explanation

Explanation:

The Geneve protocol is the encapsulation protocol used by NSX to create overlay networks. For a transport node (ESXi host or Edge node) to be able to encapsulate (send) and decapsulate (receive) Geneve traffic, it must have a dedicated Tunnel Endpoint (TEP) configured .

Why other options are incorrect:

B. STT (Stateless Transport Tunneling) – Incorrect.
STT was an encapsulation mechanism used in earlier VMware products (such as NSX for vSphere / NSX-V). NSX 4.x (formerly NSX-T) exclusively uses Geneve as its overlay encapsulation protocol. STT is not supported or configurable on NSX transport nodes in current versions.

C. VXLAN (Virtual Extensible LAN) – Incorrect.
While VXLAN is a common overlay encapsulation protocol used in many data center environments (and is mentioned in NSX documentation for EVPN interoperability scenarios), NSX 4.x uses Geneve as its native encapsulation protocol . VXLAN is not used for encapsulation and decapsulation on NSX transport nodes for standard overlay networking.

D. UDP (User Datagram Protocol) – Incorrect.
UDP is a transport layer protocol, not a configuration object on a transport node. Geneve packets are encapsulated within UDP (using destination port 6081), but UDP itself is not something an administrator "configures on transport nodes for encapsulation and decapsulation." The TEP defines the IP addresses used, while UDP is simply the transport mechanism that carries the Geneve-encapsulated traffic.

Reference

VMware NSX Documentation (Broadcom TechDocs) – "Tunnel Endpoint (TEP): IP address of a transport node (Edge node or host) used for Geneve encapsulation within a location" .

VMware NSX 4.1.1 Release Notes – "IPv6 TEP (tunnel end point) support for Transport Nodes with Geneve encapsulation for Transport Nodes (Edge Nodes and ESXi hosts)" .
Question 25 Choose 1
An NSX administrator noticed that the nsxcli command times out after 600 secs of idle time.
Which CLI command disables the nsxcli time out value on NSX Manager?
Show answerHide answer

Correct answer: D set cli-timeout 0

Explanation

Explanation:

The nsxcli session timeout is a security feature that automatically logs out idle CLI sessions. By default, this timeout is set to 600 seconds (10 minutes) to prevent unauthorized access to an unattended management session . The administrator needs to disable this feature entirely so that CLI sessions no longer time out.

Why other options are incorrect:

A. set cli-timeout 1 – Incorrect.
While this command is syntactically valid, setting the timeout to 1 second is the opposite of disabling it. It would cause the session to disconnect after only one second of idle time, making the CLI nearly unusable. The question specifically asks for the command that disables the timeout, not changes its value.

B. set cli-timeout enabled – Incorrect.
The set cli-timeout command does not accept enabled or disabled as arguments. It only accepts a numerical value (seconds). Using this syntax would result in a command error, as the NSX CLI expects an integer for the timeout value .

C. set cli-timeout disabled – Incorrect.
Similar to option B, disabled is not a valid argument for the set cli-timeout command. VMware commands typically use numerical values (0 to disable) rather than boolean flags for timeout settings . This command would fail to execute.

Reference

VMware NSX CLI Guide– The set cli-timeout command is documented with the note: "Set inactivity timeout in seconds. To disable the timeout, specify 0"

VMware NSX-T Data Center REST API – The NodeProperties schema includes cli_timeout as an integer property with the description "NSX CLI inactivity timeout, set to 0 to configure no timeout"
Question 26 Choose 1
Which is an advantage of an L2 VPN in an NSX 4.x environment?
Show answerHide answer

Correct answer: B Use the same broadcast domain

Explanation

Explanation:

A key advantage of an L2 VPN in an NSX 4.x environment is the ability to stretch Layer 2 networks across multiple geographic sites while maintaining the same broadcast domain . When a Layer 2 VPN is implemented, the extended network operates as a single subnet with one broadcast domain, meaning virtual machines (VMs) retain their original IP addresses when moved between sites . This provides significant operational benefits for workload mobility and disaster recovery scenarios.

Why other options are incorrect:

A. Achieve better performance – Incorrect.
While L2 VPN can provide functional connectivity, the documentation does not claim better performance as an advantage. In fact, performance considerations such as Path MTU Discovery (PMTUD) are discussed as features to help avoid fragmentation , but performance is not highlighted as a primary benefit. L2 VPN introduces encapsulation overhead that can potentially impact performance rather than improve it.

C. Enables Multi-Cloud solutions – Incorrect.
While L2 VPN can be used in hybrid scenarios (such as connecting on-premises NSX to VMC), enabling multi-cloud solutions is not the primary advantage cited in VMware's official documentation. The documentation focuses on extending L2 networks across sites, data center migration, and disaster recovery use cases . Some exam discussion sources note that L2 VPN "enables hybrid cloud solutions" , but "multi-cloud" is broader than hybrid cloud and is not listed as a core advantage.

D. Enables VM mobility with re-IP – Incorrect.
This option is factually backward. L2 VPN does the opposite of requiring re-IP. The documentation explicitly states that when VMs are moved using L2 VPN, "their IP addresses remain unchanged" . Preserving IP addresses is a key advantage, not requiring re-IP . Re-IP would indicate network reconfiguration is needed, which defeats a primary purpose of L2 VPN extension.

Reference

Broadcom TechDocs – "Understanding Layer 2 VPN": L2 VPN extends Layer 2 networks "across multiple sites on the same broadcast domain"; VMs remain on the same subnet with unchanged IP addresses when moved
Question 27 Choose 1
Which CLI command on NSX Manager and NSX Edge is used to change NTP settings?
Show answerHide answer

Correct answer: B set ntp-server

Explanation

Explanation:

The set ntp-server command is the correct CLI command to configure NTP (Network Time Protocol) server settings on both NSX Manager and NSX Edge appliances. This command establishes time synchronization with designated NTP servers, which is critical for ensuring consistent timestamps across logs, certificates, and event correlation.

Why other options are incorrect:

A. set timezone – Incorrect.
This command sets the system time zone (e.g., America/Los_Angeles), not NTP server configuration. Timezone and NTP serve different purposes: time zone defines local time display, while NTP synchronizes the actual system clock with time servers . The set timezone command would not configure an NTP server address.

C. get timezone – Incorrect.
This is a get command (used for viewing, not modifying configuration) and it displays the current time zone setting, not NTP servers. The question specifically asks for a command to "change NTP settings," which requires a set (configuration) command, not a get (viewing) command.

D. get time-server – Incorrect.
There is no standard get time-server command in NSX CLI. The correct command to view NTP configuration is get ntp-server . Additionally, like option C, this is a get command for viewing, not changing, settings.

Reference

VMware NSX 4.x Administration Guide– "Configuring Appliances": The table of CLI commands explicitly lists set ntp-server as the command for configuring NTP servers on NSX Manager and NSX Edge nodes

VMware Documentation – "Configure a Node Profile": Verification commands include get ntp-server to confirm NTP configuration
Question 28 Choose 1
What needs to be configured on a Tier-0 Gateway to make NSX Edge Services available to a VM on a VLAN-backed logical switch?
Show answerHide answer

Correct answer: A VLAN Uplink

Explanation

Explanation:

To make NSX Edge services available to a VM on a VLAN-backed logical switch, a VLAN Uplink must be configured on the Tier-0 Gateway. The VLAN Uplink serves as the external interface that connects the Tier-0 Gateway to the physical network infrastructure, enabling communication between logical networks within NSX and external networks .

Why other options are incorrect:

B. Downlink interface – Incorrect.
A downlink interface connects Tier-0 Gateway to Tier-1 Gateways for internal routing within the NSX environment. It is not used for connecting to VLAN-backed switches for external Edge services. The documentation explicitly describes that "Tier-0 gateway has downlink connectivity to Tier-1 gateways and external connectivity to the physical network" . The downlink is for internal north-south communication, not for exposing Edge services to VLAN-backed VMs.

C. Loopback Router Port – Incorrect.
A loopback interface is a virtual interface with no physical association, typically used for management or as a stable endpoint for dynamic routing protocols like BGP. It does not provide connectivity from the Tier-0 Gateway to a VLAN-backed logical switch. Loopback ports cannot forward traffic to or from physical network segments.

D. Service interface – Incorrect.
A service interface (also known as LogicalRouterCentralizedServicePort) is indeed used to apply stateful services to traffic , and VMware documentation confirms that "stateful services can be applied on this port" . However, a service interface is not used for the initial connection to a VLAN-backed switch. It is an additional construct that may be implemented after the uplink is configured. The fundamental requirement to establish connectivity between the Tier-0 Gateway and the VLAN-backed logical switch remains the configuration of a VLAN Uplink.

Reference

VMware NSX Documentation – To create an NSX Edge uplink, you must connect a Tier-0 router to a VLAN switch

Broadcom TechDocs – Tier-0 Gateway external interfaces (VLAN Uplinks) are configured by selecting the "External" type and connecting to a VLAN segment

VMware API Documentation – LogicalRouterCentralizedServicePort (service interface) is distinct from uplink ports and does not replace the need for VLAN uplink connectivity
Question 29 Choose 3
Which three data collection sources are used by NSX Network Detection and Response to create correlations/Intrusion campaigns? (Choose three.)
Show answerHide answer

Correct answer: A, C, D Files and anti-malware (lie events from the NSX Edge nodes and the Security AnalyzerDistributed Firewall flow data from the ESXi hostsIDS/IPS events from the ESXi hosts and NSX Edge nodes

Explanation

Explanation:

NSX Network Detection and Response (NDR) collects events from multiple sources within the NSX environment to correlate related threat events into intrusion campaigns. According to official VMware documentation, NDR relies on three primary event types, each originating from specific NSX features.

A. Files and anti-malware (file events from the NSX Edge nodes and the Security Analyzer) – Correct.
Malicious file events are collected from Edge appliances when the NSX Malware Prevention feature is activated. These events include file transfers that are identified as containing malware, providing critical data for campaign correlation rules such as "File Transfer (Hash-Based)" and "Successful File Infection Rule".

C. Distributed Firewall flow data from the ESXi hosts – Correct.
Distributed Firewall flow data provides visibility into traffic patterns and potential malicious activity. The Suspicious Traffic feature in Security Intelligence collects network traffic flow data from enabled NSX workloads (hosts or clusters of hosts). This data is stored and analyzed to detect suspicious network behaviors that contribute to campaign correlation.

D. IDS/IPS events from the ESXi hosts and NSX Edge nodes – Correct.
IDS events are collected from Distributed IDS when the NSX IDS/IPS feature is activated. These events include network signature detections for threats such as command and control, drive-by attacks, and malware distribution. Correlation rules like "IDS Command and Control Wave Rule" and "IDS Drive-by Wave Rule" use these events to identify attack waves across multiple hosts.

Why other options are incorrect:

B. East-West anti-malware events from the ESXi hosts – Incorrect.
While anti-malware events are collected, the official documentation specifies that malicious file events are collected from Edge appliances, not directly from ESXi hosts for East-West traffic. The NSX Malware Prevention feature operates on Edge nodes for north-south traffic analysis. East-West malware prevention is a related but distinct feature with different data sources.

E. Suspicious Traffic Detection events from NSX Intelligence – Incorrect.
This option contains a category error. NSX Network Detection and Response collects network traffic anomaly events from VMware NSX Intelligence when the Suspicious Traffic detectors are activated. However, "Suspicious Traffic Detection events" is not the correct terminology. The documentation consistently refers to "network traffic anomaly events" from NSX Intelligence. The Suspicious Traffic feature is part of Security Intelligence, but the events themselves are anomaly events, not a separate category called "Suspicious Traffic Detection events".

Reference

Broadcom TechDocs – "Overview of NSX Network Detection and Response": The table of event types explicitly lists malicious file events (Edge appliances), IDS events (Distributed IDS), and network traffic anomaly events (NSX Intelligence) as the three data sources

Broadcom TechDocs – "Campaign Correlation Rules": Details how file events, IDS events, and anomaly events are correlated using rules such as "Anomaly Event," "File Transfer," and "IDS Wave" rules
Question 30 Choose 2
Which two tools are used for centralized logging in VMware NSX? (Choose two.)
Show answerHide answer

Correct answer: A, C Sysloq ServerVMware Aria Operations for Logs

Explanation

Explanation:

In VMware NSX, centralized logging is achieved by forwarding logs from NSX nodes (Managers, Edges, and ESXi transport nodes) to a central log aggregation server. Among the options provided, two specific tools are used for this purpose:

A. Syslog Server – Correct.
NSX natively supports forwarding logs to standard syslog servers. You can add syslog servers for NSX nodes using the Node Profiles page in NSX Manager, with support for TCP, UDP, and LI (Log Insight) protocols. Additionally, CLI commands like set logging-server allow configuration of syslog forwarding with various protocols and log levels directly on NSX Edge nodes.

C. VMware Aria Operations for Logs – Correct.
This is VMware's purpose-built centralized log management and analytics solution (formerly known as vRealize Log Insight). NSX is designed to integrate directly with Aria Operations for Logs, with a dedicated "LI" protocol option available when configuring syslog servers in NSX. VMware Cloud Director can also be configured to use Aria Operations for Logs as a log provider for monitoring edge gateway and distributed firewall rule logs. VMware knowledge base articles specifically address scenarios where NSX DFW logs are not forwarding to Aria Operations for Logs and provide resolution steps.

Why other options are incorrect:

B. VMware Aria Automation – Incorrect.
VMware Aria Automation (formerly vRealize Automation) is a multi-cloud automation platform for deploying and managing infrastructure and applications. It is not a logging or log aggregation tool. While it may integrate with logging solutions, it does not itself provide centralized logging functionality for NSX.

D. VMware Aria Operations for Networks – Incorrect.
VMware Aria Operations for Networks (formerly vRealize Network Insight) is a network visibility and analytics tool. It provides network flow monitoring, path visualization, and security planning, but it is not a centralized logging solution for NSX. It does not collect or aggregate syslog events from NSX components.

E. VMware Aria Operations – Incorrect.
VMware Aria Operations (formerly vRealize Operations) is a performance and capacity management platform. While it can collect metrics from NSX for monitoring purposes, it is not designed as a centralized logging solution. The GitHub repository example referenced in search results uses Aria Operations for metrics collection, not log aggregation.

Reference

Broadcom TechDocs – "Add Syslog Servers for NSX Nodes": Specifies that NSX nodes can forward logs to syslog servers using TCP, UDP, or LI (Log Insight) protocols

Broadcom TechDocs – "Configure All NSX Nodes to Forward Logs to VMware Aria Operations for Logs": Explicitly describes configuring NSX nodes to send logs to Aria Operations for Logs
Full mock exam

Sit the 2V0-41.24 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real 2V0-41.24 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full 2V0-41.24 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 114questions in the bank
  • Newmock on every attempt