VMware Interview Questions And Answers
by Nithyanandham, on Sep 10, 2022 4:36:08 PM
Q1. What is VMKernel and why it is important?
Ans: VMkernel is a virtualization interface between a Virtual Machine and the ESXi host which stores VMs. It is responsible to allocate all available resources of ESXi host to VMs such as memory, CPU, storage etc. It’s also control special services such as vMotion, Fault tolerance, NFS, traffic management and iSCSI. To access these services, VMkernel port can be configured on ESXi server using a standard or distributed vSwitch. Without VMkernel, hosted VMs cannot communicate with ESXi server.
Q2. What is VMware FT?
Ans: FT stands for Fault Tolerance very prominent component of VMware vSphere. It provides continuous availability for VMs when an ESXi host fails. It supports up to 4 vCPUs and 64 GB memory. FT is very bandwidth intensive and 10GB NIC is recommended to configure it. It creates complete copy of an entire VM such as storage, compute, and memory.
Q3. What is datastore?
Ans: Datastore is a storage location where virtual machine files are stored and accessed. Datastore is based on a file system which is called VMFS, NFS.
Q4. What is Fault Tolerant Logging?
Ans: The communication between two ESXi host is called FT logging when FT is configured between them. The pre-requisition of configuring FT is to configure VMKernel port
Q5. What is the .vmx file?
Ans: It is the configuration file of a VM
Q6. What information .nvram file stores?
Ans: It stores BIOS related information of a VM.
Q7. What .vmdk file does and used?
Ans: Vmdk is a VM disk file and stores data of a VM. It can be up to 62 TB in size in vSphere 6.0 version.
Q8. What is virtual networking?
Ans: A network of VMs running on a physical server that are connected logically with each other is called virtual networking.
Q9. What is vSS?
Ans: vSS stands for Virtual Standard Switch is responsible for communication of VMs hosted on a single physical host. it works like a physical switch automatically detects a VM which want to communicate with other VM on a same physical server.
Q10. What is vDS?
Ans: vDS stands for Virtual Distributed Switch acts as a single switch in whole virtual environment and is responsible to provide central provisioning, administration, and monitoring of virtual network.
Q11. What is hypervisor and its types?
Ans: Hypervisor is a virtualization layer that enables multiple operating systems to share a single hardware host. Each operating system or VM is allocated physical resources such as memory, CPU, storage etc by the host. There are two types of hypervisors
- Hosted hypervisor (works as application i-e VMware Workstation)
- Bare-metal (is virtualization software i-e VMvisor, hyper-V which is installed directly onto the hardware and controls all physical resources).
Q12. What is the basic security step to secure vCenter Server and users?
Ans: Authenticate vCenter Server with Active Directory. By using this we can assign specific roles to users and can also manage virtual environment in an efficient way.
Q13. What is Virtualization?
Ans: The process of creating virtual versions of physical components i-e Servers, Storage Devices, Network Devices on a physical host is called virtualization. Virtualization lets you run multiple virtual machines on a single physical machine which is called ESXi host.
Q14. What are different types of virtualization?
Ans: There are 5 basic types of virtualization
- Server virtualization: consolidates the physical server and multiple OS can be run on a single server.
- Network Virtualization: Provides complete reproduction of physical network into a software defined network.
- Storage Virtualization: Provides an abstraction layer for physical storage resources to manage and optimize in virtual deployment.
- Application Virtualization: increased mobility of applications and allows migration of VMs from host on another with minimal downtime.
- Desktop Virtualization: virtualize desktop to reduce cost and increase service
Q15. How many vCPUs can be used for a VM in FT?
Ans: In vSphere 6.0, there can be up to 4 vCPUs and 64 GB RAM can be used.
Q16. What is the name of the technology used by VMware FT?
Ans: vLockstep technology is used by VMware FT
Q17. Will the FT work if vCenter Server goes down?
Ans: vCenter server is only required to enable Fault Tolerance on a VM. Once it is configured, vCenter is not required to be in online for FT to work. FT failover between primary and secondary will occur even if the vCenter is down.
Q18. What is main difference between VMware HA and FT?
Ans: Main difference between VMware HA and FT is: HA is enabled per cluster and VMware FT is enabled per VM. In HA, VMs will be re-started and powered-on on another host in case of host failure, while in FT there is no downtime, because second copy will be activated in case of host failure.
Q19. How many maximum standard ports per host available?
Ans: 4096 ports per host are available either in standard switch or distributed switch.
Q20. What are main benefits of distributed switch (vDS)?
Ans: vDS can provide:
- Central administration for a data center
- Central provision, and
- Monitoring
Q21. What is VMKernal adapter and why it used?
Ans: VMKernel adapter provides network connectivity to the ESXi host to handle network traffic for vMotion, IP Storage, NAS, Fault Tolerance, and vSAN. For each type of traffic such as vMotion, vSAN etc. separate VMKernal adapter should be created and configured.
Q22. What are main use of port groups in data center virtualization?
Ans: You can segregate the network traffic by using port groups such as vMotion, FT, management traffic etc.
Q23. What are three port groups are configured in ESXi networking?
Ans:
- Virtual Machine Port Group – Used for Virtual Machine Network
- Service Console Port Group – Used for Service Console Communications
- VMKernel Port Group – Used for VMotion, iSCSI, NFS Communications
Q24. What is VLAN and why use in virtual networking?
Ans: A logical configuration on the switch port to segment the IP Traffic where each segment cannot communicate with other segment without proper rules mentioned is called VLAN and every VLAN has a proper number called VLAN ID.
Q25. What is VLAN Tagging?
Ans: The practice of inserting VLAN ID into a packet header to identify which VLAN packet belongs to is called VLAN tagging.
Q26. What is promiscuous mode on vSwitch?
Ans: The default mode is Reject. If Accept is selected, VM will receive all traffic port group via vSwitch.
Q27. What is MAC address changes network policy?
Ans: The default mode of this policy is Reject. If the Accept is selected, host will accept requests to change the effective MAC address.
Q28. What is vRealize Operation (vROP)
Ans: vROP provides the operation dashboards for performance analytics, capacity optimization and monitoring the virtual environment.
Q29. What is VM Hardware version for vSphere 6.0?
Ans: Version 11
Q30. What VM hardware version for vSphere 6.5?
Ans: Version 13
Q31. In which version of vSphere PSC was introduce?
Ans: Platform Services Controller (PSC) is introduced in vSphere 6.0. vSphere 6.0 is also known as Virtual hardware version 11.
Q32. What is Forged transmits network policy?
Ans: The default mode is Reject. If Accept is selected, host will not compare the source and effective MAC address transmitted from a VM.
Q33. What are main components of vCenter Server architecture?
Ans: There are three main components of vCenter Server architecture.
- vSphere Client and Web Client: a user interface.
- vCenter Server database: SQL server or embedded PostgreSQL to store inventory, security roles, resource pools etc.
- SSO: a security domain in virtual environment
Q34. What is PSC and its components?
Ans: PSC stands for Platform Services Controller first introduced in version 6 of VMware vSphere which handles infrastructure security functions. It has three main components.
- Single Sign-On (SSO)
- VMware Certificate Authority (CA)
- Licensing service
Q35. What are two main deploying methods of PSC
Ans: You can install PSC in two ways:
- Embedded
- centralized
Q36. What are three network security policies/modes on vSwitch?
Ans:
- Promiscuous mode
- MAC address change
- Forged transmits
Q37. What are different types of vCenter Server deployment?
Ans: It has two deployment types
- Embedded deployment
- External deployment
Q38. How many maximum hosts can manage a vCenter Server in vSphere 6.0?
Ans: In vSphere 6.0, a single vCenter Server can manage up to 1000 hosts either in Windows or in vCenter Appliance (vCSA).
Q39. How many hosts can be managed by a cluster in vSphere 6.0?
Ans: A single cluster can manage maximum 64 hosts
Q40. How many disk types are in VMware?
Ans: There are three disk types in vSphere.
- Thick Provisioned Lazy Zeroes: every virtual disk is created by default in this disk format. Physical space is allocated to a VM when virtual disk is created. It can’t be converted to thin disk.
- Thick Provision Eager Zeroes: this disk type is used in VMware Fault Tolerance. All required disk space is allocated to a VM at time of creation. It takes more time to create a virtual disk compare to other disk formats.
- Thin provision: It provides on-demand allocation of disk space to a VM. When data size grows, the size of disk will grow. Storage capacity utilization can be up to 100% with thin provisioning.