VMWare Interview Questions & Tips

Guys, here i am presenting useful vmware interview questions and tips in this blog post. Are you getting ready for an interview tomorrow? then take a look at this post immediately. Of course these vmware interview questions prepared by me personally and are from older versions of VMware, yet they are basics for latest version as well.

1. VMWare Kernel is a Proprietary Kenral and is not based on any of the UNIX operating systems, it's a kernel developed by VMWare Company.

2. The VMKernel can't boot it by itself, so that it takes the help of the 3rd party operating system. In VMWare case the kernel is booted by RedHat Linux operating system which is known as service console.

3. The service console is developed based up on Redhat Linux Operating system, it is used to manage the VMKernel

4. To restart webaccess service on vmware
service vmware-webaccess restart – this will restart apache tomcat app

5. To restart ssh service on vmware
service sshd restart

6. To restart host agent(vmware-hostd) on vmware esx server
service mgmt-vmware restart

7. Path for the struts-config.xml

8. To start the scripted install the command is
    esx ks=nfs:111.222.333.444:/data/KS.config ksdevice=eth0
location                                             device name

9. Virtual Network in Simple……………….

Virtual Nic(s) on Virtual Machine(s) ----->

Physical Nic on the ESX Server (Virtual Switch - 56 Ports)  ----->

Physical Switch Port              Should be trunked with all the VLANS to which the VM's need access

All the ESX servers should be configured with Same number of Physical Nics (vSwitches) and Connectivity also should be same, So that vMotion succeeds
All the Virtual Machines are connected to one vSwitch with Different VLANS, this means the Physical Nic(vSwitch) needs to be trunked with the same VLANS on the Physical Switch Port

10 What are the three port groups present in ESX server networking
   1. Virtual Machine Port Group - Used for Virtual Machine Network
2. Service Console Port Group - Used for Service Console Communications
3. VMKernel Port Group - Used for VMotion, iSCSI, NFS Communications

11. What is the use of a Port Group?
The port group segregates the type of communication.

12. What are the type of communications which requires an IP address for sure ?
   Service Console and VMKernel (VMotion and iSCSI), these communications does not happen without an ip address (Whether it is a single or dedicated)

13. In the ESX Server licensing features VMotion License is showing as Not used, why?
    Even though the license box is selected, it shows as "License Not Used" until, you enable the VMotion option for specific vSwitch

14. How the Virtual Machine Port group communication works ?
     All the vm's which are configured in VM Port Group are able to connect to the physical machines on the network. So this port group enables communication between vSwitch and Physical Switch to connect vm's to Physical Machine's

15. What is a VLAN ?
     A VLAN is a logical configuration on the switch port to segment the IP Traffic. For this to happen, the port must be trunked with the correct VLAN ID.

16. Does the vSwitches support VLAN Tagging? Why?
     Yes, The vSwitches support VLAN Tagging, otherwise if the virtual machines in an esx host are connected to different VLANS, we need to install a separate physical nic (vSwitch) for every VLAN. That is the reason vmware included the VLAN tagging for vSwitches. So every vSwitch supports upto 1016 ports, and BTW they can support 1016 VLANS if needed, but an ESX server doesn’t support that many VM’s. :)

17. What is Promiscuous Mode on vSwitch ? What happens if it sets to Accept?
     If the promiscuous mode set to Accept, all the communication is visible to all the virtual machines, in other words all the packets are sent to all the ports on vSwitch
If the promiscuous mode set to Reject, the packets are sent to inteded port, so that the intended virtual machine was able to see the communication.

18. What is MAC address Changes ? What happens if it is set to Accept ?
When we create a virtual machine the configuration wizard generates a MAC address for that machine, you can see it in the .vmx (VM Config) file. If it doesn't matches with the MAC address in the OS this setting does not allow incoming traffic to the VM. So by setting Reject Option both MAC addresses will be remains same, and the incoming traffic will be allowed to the VM.

19. What is Forged Transmits ? What happens if it is set to Accept ?
When we create a virtual machine the configuration wizard generates a MAC address for that machine, you can see it in the .vmx (VM Config) file. If it doesn't matches with the MAC address in the OS this setting does not allow outgoing traffic from the VM. So by setting Reject Option both MAC addresses will be remains same, and the outgoing traffic will be allowed from the VM.

20. What are the core services of VC ?
VM provisioning , Task Scheduling and Event Logging

21. Can we do vMotion between two datacenters ? If possible how it will be?
Yes we can do vMotion between two datacenters, but the mandatory requirement is the VM should be powered off.

22. What is VC agent? and what service it is corresponded to? What are the minimum req's for VC agent installation ?
VC agent is an agent installed on ESX server which enables communication between VC and ESX server.
The daemon  associated with it is called vmware-hostd , and the service which corresponds to it is called as mgmt-vmware, in the event of VC agent failure just restart the service by typing the following command at the service console

     " service mgmt-vmware restart "
VC agent installed on the ESX server when we add it to the VC, so at the time of installtion if you are getting an error like " VC Agent service failed to install ", check the /Opt size whether it is sufficient or not.

23. How can you edit VI Client Settings and VC Server Settings ?
Click Edit Menu on VC and Select Client Settings to change VI settings
Click Administration Menu on VC and Select VC Management Server Configuration to Change VC Settings

24. What are the files that make a Virtual Machine  ?
     .vmx - Virtual Machine Configuration File
.nvram - Virtual Machine BIOS
.vmdk - Virtual Machine Disk file
.vswp - Virtual Machine Swap File
.vmsd - Virtual MAchine Snapshot Database
.vmsn - Virtual Machine Snapshot file
.vmss - Virtual Machine Suspended State file
.vmware.log - Current Log File
.vmware-#.log - Old Log file

25. What are the devices that can be added while the virtual Machine running
In VI 3.5 we can add Hard Disk and NIC's while the machine running.

In vSphere 4.0 we can add Memory and Processor along with HDD and NIC's while the machine running

26. How to set the time delay for BIOS screen for a Virtual Machine?
Right Click on VM, select edit settings, choose options tab and select boot option, set the delay how much you want.

27. What is a template ?
We can convert a VM into Template, and it cannot be powered on once its changed to template. This is used to quick provisioning of VM's.

23. What to do to customize the windows virtual machine clone,?
copy the sysprep files to Virtual center directory on the server, so that the wizard will take the advantage of it.

24. What to do to customize the linux/unix virtual machine clone,?
VC itself includes the customization tools, as these operating systems are available as open source.

25. Does cloning from template happens between two datacenters ?
Yes.. it can, if the template in one datacenter, we can deploy the vm from that template in another datacenter without any problem.

26. What are the common issues with snapshots? What stops from taking a snapshot and how to fix it ?
If you configure the VM with Mapped LUN's, then the snapshot failed. If it is mapped as virtual then we can take a snapshot of it.
If you configure the VM with Mapped LUN's as physical, you need to remove it to take a snapshot.

27. What are the settings that are taken into to consideration when we initiate a snapshot ?
Virtual Machine Configuration (What hardware is attached to it)
State of the Virtual Machine Hard Disk file ( To revert back if needed)
State of the Virtual Machine Memory (if it is powered on)

28. What are the requirements for Converting a Physical machine to VM ?
An agent needs to be installed on the Physical machine
VI client needs to be installed with Converter Plug-in
A server to import/export virtual machines

29. What is VMWare consolidated backup ?
It is a backup framework, that supports 3rd party utilities to take backups of ESX servers and Virtual Machines. Its not a backup service.

30. To open the guided consolidation tool, what are the user requirements ?
The user must be member of administrator, The user should have "Logon as service" privileges - To give a user these privileges, open local sec policy, select Logon as service policy and add the user the user should have read access to AD to send queries

All the best for your vmware interview.


  1. Nice ... Thank you for posting

  2. Great Stuff.... Thanks man

  3. Hi I have some thing to add in 25th Qn.

    25. What are the devices that can be added while the virtual Machine running
    Only Hard Disk

    We can add NIC cards also while the VM running.


  4. Santhosh,

    Thanks for your comment, im just updating the question.


  5. Question are really and well explained. Thank you very much for sharing your knowledge.

    Do you have some more Question on Command line. I need to increase my knowledge on Commands.

    Vibhor Verma

    email- verma.vibhu@yahoo.com

  6. hi charan sir, this is cheluvaraju i got confident in me by going through interview qntns can u please send me some latest interview qtns this my email id umeshgowda05@gmail.com n guide how to prepare for interview n which topic i need concentrate more for inetrview

  7. Vmware videos available on http://vmwarevideos.blogspot.com/

  8. This comment has been removed by the author.

  9. Hi charan, thanks for sharing the information its really helpful.
    I would really appreciate if you can share info related to vmware thinapp and how to create applications using thinApp.

    Thanks & Regards

  10. Gt Bos Gt

    I bow my head in front of u
    God Bless U


  11. The writer of this is a genius! I have newly left school and have no experience but used this to help me understand what the interviewer wishes to hear!

    Common Interview Questions

  12. Such a informative, useful and helpful blog. Thanks for sharing!!!

    VMware support

  13. Really appreciable post. Thanx for providing this information. Great job done.

    Network monitoring software

  14. Hi Suresh, thanks boss the information its really helpful.

  15. Its very helpful..thanks for posting..

  16. great job done .... Thanks a billion .. :)

  17. Thanks a lot...Charan, I really appreciate your efforts to make this valuable note.
    Its inspired me to start exploring about Virtualization technology.
    Very helpful...

    Once again Thanks the ton!

  18. Really a great stuffs :) Keep Pushing !

  19. Good Job!!!! any update with new versions? vSphere 4 or 5?

  20. Hi Charan,

    Good work!!! Prepared for my interview by going through these questions...


  21. Hi,

    Thanks for the useful information.


  22. please be updated on vSphere 4 or 5..

  23. Good work and its very useful stuff for all of us.

    Thanks a lot..

  24. thanks , but can any one help me out in 4 or 5 version

  25. Very helpfull stuff, Thanks a lot.

  26. Use full stuff. Thanks a lot.

  27. We can add HDD, RAM provided the OS system support and if hot-add is enabled for the vm.

  28. This comment has been removed by the author.

  29. We provide a range of Computer Support, Managed Network Services and IT Consulting in Dallas, Garland, Plano, Richardson, Addison, Irving, Arlington,
    Fort Worth, Rockwall, Mesquite, Grand Prairie and Carrollton.

    Emergency Exchange Support
    Emergency Exchange Remote Support

  30. am speechless. It is a unbelievable weblog and very partaking too. Great work! That's probably not a lot coming from an beginner blogger like me, but it's all I may assume after having fun with your posts. Nice grammar and vocabulary. Not like different blogs. You actually know what you are speaking about too. So much that you made me want to learn more. Your blog has turn into a stepping stone for me, my fellow blogger. Thank you for the detailed journey. I actually enjoyed the 6 posts that I have learned so far.

  31. Hi,

    Very good one.
    I would like to correct the answer you have provided for question 22.
    The daemon associated to communicate between the ESX and the VC is vpxd and not hostd.
    The service which corresponds to this is vpxd-vmware.
    The command to restart this is "service vpxd-vmware restart"


Post a Comment

Popular posts from this blog

Windows: 2012 Server: Restoration of server from ransomware brute force attack – Real time experience

Windows and VMware : System Admin Responsibilities