VMware certification · Exam 2V0-21.23

2V0-21.23 Mock Exam Page 3

VMware vSphere 8.x Professional

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

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

Free 2V0-21.23 questions

21–29 of 29 free
Question 21 Select all that apply
An administrator is tasked with configuring vSphere Trust Authority. The administrator has completed the following steps:

• Set up the workstation
• Enabled the Trust Authority Administrator
• Enabled the Trust Authority State
• Collected information about the ESXi hosts and vCenter to be trusted

Which step does the administrator need to complete next?

Show answerHide answer

Correct answer: A Import the Trusted Host information to the Trust Authority Cluster

Explanation

Explanation:

Based on the official VMware vSphere 8.x documentation and the standard vSphere Trust Authority (TA) configuration workflow, after collecting information about the ESXi hosts and vCenter to be trusted, the next step is to import that information into the Trust Authority Cluster.

Why the other options are incorrect:

B. Import the Trusted Cluster information to the Trusted Hosts
– This reverses the direction of trust establishment. Trust flows from the Trust Authority Cluster to the Trusted Cluster, not the other way around.

C. Create the Key Provider on the Trusted Cluster
– Key providers are created on the Trust Authority Cluster, not on the Trusted Cluster. Additionally, key provider creation occurs after importing trusted host information.

D. Import the Trusted Host information to the Trusted Cluster
– The Trusted Cluster is the cluster containing hosts that will be attested; it does not need to import its own host information. Information about trusted hosts is imported into the Trust Authority Cluster to establish which hosts are allowed to receive attestation and keys.

Reference

VMware vSphere 8.x Security Documentation:"Configuring vSphere Trust Authority" – Step 5 of the configuration sequence is "Import the Trusted Host Information to the Trust Authority Cluster"
Question 22 Choose 1
An administrator plans to bri ng VMware vCenter offline in order to perform hardware mainte-nance on the host where the vCenter Server Appliance is running.

Which vSphere feature must be configured to ensure that vCenter users experience minimal downtime?

Show answerHide answer

Correct answer: C vCenter Server High Availability

Explanation

Explanation:

vCenter Server High Availability (VCHA) protects the vCenter Server Appliance by maintaining an Active node, a Passive node on a different host, and a Witness node. When the Active node's host requires hardware maintenance, the administrator performs a planned manual failover to the Passive node. This failover takes approximately 1 to 5 minutes, allowing users to experience only a brief interruption instead of prolonged downtime. Without VCHA, shutting down the host forces vCenter offline until the host is serviced and vCenter is manually restarted.

Why other options are incorrect

A. vSphere Distributed Resource Scheduler (DRS):
DRS balances virtual machine workloads across hosts but cannot protect the vCenter VM itself. DRS also requires vCenter to be operational for most of its functions, creating a circular dependency.

B. Hybrid Linked Mode:
This allows cross-version management between vCenter 8.x and older versions but provides no failover or redundancy for any single vCenter instance.

D. Enhanced Linked Mode:
This joins multiple vCenters into a single sign-on domain for shared permissions and licensing. It does not offer automatic or manual failover; an offline vCenter remains offline until manually restored.

Reference

VMware vSphere 8.x Availability Documentation: "vCenter Server High Availability (VCHA) – Planned Failover for Maintenance." VMware Knowledge Base article 2147575 describes manual failover steps to minimize downtime during host hardware maintenance.
Question 23 Choose 1
An administrator Is performing maintenance activities and discovers that a Virtual Machine File System (VMFS) datastore has a lot more used capacity than expected. The datastore contains 10 virtual machines (VMs) and, when the administrator reviews the contents of the associated datastore, discovers that five- virtual machines have a snapshot file (-delta.vmdk flies) that has not been modified In over 12 months. The administrator chei kfl the Snapshot Manager within the vSphere Client and confirms that there are no snapshots visible. Which task should the administrator complete on the virtual machines to free up datastore space?
Show answerHide answer

Correct answer: A Consolidate the snapshots for each VM.

Explanation

Explanation:

The administrator has discovered orphaned snapshot delta files (-delta.vmdk) on the datastore that are not visible in the Snapshot Manager. This is a known VMware issue where snapshot deletion completes partially—the snapshot reference is removed from the .vmsd file so Snapshot Manager shows nothing, but the consolidation step fails, leaving delta files on disk . The VM continues running on these orphaned delta files, consuming datastore capacity. Running the Consolidate command forces ESXi to merge any orphaned delta data back into the base VMDK and remove the redundant files, freeing up space and resolving the inconsistency .

Why other options are incorrect

B. Inflate the disk files for each VM.
This converts thin-provisioned disks to thick provisioning. It does not merge or remove snapshot delta files and would actually increase used capacity rather than free space.

C. Delete all snapshots for each VM.
The Snapshot Manager shows no snapshots to delete because the snapshot metadata is already gone. The "Delete All" operation would have nothing to act upon. However, VMware KB recommends taking a new snapshot and then deleting all to force consolidation , but the direct action to free space from already-orphaned deltas is Consolidate.

D. Storage vMotion each VM to another datastore.
While this can sometimes clear orphaned files if the VM is running on a delta chain, it is not the standard or recommended task for this scenario. It consumes significant time and resources, and does not guarantee cleanup of all orphaned delta files.

Reference

VMware Knowledge Base Article 316545: "Undetected Snapshots in Snapshot Manager and Snapshot Chain" – Run disk consolidation on the VM from vCenter when orphaned delta files exist but snapshots are not visible in Snapshot Manager.
Question 24 Choose 1
An administrator is investigating user logon failures for a VMware vCenter instance
Where can the administrator find log files containing information related to user login activities?
Show answerHide answer

Correct answer: C On the vCenter Server Appliance

Explanation

Explanation:

User login activities for vCenter Server are recorded in log files that reside on the vCenter Server Appliance (VCSA) itself. The primary log file containing successful and failed login events is /var/log/audit/sso-events/audit_events.log . This file captures login successes with response code 200, login failures with response code 401, and logout activities, including the username, client IP address, and timestamp for each event . Additionally, vCenter Single Sign-On (SSO) authentication logs are stored in /var/log/vmware/sso/ on the VCSA, and VMware Directory Service logs are in /var/log/vmware/vmdird/ . Accessing these logs requires SSH access to the VCSA or using the appliance shell with the showlog command .

Why other options are incorrect

A. On the vCenter Management Interface:
The vCenter Management Interface (accessible via port 5480) is used for appliance management, monitoring, and support bundle creation . While support bundles contain log files, the interface itself does not provide direct viewing of login activity logs. This is a management portal, not a log storage location.

B. On the ESXi host using the Direct Console User Interface (DCUI):
ESXi hosts maintain their own authentication logs, such as /var/run/log/auth.log and /var/log/vmware/hostd.log, but these record logins to the ESXi host itself (root user, dcui user), not logins to the vCenter Server instance . Investigating vCenter user login failures requires vCenter logs, not ESXi host logs.

D. In the vSphere Client when viewing the vCenter virtual machine:
The vSphere Client displays events and tasks for managed objects, including some authentication events. However, detailed login failure diagnostics with response codes and full audit trails are not available through the vSphere Client VM view. Complete login records require direct access to log files on the VCSA filesystem .

Reference

Broadcom Knowledge Base Article 423205: "How to find vCenter Server login record" – Login events recorded in /var/log/audit/sso-events/audit_events.log. Broadcom TechDocs: vSphere Authentication Service Logs Reference for vCenter Server 8.x – SSO logs located in /var/log/vmware/sso/ and vmdir logs in /var/log/vmware/vmdird/.
Question 25 Choose 2
An administrator is tasked with migrating a single virtual machine (VM) from an existing VMware vCenter to a secure environment where corporate security policy requires that all VMs be encrypted. The secure environment consists of a dedicated vCenter instance with a 4-node vSphere cluster and already contains a number of encrypted VMs. Which two steps must the administrator take to ensure the migration is a success? (Choose two.)
Show answerHide answer

Correct answer: A, C Ensure that the source and destination vCenter instances share the same Key Management Server (KMS).Ensure that the VM is encrypted before attempting the migration.

Explanation

Explanation:

A. Ensure that the source and destination vCenter instances share the same Key Management Server (KMS).
When migrating a virtual machine between vCenter instances that require encryption, both vCenter servers must use the same KMS or be part of a trusted KMS cluster. The destination vCenter needs access to the same encryption keys to decrypt and re-encrypt the VM during migration. If the KMS configurations differ, the migration fails because the destination cannot unlock the VM's encrypted disks.

C. Ensure that the VM is encrypted before attempting the migration.
The corporate security policy requires that all VMs be encrypted in the destination environment. To migrate successfully while maintaining encryption, the VM must already be encrypted before the migration begins. This allows the migration process to use Encrypted vMotion, which preserves the encryption state across vCenter instances. Migrating an unencrypted VM into a policy-requiring-encryption environment would violate security policy and would require post-migration encryption, which is not a supported migration workflow for cross-vCenter operations.

Why other options are incorrect

B. Ensure that Encrypted vMotion is turned off for the VM.
This is incorrect because Encrypted vMotion must be enabled, not turned off, when migrating encrypted VMs or when moving VMs between environments requiring encryption. Encrypted vMotion protects the VM's memory and disk data in transit over the network. Disabling it exposes sensitive data.

D. Ensure that the VM is powered off before attempting the migration.
While a powered-off migration is possible, it is not required for success. Cross-vCenter vMotion supports live migration of powered-on VMs, even encrypted ones. Powering off would cause unnecessary downtime and is not a prerequisite.

E. Ensure that the source and destination vCenter Servers have a different Key Management Server (KMS).
This directly contradicts step A. Different KMS servers cannot share encryption keys, making decryption at the destination impossible. The migration would fail with key access errors.

Reference

VMware vSphere 8.x Documentation: "Cross-vCenter vMotion with Encrypted VMs" – Requires same KMS or trusted KMS cluster on both source and destination vCenter Servers. VMware KB article 67371: "Migrating encrypted virtual machines between vCenter Server instances" – The VM must be encrypted before migration and Encrypted vMotion must be enabled.
Question 26 Choose 3
An administrator is working with VMware Support and Is asked to provide log bundles for the ESXI hosts in an environment. Three options Joes the administrator have? (Choose three.)
Show answerHide answer

Correct answer: B, C, D Generate a separate log bundle for each ESXI host using the vSphere Host Client.Generate a combined log bundle for all ESXI hosts using the vSphere Client.Generate a separate log bundle for each ESXI host using the vSphere Client.

Explanation

Explanation:

B. Generate a separate log bundle for each ESXi host using the vSphere Host Client.
The vSphere Host Client (accessed directly via https:///ui) allows an administrator to generate a support bundle for that individual host. This is useful when vCenter is unavailable or when only specific hosts need troubleshooting. Navigate to Monitor > Support Logs and click Generate Support Bundle.

C. Generate a combined log bundle for all ESXi hosts using the vSphere Client.
The vSphere Client (connected to vCenter) provides an option to generate a combined support bundle for multiple ESXi hosts simultaneously. Select the hosts in the inventory, right-click, and choose Export System Logs. This creates a single .zip file containing diagnostic data from all selected hosts.

D. Generate a separate log bundle for each ESXi host using the vSphere Client.
The same Export System Logs feature in the vSphere Client also allows generating separate bundles per host. In the Export System Logs wizard, the option "Collect supporting logs for each host individually" can be selected, producing distinct zip files for each chosen ESXi host.

Why other options are incorrect

A. Generate a combined log bundle for all ESXi hosts using the vCenter Management Interface.
The vCenter Management Interface (port 5480) is for managing the vCenter Server Appliance itself, not for gathering ESXi host logs. It provides support bundles for the vCenter appliance, not for managed ESXi hosts.

E. Generate a separate log bundle for each ESXi host using the vCenter Management Interface.
Same as option A, the vCenter Management Interface does not have functionality to generate ESXi host log bundles. It only manages the vCenter appliance.

F. Generate a combined log bundle for all ESXi hosts using the vSphere Host Client.
The vSphere Host Client operates on a single ESXi host and cannot generate a combined bundle for multiple hosts. Each Host ZClient instance only has access to logs from its own host.

Reference

VMware vSphere 8.x Documentation: "Collect Diagnostic Information for ESXi Hosts" – Use vSphere Client (Export System Logs) or vSphere Host Client (Generate Support Bundle). VMware Knowledge Base article 1010705: "Collecting diagnostic information for ESXi hosts" – Describes multiple methods including Host Client and vSphere Client.
Question 27 Choose 1
An administrator has been notified that a number of hosts are not compliant with the company policy for time synchronization.The relevant portion of the policy states: All physical servers must synchronize time with an external time source that is accurate to the microsecond. Which step should the administrator take to ensure compliance with the policy?
Show answerHide answer

Correct answer: B Ensure that each ESXi host is configured to use a Precision Time Protocol (PTP) source.

Explanation

Explanation:

The company policy requires microsecond accuracy for time synchronization on physical servers. NTP typically provides only millisecond accuracy (1-10 milliseconds), while PTP delivers microsecond to sub-microsecond precision using hardware timestamping. Since vSphere 7.0 Update 3, ESXi hosts natively support PTP, and the physical server in a vSphere environment is the ESXi host itself. Therefore, each ESXi host must be configured with a PTP source to achieve microsecond-level compliance. PTP on ESXi requires a network adapter that supports hardware timestamping (e.g., Intel I210, Mellanox ConnectX).

Why other options are incorrect

A. NTP on vCenter provides millisecond accuracy only, failing the microsecond requirement. Also, vCenter is a virtual appliance, not a physical server, so policy does not apply directly.

C. NTP on ESXi still provides only millisecond accuracy, which does not meet the microsecond policy requirement.

D. PTP on vCenter is not supported by VMware. The vCenter Server Appliance cannot be configured as a PTP client; PTP is an ESXi host-level feature only.

Reference

VMware vSphere 8.x Documentation:
"Configuring Precision Time Protocol on ESXi Hosts" – PTP provides microsecond accuracy and is supported on ESXi 7.0 Update 3 and later. VMware Knowledge Base article 86458: "Precision Time Protocol in ESXi" – PTP must be configured on the ESXi host, not on vCenter.
Question 28 Choose 3
An administrator is tasked with configuring certificates for a VMware software-defined data center (SDDC) based on the following requirements:

• All certificates should use certificates trusted by the Enterprise Certificate Authority (CA).
• The solution should minimize the ongoing management overhead of replacing certificates.

Which three actions should the administrator take to ensure that the solution meets corporate policy? (Choose three.)

Show answerHide answer

Correct answer: B, D, F Replace the machine SSL certificates with custom certificates generated from the Enterprise CA.Replace the VMware Certificate Authority (VMCA) certificate with a custom certificate generated from the Enterprise CA.Replace the solution user certificates with trusted certificates generated from the VMware Certificate Authority (VMCA).

Explanation

Explanation:

To meet the requirements of using an Enterprise CA while minimizing management overhead, the most efficient architecture is the VMware Certificate Authority (VMCA) in Intermediate CA mode. Here is the breakdown of why these three actions are required:

Action D (VMCA as Intermediate CA):
By replacing the VMCA root certificate with one signed by your Enterprise CA, you establish a chain of trust. This satisfies the "Enterprise CA" requirement. Because the VMCA is now a trusted subordinate, any certificate it issues is automatically trusted by the enterprise.

Action B (Machine SSL Certificates):
Corporate policies for SDDCs often require that the primary interface (the Machine SSL certificate) be explicitly issued by the Enterprise CA or a custom certificate to ensure browser trust and high-security compliance for the external-facing management layer.

Action F (Solution User Certificates via VMCA):
This is the key to minimizing management overhead. "Solution user" certificates are used for internal communication between vSphere services (like vCenter to ESXi). Manually replacing these every time they expire (Option E) creates massive overhead. By letting the VMCA (which is already trusted via Action D) handle these automatically, the administrator ensures security without the manual labor of individual certificate lifecycle management.

Why the other options are incorrect:

Option A involves self-signed certificates, which contradicts the requirement for Enterprise CA trust.

Option C is redundant if you are already using a custom Enterprise CA approach for SSL.

Option Ewould maximize management overhead, as you would have to manually manage and rotate certificates for every service across the SDDC.

Reference
VMware vSphere 8.0 Security Guide: Section on "Certificate Management Profiles."
Exam Objective: Section 5.1 – Manage vSphere Certificates.
Question 29 Choose 2
After a recent unexplained peak in virtual machine (VM) CPU usage, an administrator is asked to monitor the VM performance for a recurrence of the issue. Which two tools can the administrator use? (Choose two.)
Show answerHide answer

Correct answer: C, D vSphere Performance ChartsvCenter Command Line Interface

Explanation

Explanation:

The administrator needs to monitor VM CPU performance for recurrence of a spike issue. Two primary tools are available for this task.

C. vSphere Performance Charts.
The vSphere Client provides built-in performance charts accessible from the Performance tab for any VM, host, or cluster. These charts display historical and real-time CPU usage data, allowing the administrator to identify spikes, track trends over time, and compare resource consumption across VMs. This is the standard graphical interface for ongoing performance monitoring.

D. vCenter Command Line Interface (or esxtop/resxtop).
Command-line performance tools provide detailed, real-time resource metrics. The esxtop command (run directly on an ESXi host via SSH or ESXi Shell) and resxtop (run remotely against a vCenter or ESXi host) offer granular CPU statistics including %USED, %RDY (ready time), and %WAIT. These tools are ideal for live troubleshooting when a spike is actively occurring, as they refresh every few seconds and show per-VM and per-host CPU consumption.

Why other options are incorrect

A. vCenter Management Interface.
The VAMI (port 5480) monitors the vCenter Server Appliance's own CPU and memory usage, not the CPU performance of individual VMs. This tool helps track vCenter resource health but cannot diagnose per-VM CPU spike issues.

B. Direct Console User Interface (DCUI).
The DCUI is the physical server console for emergency management when vCenter or network is unavailable. It displays basic host-level system logs and service status but does not provide detailed, real-time VM-level CPU performance charts needed for spike analysis.

E. ESXi Shell.
This is the command-line environment on an ESXi host, but it is the access method, not a specific performance tool. While useful for running esxtop, ESXi Shell itself is not a monitoring tool; it enables access to tools like esxtop, which is already covered under command-line options.

Reference

VMware vSphere 8.x Monitoring and Performance Documentation – Performance Charts for CPU monitoring. VMware TechDocs on esxtop for real-time CPU performance analysis.

That's the last free question

You've seen the free 30% (29 of 99 questions). Full access unlocks every question and full-length 2V0-21.23 mock exams (65 questions, 105 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the 2V0-21.23 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real 2V0-21.23 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-21.23 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 99questions in the bank
  • Newmock on every attempt