VMware Interview Questions

If you have a VMware interview coming up, congratulations! A job interview is your opportunity to shine and can be the first step toward an exciting new career. Knowing some of the top VMware interview questions and answers is important as you brush up on your interview skills and prepare. We’ve compiled a few of these commonly asked VMware interview questions, along with detailed answers, so you can prove to your employer that you’re a perfect fit for the job.

If you're looking for VMware Interview Questions and Answers for Experienced or Freshers, you are at the right place. There are a lot of opportunities from many reputed companies in the world. According to research, The Market share of VMware is 13.94%.

So, You still have the opportunity to move ahead in your career in VMware Certification Guide. Mindmajix offers Advanced VMware Interview Questions and Answers 2024 that help you in cracking your interview & acquire a dream career as VMware Developer.

We have categorized VMware Interview Questions - 2024 (Updated) into 2 levels they are:

Top 10 Frequently Asked VMware Interview Questions

  1. What is Hypervisor?
  2. What is VMware vSphere?
  3. What is vCenter?
  4. What is NFS?
  5. What is RDM?
  6. What are the basic differences between VMware and Hyper-v?
  7.  What is the hardware version used in VMware ESXi 5.5?
  8. What are the different types of virtualization?
  9. What are the differences between Clone Vs Template in VMware?
  10. What is the difference between Type 1 and Type 2 Hypervisor?

VMware Interview Questions and Answers For Freshers

1. What is Hypervisor?

Ans: A hypervisor is a process of segmenting the OS and applications of a computer through underlying physical hardware. It drives the concept of virtualization by allowing the physical host machine to act as guests for practical usage of computing resources such as network bandwidth, memory, and CPU cycles.

If you want to enrich your career and become a professional in VMware, then enroll in "VMware Online Training" - This course will help you to achieve excellence in this domain.

2. What is VMware vSphere?

Ans: VMware suite is globally recognized as VMware vSphere and it comprises virtualization, management, and interface layers. The essential core components of VMware vSphere are the ESXi server and the vCenter Server.

3. What is vCenter?

Ans: VMware vCenter is the central management system for VMware Virtualization infrastructure. vCenter can accommodate thousands of ESXi hosts within the inventory which enables you to handle multiple ESXi hosts.

4. What is NFS?

Ans: Network File System is a file-sharing protocol that uses a communication bridge between ESXi hosts and NAS(Network-attached storage) devices over a TCP/Ip network. It can hold ISO images, templates, virtual machine files, and other dates.

MindMajix YouTube Channel

5. What is RDM?

Ans: Raw device mapping (RDM) is a mapping file located in VMFS volume and acts as a proxy for the raw physical storage device. It allows the virtual machine to read and write from the storage, and it also contains metadata to manage and redirect the disk to the physical device. By using RDM, we can use Vmotion, a file system, and even, we can add raw LUNs to the virtual machine.     

Explore - VMware Tutorial For Beginners for more information

6. What are the basic differences between VMware and Hyper-v?

Ans:

FeaturesVMware vSphereMS Hyper-V
Terminology To Virtual MachinesDistributed/Standard SwitchVirtual Switch
 DRS - Distributed Resource SchedulerPRO - Performance & Resource Optimization
 Separated Power ManagementDynamic Optimization & Core Parking
 Vmware tools alsoIntegration component also
 Service console modelParent partition model
StorageThe raw device in mappingPass-Through in mapping
 Extend/Volume GrowExpand Volume/Disk
 Storage in vMotionQuick Storage Migration
Resource ManagementFault Tolerance, YesFault Tolerance, No
 Application HA, YesApplication HA, Yes(Failover Clustering)
 Resource pools, YesResource Pools, Yes(Host Groups)
VM ScalabilityUSB Support, YesUSB Support, No
 Supports comprehensive guest OSLess Guest Support
 Serial ports are 32 portsThese are only connected to Named pipes

7. What is the hardware version used in VMware ESXi 5.5?

Ans: Below is the table showing the different versions of hardware used in different VMware products along with their release version.

Virtual Hardware VersionProducts
10ESXi 5.5, Fusion 6.x, Workstation 10.x, Player 6.x
9ESXi 5.1, Fusion 5.x, Workstation 9.x, Player 5.x
8ESXi 5.0, Fusion 4.x, Workstation 8.x, Player 4.x
7ESXi/ESX 4.x, Fusion 2.x/3.x Workstation 6.5.x/7.x, Player 3.x
6Workstation 6.0.x
4ACE 2.x, ESX 3.x, Fusion 1.x, Player 2.x
3 and 4ACE 1.x, Player 1.x, Server 1.x, Workstation 5.x, Workstation 4.x
3ESX 2.x, GSX Server 3.x

8. What is the difference between the vSphere ESX and ESXi architectures?

Ans: VMware ESX and ESXi are both bare-metal hypervisor architectures that install directly on the server hardware. Although neither hypervisor architecture relies on an OS for resource management, the vSphere ESX architecture relied on a Linux operating system, called the Console OS (COS) or service console, to perform two management functions: executing scripts and installing third-party agents for hardware monitoring, backup or systems management.

In the vSphere ESXi architecture, the service console has been removed. The smaller code base of vSphere ESXi represents a smaller “attack surface” and less code to patch, improving reliability and security.

9. What is a .vmdk file?

Ans: This isn’t the file containing the raw data. Instead, it is the disk descriptor file that describes the size and geometry of the virtual disk file. This file is in text format and contains the name of the –flat.vmdk file for which it is associated with and also the hard drive adapter type, drive sectors, heads, and cylinders, etc.

One of these files will exist for each virtual hard drive that is assigned to your virtual machine. You can tell which –flat.vmdk file it is associated with by opening the file and looking at the Extent Description field.

10. What are the different types of virtualization?

Ans:

  • Server Virtualization: consolidating multiple physical servers into virtual servers that run on a single physical server.

  • Application Virtualization: an application runs on another host from where it is installed in a variety of ways. It could be done by application streaming, desktop virtualization or VDI, or a VM package (like VMware ACE creates with a player). Microsoft Softgrid is an example of Application virtualization.

  • Presentation Virtualization: This is what Citrix Met frame (and the ICA protocol), as well as Microsoft Terminal Services (and RDP), are able to create. With presentation virtualization, an application actually runs on another host and all that you see on the client is the screen from where it is run.

  • Network Virtualization: with network virtualization, the network is “carved up” and can be used for multiple purposes such as running a protocol analyzer inside an Ethernet switch. Components of a virtual network could include NICs, switches, VLANs, network storage devices, virtual network containers, and network media.

  • Storage Virtualization: with storage virtualization, the disk/data storage for your data is consolidated to and managed by a virtual storage system. The servers connected to the storage system aren’t aware of where the data really is. Storage virtualization is sometimes described as “abstracting the logical storage from the physical storage.

Leave an Inquiry to learn VMWare Training in Bangalore 

11. What is VMware VMotion and what are its requirements?

Ans: VMware VMotion enables the live migration of running virtual machines from one physical server to another with zero downtime.

VMotion lets you:

  • Automatically optimize and allocate entire pools of resources for maximum hardware utilization and
  • Perform hardware maintenance without any scheduled downtime.
  • Proactively migrate virtual machines away from failing or underperforming servers.

Below are the pre-requisites for configuring vMotion

  • Each host must be correctly licensed for vMotion
  • Each host must meet shared storage requirements
  • vMotion migrates the VM from one host to another which is only possible with both the host are sharing common storage or to any storage accessible by both the source and target hosts.
  • A shared storage can be on a Fibre Channel storage area network (SAN) or can be implemented using iSCSI SAN and NAS.
  • If you use vMotion to migrate virtual machines with raw device mapping (RDM) files, make sure to maintain consistent LUN IDs for RDMs across all participating hosts.
  • Each host must meet the networking requirements
  • Configure a VMkernel port on each host.
  • Dedicate at least one GigE adapter for vMotion.
  • Use at least one 10 GigE adapters if you migrate workloads that have many memory operations.
  • Use jumbo frames for best vMotion performance. 
  • Ensure that jumbo frames are enabled on all network devices that are on the vMotion path including physical NICs, physical switches, and virtual switches.

12. What are the differences between Clone Vs Template in VMware?

Ans:

Clone:  A Copy of a virtual machine

  • Can't restore the cloned Virtual Machine.
  • Clone of a Virtual Machine also be created while the Virtual Machine is switched on
  • Cloning can be done in two ways namely Full Clone and Linked Clone.
  • A full-type clone is an independent copy of a virtual machine that shares nothing with the parent virtual machine after the cloning operation. The ongoing operation of a full clone is entirely separate from the parent virtual machine.
  • A linked clone is a copy of a virtual machine that shares virtual disks with the parent virtual machine in an ongoing manner. This conserves disk space and allows multiple virtual machines to use the same software installation.
  • longing for a virtual machine can save time if you are deploying many similar virtual machines. You can create, configure, and install software on a single virtual machine, and then clone it multiple times, rather than creating and configuring each virtual machine individually.

Template - A master copy or a baseline image of a virtual machine that shall be used to create many clones.

  • Templates cannot be powered on or edited, and are more difficult to alter than an ordinary virtual machine.
  • You can convert the template back to Virtual Machine in order to update the base template with the latest released patches and updates and to install or upgrade any software and again convert it back to the template to be used for future deployment of Virtual Machines with the latest patches.
  • Convert virtual Machine to template can't be performed, when Virtual machine is powered on.  Only Clone to Template can be performed when the Virtual Machine is powered on.
  • A template offers a more secure way of preserving a virtual machine configuration that you want to deploy many times.
  • While you are cloning a virtual machine or deploying a virtual machine by a template, the resulting cloned virtual machine will be independent of the original template or virtual machine.

VMware Interview Questions and Answers For Experienced

13. What is a promiscuous mode in Vmware?

Ans:

  • Promiscuous mode is a security policy that can be defined at the virtual switch or port group level
  • A virtual machine, Service Console, or VMkernel network interface in a port group that allows the use of promiscuous mode can see all network traffic traversing the virtual switch.
  • If this mode is set to reject, the packets are sent to the intended port so that the intended virtual machine will only be able to see the communication.
  • Example: In case you are using a virtual XP inside any Windows VM. If promiscuous mode is set to reject then the virtual XP won’t be able to connect the network unless the promiscuous mode is enabled for the Windows VM.

14. What is the difference between Thick provision Lazy Zeroed, Thick provision Eager Zeroed, and Thin provision?

Ans:

Thick Provision Lazy Zeroed

  • Creates a virtual disk in a default thick format.
  • Space required for the virtual disk is allocated when the virtual disk is created.
  • Data remaining on the physical device is not erased during creation but is zeroed out on-demand at a later time on the first write from the virtual machine.
  • Using the default flat virtual disk format does not zero out or eliminate the possibility of recovering deleted files or restoring old data that might be present in this allocated space.
  • You cannot convert a flat disk to a thin disk.

Thick Provision Eager Zeroed

  • A type of thick virtual disk that supports clustering features such as Fault Tolerance.
  • Space required for the virtual disk is allocated at creation time.
  • In contrast to the flat format, the data remaining on the physical device is zeroed out when the virtual disk is created.
  • It might take much longer to create disks in this format than to create other types of disks.

Thin Provision

  • It provides the on-demand allocation of blocks of data.
  • All the space allocated at the time of the creation of the virtual disk is not utilized on the hard disk, rather only the size with utilized data is locked and the size increases as the amount of data are increased on the disk.
  • With thin provisioning, storage capacity utilization efficiency can be automatically driven up to 100% with very little administrative overhead.

15. What is a snapshot?

Ans: A snapshot is a “point in time image” of a virtual guest operating system (VM). That snapshot contains an image of the VMs disk, RAM, and devices at the time the snapshot was taken. With the snapshot, you can return the VM to that point in time, whenever you choose.

You can take snapshots of your VMs, no matter what guest OS you have and the snapshot functionality can be used for features like performing image-level backups of the VMs without ever shutting them down.

Related Article: Vmware Airwatch

16. What is VDI?

Ans:

  • VDI stands for Virtual Desktop Infrastructure where end-user physical machines like desktop or laptop are virtualized due to which VMware described VDI as “delivering desktops from the data center”.
  • Once VDI has used the end-user connects to their desktop using a device called a thin client.
  • The end-user can also connect to their desktop using VMware Horizon View installed on any desktop or mobile devices

17. What is VMware HA?

Ans:

  • VMware HA i.e. High Availability which works on the host level and is configured on the Cluster.
  • A Cluster configured with HA will migrate and restart all the VMS running under any of the hosts in case of any host-level failure automatically to another host under the same cluster.
  • VMware HA continuously monitors all ESX Server hosts in a cluster and detects failures.
  • VMware HA agent placed on each host maintains a heartbeat with the other hosts in the cluster using the service console network. Each server sends heartbeats to the other servers in the cluster at five-second intervals. If any servers lose a heartbeat over three consecutive heartbeat intervals, 5.VMware HA initiates the failover action of restarting all affected virtual machines on other hosts.

You can set virtual machine restart priority in case of any host failure depending upon the critical nature of the VM.

NOTE: Using HA in case of any host failure with RESTART the VMS on the different host so the VMS state will be interrupted and it is not a live migration

18. What is the difference between VMware HA and vMotion?

Ans: VMware HA is used in the event when any of the hosts inside a cluster fails then all the virtual machines running under it are restarted on different hosts in the same cluster. Now HA is completely dependent on vMotion to migrate the VMS to different hosts so vMotion is just used for the migration purpose between multiple hosts.

vMotion also has the capability to migrate any VM without interrupting its state to any of the hosts inside the cluster.

19. What is storage vMotion?

Ans:

  • Storage vMotion is similar to vMotion in the sense that “something” related to the VM is moved and there is no downtime to the VM guest and end-users. However, with VMotion, the VM Guest stays on the server that it resides on but the virtual disk for that VM is what moves.
  • With Storage vMotion, you can migrate a virtual machine and its disk files from one datastore to another while the virtual machine is running.
  • You can choose to place the virtual machine and all its disks in a single location or select separate locations for the virtual machine configuration file and each virtual disk.
  • During a migration with Storage vMotion, you can transform virtual disks from Thick-Provisioned Lazy Zeroed or Thick-Provisioned Eager Zeroed to Thin-Provisioned or the reverse.
  • Perform live migration of virtual machine disk files across any Fibre Channel, iSCSI, FCoE, and NFS storage

20. What is VMware DRS and how does it work?

Ans:

  • Here DRS stands for Distributed Resource Scheduler which dynamically balances resources across various hosts under Cluster or resource pool.
  • VMware DRS allows users to define the rules and policies that decide how virtual machines share resources and how these resources are prioritized among multiple virtual machines.
  • Resources are allocated to the virtual machine by either migrating it to another server with more available resources or by making more “space” for it on the same server by migrating other virtual machines to different servers.
  • The live migration of virtual machines to different physical servers is executed completely transparent to end-users through VMware VMotion
  • VMware DRS can be configured to operate in either automatic or manual mode. In automatic mode, VMware DRS determines the best possible distribution of virtual machines among different physical servers and automatically migrates virtual machines to the most appropriate physical servers. In manual mode, VMware DRS provides a recommendation for the optimal placement of virtual machines and leaves it to the system administrator to decide whether to make the change.

21. What is VMware Fault Tolerance?

Ans:

  • VMware Fault Tolerance provides continuous availability to applications running in a virtual machine, preventing downtime and data loss in the event of server failures.
  • VMware Fault Tolerance, when enabled for a virtual machine, creates a live shadow instance of the primary, running on another physical server.
  • The two instances are kept in virtual lockstep with each other using VMware lockstep technology
  • The two virtual machines play the exact same set of events because they get the exact same set of inputs at any given time.
  • The two virtual machines constantly heartbeat against each other and if either virtual machine instance loses the heartbeat, the other takes over immediately. The heartbeats are very frequent, with millisecond intervals, making the failover instantaneous with no loss of data or state.
  • VMware Fault Tolerance requires a dedicated network connection, separate from the VMware VMotion network, between the two physical servers.

22. In a cluster with more than 3 hosts, can you tell Fault Tolerance where to put the Fault Tolerance virtual machine, or does it chose on its own?

Ans: You can place the original (or Primary virtual machine). You have full control with DRS or vMotion to assign it to any node. The placement of the Secondary, when created, is automatic based on the available hosts. But when the Secondary is created and placed, you can vMotion it to the preferred host.

Visit here to learn VMWare Training in Hyderabad 

23. How many virtual CPUs can I use on a Fault-Tolerant virtual machine?

Ans: vCenter Server 4.x and vCenter Server 5.x support 1 virtual CPU per protected virtual machine.

24. What happens if the vCenter Server is offline when a failover event occurs?

Ans: When Fault Tolerance is configured for a virtual machine, vCenter Server need not be online for FT to work. Even if the vCenter Server is offline, failover still occurs from the Primary to the Secondary virtual machine. Additionally, the spawning of a new Secondary virtual machine also occurs without a vCenter Server.

25. What is the difference between Type 1 and Type 2 Hypervisor?

Ans:

Type 1 Hypervisor

  • This is also known as Bare Metal or Embedded or Native Hypervisor.
  • It works directly on the hardware of the host and can monitor operating systems that run above the hypervisor.
  • It is completely independent of the Operating System.
  • The hypervisor is small as its main task is sharing and managing hardware resources between different operating systems.
  • A major advantage is that any problems in one virtual machine or guest operating system do not affect the other guest operating systems running on the hypervisor.
  • Examples: VMware ESXi Server, Microsoft Hyper-V, Citrix/Xen Server

Type 2 Hypervisor

  • This is also known as Hosted Hypervisor.
  • In this case, the hypervisor is installed on an operating system and then supports other operating systems above it.
  • It is completely dependent on the host Operating System for its operations
  • While having a base operating system allows the better specification of policies, any problems in the base operating system affect the entire system as well even if the hypervisor running above the base OS is secure.
  • Examples: VMware Workstation, Microsoft Virtual PC, Oracle Virtual Box

26. How does vSphere HA work?

Ans: When we configure multiple hosts for the HA cluster, a single host is automatically elected as the master host. The master host communicates with the vCenter Server and monitors the state of all protected virtual machines and of the slave hosts. When you add a host to a vSphere HA cluster, an agent is uploaded to the host and configured to communicate with other agents in the cluster.

27. What are the monitoring methods used for vSphere HA?

Ans: The Master and Slave hosts use two types of monitoring the status of the hosts

  • Datastore Heartbeat
  • Network Heartbeat

28. What are the roles of a master host in vSphere HA?

Ans:

  • Monitoring the state of slave hosts. If a slave host fails or becomes unreachable, the master host identifies which virtual machines need to be restarted.
  • Monitoring the power state of all protected virtual machines. If one virtual machine fails, the master host ensures that it is restarted. Using a local placement engine, the master host also determines where the restart should be done.
  • Managing the lists of cluster hosts and protected virtual machines.
  • Acting as a vCenter Server management interface to the cluster and reporting the cluster health state.

29. How is a Master host elected in the vSphere HA environment?

Ans: When vSphere HA is enabled for a cluster, all active hosts (those not in standby or maintenance mode, or not disconnected) participate in an election to choose the cluster’s master host. The host that mounts the greatest number of data stores has an advantage in the election.

Only one master host typically exists per cluster and all other hosts are slave hosts.
If the master host fails, is shut down or put in standby mode, or is removed from the cluster a new election is held.

30. If the vCenterserver goes down with a situation that it was pre-configured with vSphere HA and DRS, so after power down will HA and DRS perform their task?

Ans: vSphere HA is not dependent on vCenterserver for its operations as when HA is configured it installs an agent into each host which does its part and is not dependent on vCenterserver. Also, HA doesn't use vMotion, it justs restarts the VMS into another host in any case of a host failure.

Further vSphere DRS is very much dependent on vCenterserver as it uses vMotion for its action for live migration of VMS between multiple hosts so in case vCenterserver goes down the vMotion won’t work leading to failure of DRS.

31. What is the use of VMware tools?

Ans: VMware Tools is a suite of utilities that enhances the performance of the virtual machine’s guest operating system and improves the management of the virtual machine.

Without VMware Tools installed in your guest operating system, guest performance lacks important functionality. Installing VMware Tools eliminates or improves these issues:

  • Low video resolution
  • Inadequate color depth
  • Incorrect display of network speed
  • Restricted movement of the mouse
  • Inability to copy and paste and drag-and-drop files
  • Missing sound provides the ability to take quiesced snapshots of the guest OS
  • Synchronizes the time in the guest operating system with the time on the host
  • Provides support for guest-bound calls created with the VMware VIX AP

Job Support Program

Online Work Support for your on-job roles.

jobservice

Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:

  • Pay Per Hour
  • Pay Per Week
  • Monthly
Learn MoreGet Job Support
Course Schedule
NameDates
VMware TrainingNov 23 to Dec 08View Details
VMware TrainingNov 26 to Dec 11View Details
VMware TrainingNov 30 to Dec 15View Details
VMware TrainingDec 03 to Dec 18View Details
Last updated: 02 Jan 2024
About Author

Ravindra Savaram is a Technical Lead at Mindmajix.com. His passion lies in writing articles on the most popular IT platforms including Machine learning, DevOps, Data Science, Artificial Intelligence, RPA, Deep Learning, and so on. You can stay up to date on all these technologies by following him on LinkedIn and Twitter.

read less