DRS

Top VMware ESXi & vSphere Interview Questions

Posted on Updated on

Preparing for a Virtualization role? This guide covers everything from legacy ESX vs. ESXi differences to advanced HA and DRS logic.

🔄 The Evolution: ESX vs. ESXi

  • Service Console: ESX had a Service Console (based on RHEL); ESXi is “thin” and has no console, leading to a smaller footprint and faster boots.
  • Hardware: ESXi can be purchased as an embedded hypervisor directly on hardware.
  • Health Checks: ESXi features built-in server health status monitoring.

🛡️ High Availability (HA) 5.0 Deep Dive

In vSphere 5.0, the HA architecture moved from a Primary/Secondary model to a Master/Slave concept using the FDM (Fault Domain Manager) agent.

RoleResponsibilities
MasterMonitors host/VM availability, manages restarts, communicates with vCenter.
SlaveMonitors local VMs, sends status to Master, participates in elections if Master fails.

Heartbeat Mechanisms:

  1. Network Heartbeat: Sent between Master and Slaves every second.
  2. Datastore Heartbeat: Used if the network heartbeat is lost to determine if a host is isolated or has actually failed.

🚀 vMotion & DRS (Distributed Resource Scheduler)

vMotion Prerequisites:

  • Shared storage (required prior to 5.1).
  • GigaBit Ethernet dedicated vMotion network (VMkernel port).
  • Processor compatibility (EVC – Enhanced vMotion Compatibility).
  • No active CD-ROM/ISO mounts or CPU affinity.

DRS Automation Levels:

  • Manual: vCenter suggests migrations; admin executes.
  • Partially Automated: vCenter handles initial VM placement; suggestions for migrations.
  • Fully Automated: vCenter moves VMs automatically based on load.

💾 Storage & Networking Quick Hits

  • vSAN: Aggregates local storage from ESXi hosts into a single shared datastore.
  • iSCSI Port Binding: Used when multiple VMkernel ports are in the same subnet to allow multiple paths to an array.
  • Path Selection Policies (PSP): Fixed, MRU (Most Recently Used), and Round Robin.
  • Key Command Line Tools:
    • esxtop: Live performance data.
    • vmkfstools: Virtual disk management.
    • vmware-cmd: VM management and info.

📊 Hardware Version Comparison

FeatureHW Version 4 (ESX 3.x)HW Version 7 (vSphere 4.x)HW Version 8 (vSphere 5.0)
Max vRAM64 GB256 GB1 TB
Max vCPU4832
USB SupportNoYesYes (incl. 3.0)
NICs per VM41010

🚀 Key Differences in Modern vSphere (7.0 & 8.0)

1. The Architecture Shift: Project Monterey & DPUs

Modern vSphere now supports DPUs (Data Processing Units). Instead of the CPU handling networking and security, these tasks are offloaded to the SmartNIC.

2. Tanzu (Kubernetes Integration)

The biggest change in vSphere 7/8 is that Kubernetes is built directly into the hypervisor. You no longer just manage VMs; you manage “Namespaces” and containers natively on ESXi.

3. vMotion Enhancements (vSphere 7+)

In version 5.0, vMotion would “stun” a VM briefly. Modern vMotion uses a “Claim” mechanism that makes migrating massive VMs (Monster VMs) almost instantaneous with zero performance impact.

4. Scalability Comparison (vSphere 5.0 vs. 8.0)

FeaturevSphere 5.0 (Legacy)vSphere 8.0 (Modern)
vCPUs per VM32768
RAM per VM1 TB24 TB
Hosts per Cluster3296
VMs per Cluster3,00010,000

🆕 2026 Interview Questions: Modern Edition

Q: What is the “vSphere Distributed Services Engine”?

A: It is the feature that allows vSphere to use DPUs (SmartNICs) to offload infrastructure services like NSX and vSAN, freeing up the host’s CPU for application workloads.

Q: What is a “Lifecycle Manager” (vLCM)?

A: In vSphere 7+, vLCM replaced the old Update Manager (VUM). It uses a declarative model (Desired State) where you define an image for a cluster, and the hosts automatically maintain that version/driver level.

Q: What is “vSAN Express Storage Architecture” (ESA)?

A: Introduced in vSphere 8, ESA is a new way of processing data optimized for high-performance NVMe drives, removing the old “Disk Group” (Cache/Capacity) requirement.

Q: How does vSphere 8 handle AI/ML workloads?

A: Through vGPU and Device Groups, allowing VMs to span multiple physical GPUs and utilizing High-Bandwidth Memory (HBM) for massive AI model training.

#VMware #vSphere #ESXi #Virtualization #SysAdmin #TechInterview #vMotion #CloudComputing #LazyAdmin #DataCenter