VMware scenario based interview questions

VMware Interview Questions for Freshers
  • What is the importance of virtualization? …
  • Explain the different types of virtualization available. …
  • Explain VMKernel and its importance. …
  • Write four core elements of the VMkernel networking layer. …
  • What do you mean by Hypervisor? …
  • What do you mean by ESXi? …
  • Explain NFS and VMFS.

We are starting new post series with the starting of this new year. In this series we will be posting Interview questions and answers related to VMware Technology. VMware Interview questions are always helpful in successfully complete interviews and also helps in improving knowledge.

In this first post of the series we are starting with some basics interview questions on what is Virtualization, Types of Virtualization, Types of Hypervisor, vMotion, FT, HA, DRS, Clone, Template and other VMware Features which you will see in most of the Interviews. In the Next post series we will see more and more interview questions related to VMware. It will also help you to gain knowledge . In this post we will also see about comparison between Clone vs Template, vSphere Standard Switch vs vSphere Distributed Switch.

We have added quite a few basic VMware Interview questions and we will be adding more and more questions in future.

What is Virtualization :Virtualization is the process of creating a virtual or software-based representation of something, such as virtual applications, servers, storage and networks. Virtualization relies on software to simulate hardware functionality and create a virtual computer system. This enables IT organizations to run more than one virtual system – and multiple operating systems and applications – on a single server. The resulting benefits include economies of scale and greater efficiency.

Server Virtualization:Server virtualization enables multiple operating systems to run on a single physical server as highly efficient virtual machines. In Server Virtualization physical server resources are abstracted logically to create and run virtual machines. Examples are VMware vSphere, Microsoft Hyper-V, RedHat KVM etc.

Storage Virtualization:Storage Virtualization enables grouping of multiple physicals storage into single logical storage and it will be presented as a single storage to all the servers. It allows you to easily manage storage and maintain consistent performance. Example VMware vSAN.

Network Virtualization:Network Virtualization allows you to make a complete software defined networks by decoupling the virtual networks from the underlying network hardware. Main function of Network Virtualization is to remove the dependency multiple of the Physical Network Devices. Examples are VMware NSX.

Desktop Virtualization:Desktop Virtualization enables you to deploy multiple desktops on the single or multiple hardware at a single location and desktop is accessed by users from any location using any device. It is also called as Virtual Desktop Infrastructure (VDI). Examples are VMware Horizon View , Citrix Xen Desktop.

Application VirtualizationApplication Virtualization enables you to host an Application on the server and it can be accessed from anywhere with Internet connectivity, where users don’t have to install Application. Examples are VMware ThinApp, Citrix XenApp.

What is Hypervisor:Hypervisor, also known as a virtual machine monitor, is a process that creates and runs virtual machines (VMs). A hypervisor allows one physical server to run multiple virtual machines by sharing its physical resources virtually such as CPU, Memory, GPU etc. Hypervisor isolates virtual machines running on a single hardware. Examples are VMware ESXi, Microsoft Windows Server Hyper-V.

Types of Hypervisor:There are basically 2 types of Hypervisor which are Type 1 and Type 2.

Type 1 is called as bare metal hypervisor which directly runs on the Physical Server hardware. It is completely independent from operating system. Examples of Type 1 Hypervisors are ESXi, Xen Server, Microsoft Hyper-V.

Type 2 is called as Hosted Hypervisor which runs on the Guest Operating system. It is dependent on the Operating system. Examples of Type 2 Hypervisors are VMware Workstation, Oracle Virtual Box.

What is HCI :HCI is a Hyper Converged Infrastructure. Hyper-converged infrastructure (HCI) is a software-defined IT infrastructure that virtualizes all of the elements of conventional “hardware-defined” systems. HCI includes virtualized computing (a hypervisor), a virtualized SAN (software-defined storage) and virtualized networking (software-defined networking). All of the components are managed using the software only. In Simple terms HCI includes Server, Storage and Network into a single physical Hardware.

What is ESXi :ESXi is an Enterprise class Bare Metal Type 1 Hypervisor developed by VMware for Server Virtualization. ESXi is a small Operating system which is directly installed on the Physical Hardware. By installing ESXi you can create and manage multiple virtual machines on a single Hardware. Latest version of ESXi is 6.7.

VMware ESX:ESX is also called as Elastic Sky is a server virtualization by VMware. In ESX VMkernel is a virtualization kernel which is used by the console operating system. Console is Linux based and its main function is to provide management interface and run the management agents. You can also deploy third party agents for management and monitoring of the hardware. ESX is discontinued by VMware long ago.

VMware ESXi:ESXi also called as Elastic Sky X Integrated is a server virtualization platform by VMware. ESXi is a very small & most secure operating system architecture. Service console is removed in ESXi and all the activities are done by VMkernel itself. ESXi provides DCUI (Direct Console User Interface) to manage the ESXi Server. Nowadays you will only find the ESXi Hypervisor running in the VMware Infrastructure.

Host Machine is the Physical Hardware which provides the resources to the guest virtual machines. Host Machine allocates the CPU, Memory and other resources to the Guest Machines running on it.

Guest Machine is referred to as virtual machine. Guest machine runs on the Hypervisor in an isolated environment. Guest machines will have their own CPU, Memory and Storage independent. Guest Machine will also have its own operating system inside each Guest.

What is VMware Workstation:VMware Workstation is a Type 2 Hypervisor which is installed in Windows or Linux OS. VMware Workstation allows you to create and run virtual machines. It is mostly used for testing of applications and servers by users. It provides the complete isolated environment for virtual machines. It comes with many useful features such as virtual networking,cloning,snapshot etc. Latest version of VMware Workstation is 15 Pro.

What is Virtual Machine:A virtual machine is a software computer that, like a physical computer, runs an operating system and applications. The virtual machine is comprised of a set of specification and configuration files and is backed by the physical resources of a host. Every virtual machine has virtual devices that provide the same functionality as physical hardware and have additional benefits in terms of portability, manageability, and security.

What are Virtual Machine Files:When we create virtual machine it creates the multiple files in the back end, you can access and view those files using datastore browser but it is not recommended to change or modify those files. Below are the files of Virtual Machine:

What is VMkernel :VMkernel is a Networking interface between ESXi and Virtual Machine. VMkernel provides Layer 2 and Layer 3 services to the ESXi Host. It is responsible to provide physical resources to the virtual machines such as CPU, Memory, Storage etc. When ESXi is installed one default VMkernel is created for management. You can also create additional VMkernel for below services:

What is Cluster:Cluster in VMware is logical grouping of multiple ESXi Hosts. Where you can add or remove hosts from the cluster. You can enable features such as HA, DRS on the Cluster.

What is VLAN:Virtual LANs (VLANs) enable a single physical LAN segment to be further segmented so that groups of ports are isolated from one another as if they were on physically different segments. You can configure VLANs in ESXi using below 3 Methods:

External Switch Tagging (EST):With EST, all VLAN tagging of packets is performed on the physical switch. Host network adapters are connected to access ports on the physical switch. Port groups that are connected to the virtual switch must have their VLAN ID set to 0.

Virtual Switch Tagging (VST):With VST, all VLAN tagging of packets is performed by the virtual switch before leaving the host. Host network adapters must be connected to trunk ports on the physical switch. Port groups that are connected to the virtual switch must have an appropriate VLAN ID specified.

Virtual Guest Tagging (VGT):With VGT, all VLAN tagging is performed by the virtual machine. VLAN tags are preserved between the virtual machine networking stack and external switch when frames are passed to and from virtual switches. Physical switch ports are set to trunk port.

What is vCenter Server:vCenter Server provides centralized management for the vSphere Infrastructure. It Provides management of ESXi Hosts and Virtual Machines from single console. So you can manage and perform operations on the ESXi and Virtual Machines from using single pane. latest version of vCenter Server is 6.7.

What is Platform Service Controller:Platform Service Controller(PSC) is an very important component of vSphere Infra. PSC allows all VMware products within the same environment can share the authentication domain and other services. Services include certificate management, authentication, and licensing. PSC can be deployed Embedded with vCenter Server or as an External Platform Service Controller.

Types of Deployment supported in vCenter Server:When you deploy vCenter Server you have 2 deployment options available Embedded PSC and External PSC. In Embedded PSC, vCenter will have embedded platform service controller. In case of External PSC, you can deploy vCenter and Platform Service Controller individually.

What is the Operating System of vCenter Server Appliance:With the release of vSphere 6.5 and later vCenter Server Appliance uses Photon OS which is based on the Linux. Previous version of VCSA was using the OpenSuse Linux.

Virtual Volumes (VVols) is an integration and management framework that virtualizes SAN/NAS arrays, enabling a more efficient operational model that is optimized for virtualized environments and centered on the application instead of the infrastructure. VVOLs is an object based storage , which storage virtual machine files as an objects.

What is VMFS:VMFS(Virtual Machine File System) is high performance clustered file system specially designed and optimized for virtual machines. VMFS leverages shared storage to allow multiple vSphere Hosts to access the same storage concurrently. VMFS enables virtualization infrastructure services such as VMware DRS, VMware HA, vMotion and Storage vMotion to operate across a cluster of ESXi Hosts.

What is VMDK:VMDK is referred to as Virtual Machine Disk. There are basically 2 types of VMDK which are Descriptor and Flat. Descriptor VMDK does not contain any data from virtual machine it stores the configuration and mapping of flat VMDK. Flat VMDK are the original virtual disk files who stores the actual virtual machine data.

What Types of Network Storage is supported in vSphere : Below are the Network Storage Types are supported in vSphere:

What is Template:Template is an master copy of the virtual machine. It means using Templates you can create and provision thousands of virtual machines with same specifications. You can convert your virtual machine into Template to create a Template. For Example you can create a VM with all the updates and software installed then you can convert VM into Template so you can deploy VMs from that template whenever you required.

VMware Tools is a suite of utilities that you install in the operating system of a virtual machine. VMware Tools enhances the performance of a virtual machine. You can install VMware Tools on Windows as well as Linux Operating Systems. VMware Tools has many benefits such as Improved mouse performance, Copy and paste text & files, synchronization of Clock in VM, Faster graphics performance and many more.

The hardware version of a virtual machine reflects the virtual machine’s supported virtual hardware features. These features correspond to the physical hardware available on the ESXi host on which you create the virtual machine. Virtual hardware features include BIOS and EFI, available virtual PCI slots, maximum number of CPUs, maximum memory configuration, and other characteristics typical to hardware. You can easily upgrade Hardware version of Virtual Machine but it requires virtual machine to be powered Off.

Memory Management Techniques in VMware:ESXi uses 4 types of Memory management Techniques to reclaim memory when psychical memory is not available. Below are 4 types :

TPS is used when multiple virtual machines are using the same operating system so at that time ESXi will check for identical memory pages and it will keep single copy of identical pages by removing redundant pages. This technique will help ESXi to reclaim memory easily. It is enabled by default.

Ballooning is a dynamic memory reclamation technique used when ESXi is running out of memory and it uses balloon driver to reclaim memory from VMs. Balloon driver is included in the VMware Tools which is installed in VM.

When the Ballooning doesn’t reclaim memory then ESXi uses Memory Compression. It compresses and stores memory in a cache in the host’s main memory. Memory compression occurs when the page’s compression ratio is greater than 50%. It is enabled by default.

When the TPS, Ballooning and Memory compression doesn’t work ESXi uses Memory Swapping in which ESXi swaps guest VMs memory to the swap file which makes physical memory available for use.

What is Standard Switch: A vSphere Standard Switch is very similar to a physical Ethernet switch. You use standard switches to provide network connectivity to hosts and virtual machines. A standard switch can bridge traffic internally between virtual machines in the same VLAN and link to external networks. To provide network connectivity to hosts and virtual machines, you connect the physical NICs of the hosts to uplink ports on the standard switch.

What is Distributed Switch: A vSphere distributed switch functions as a single switch across all associated hosts. This enables you to set network configurations that span across all member hosts, and allows virtual machines to maintain consistent network configuration as they migrate across multiple hosts. In Standard Switch you need to create Port Groups on each host but in case of Distributed Switch you only have to created port groups once and it will be applied to all Hosts.

What is Traffic Shaping: ESXi allows you to shape (Limit) the incoming and outgoing traffic on Port Groups. A traffic shaping policy is defined by three characteristics: average bandwidth, peak bandwidth, and burst size. Standard switch only supports the Outbound traffic shaping.

What is Port Group: Port Groups aggregates multiple ports of virtual machines. Each port group is identified by a network label, which is unique to the current host. Network labels are used to make virtual machine configuration portable across hosts. You can create either VMkernel port group or VM port group based on requirements. You can set VLAN IDs on Port Groups.

It is an Emulated version of the Intel 82545EM Gigabit Ethernet NIC, with drivers available in most newer guest operating systems, including Windows XP and later and Linux versions 2.4.19 and later.

E1000E:It is an Emulated version of the Intel 82574 Gigabit Ethernet NIC. E1000E is the default adapter for Windows 8 and Windows Server 2012.

VMXNET:It is Optimized for performance in a virtual machine and has no physical counterpart. Because operating system vendors do not provide built-in drivers for this card, you must install VMware Tools to have a driver for the VMXNET network adapter available. If VMware Tools is not installed in Guest Operating system this adapter will not be visible.

VMXNET 2 (Enhanced):It is Based on the VMXNET adapter but provides high-performance features commonly used on modern networks, such as jumbo frames and hardware offloads. VMXNET 2 (Enhanced) is available only for some guest operating systems on ESX/ESXi 3.5 and later.

VMXNET 3:A paravirtualized NIC designed for performance. VMXNET 3 offers all the features available in VMXNET 2 and adds several new features, such as multiqueue support (also known as Receive Side Scaling in Windows), IPv6 offloads, and MSI/MSI-X interrupt delivery. VMXNET 3 is not related to VMXNET or VMXNET 2.

SR-IOV passthrough:It is Representation of a virtual function (VF) on a physical NIC with SR-IOV support. The virtual machine and the physical adapter exchange data without using the VMkernel as an intermediary. This adapter type is suitable for virtual machines where latency might cause failure or that require more CPU resources. SR-IOV passthrough is available in ESXi 6.0 and later for guest operating systems Red Hat Enterprise Linux 6 and later, and Windows Server 2008 R2 with SP2.

What are Security Policies available in Standard and Distributed Switch: Below are 3 Security Policies available in vSphere Standard as well as Distributed Switch:

Promiscuous Mode: It is used mostly when you want to Capture or Sniff all the packets coming on the same port group. There are 2 options available Accept and Reject. When it is set to Accept then you can monitor or capture all the network packets on the vSphere standard switch that are allowed under the VLAN policy for the port group that the adapter is connected to, but when it is set to Reject there no impact on the packets sent or received.

MAC Address Changes: It works on the MAC Address of the Virtual Machines. There are 2 options available Accept and Reject. If you set it to Accept then if the VM’s MAC address is changed from the original MAC Address assigned VM will able to send and receive network packets , But when it is set to Reject then If the VM’s MAC Address is changed from the original MAC Address then VM will not able to send or receive network packets.

Forged Transmits: It also works same as MAC Address changes in which MAC Address of the VM is Compared by ESXi with the Source MAC Address. There are 2 options available Accept and Reject. When it is set to Accept No filtering is performed and all outbound frames are passed, but when it is set to Reject Any outbound frame with a source MAC address that is different from the one currently set on the adapter are dropped.

What is vMotion:vMotion Allows you to lively migrate virtual machines from one physical ESXi host to another ESXi host without downtime. In vMotion only virtual machine will be migrated from one host to another storage stays at the same place. vMotion is most used feature in VMware vSphere. This capability is possible across vSwitches, Clusters, and even Clouds (depending of the vSphere edition that you have). It is also called as live migration.

What is Storage vMotion:Storage vMotion allows you to lively migrate virtual machine disk from one datastore to another. It means that you can easily migrate your virtual machine from one storage to other without downtime. By Storage vMotion, you can transform virtual disks from Thick-Provisioned Lazy Zeroed or Thick-Provisioned Eager Zeroed to Thin-Provisioned or the reverse.

What is DRS:DRS is also called as Distributed Resource Scheduler. DRS works on the cluster level. DRS is most useful feature when you have heavy workloads. DRS will continuously monitor the load on the ESXi hosts and if the load increases then it will migrate VMs from one host to another to balance the load on the cluster. There is 3 types of modes available in DRS : Fully Automated, Partially Automated and Manual.

What is SDRS :SDRS is called as Storage DRS. SDRS works on the datastore cluster where multiple datastores are added into single cluster. Storage DRS allows you to manage the aggregated resources of a datastore cluster. When Storage DRS is enabled, it provides recommendations for virtual machine disk placement and migration to balance space and I/O resources across the datastores in the datastore cluster.

What is High Availability:High Availability is referred as HA in VMware. HA works on the Cluster level. VMware HA provides high availability for virtual machines by pooling them and the hosts they reside on into a cluster. Hosts in the cluster are monitored and in the event of a failure, the virtual machines on a failed host are restarted on alternate hosts.

What is Fault Tolerance:Fault Tolerance is referred as FT in VMware. FT works on the VM level. VMware Fault Tolerance provides continuous availability for virtual machines by creating and maintaining a Secondary VM that is identical to, and continuously available to replace, the Primary VM in the event of a failover situation. You can enable Fault Tolerance for most mission critical virtual machines

What is EVC:EVC is also called as Enhanced vMotion Compatibility. EVC is used when you have multiple CPU family hosts in the same cluster. EVC feature to help ensure vMotion compatibility for the hosts in a cluster. EVC ensures that all hosts in a cluster present the same CPU feature set to virtual machines, even if the actual CPUs on the hosts differ. Using EVC prevents migrations with vMotion from failing because of incompatible CPUs.

What is VCHA:VCHA is the new feature announced in vSphere 6.5. VCHA is referred as vCenter High Availability. VCHA provides high availability for the vCenter Server by creating secondary copy of the vCenter Server. So in case of your primary vCenter fails, secondary vCenter will take over it and you have your vCenter Server running.

What is Resource Pool:Resource pools allow you to delegate control over resources of a host which are CPU and Memory. You can create Resource Pool and assign amount of resources to the virtual machines inside resource pool. A resource pool can contain child resource pools, virtual machines, or both. You can create multiple Resource Pools based on your requirement.

What is vApp:A vApp is a logical container, like a resource pools and can contain one or more virtual machines. In addition, a vApp also shares some functionality with virtual machines. A vApp can power on and power off, and can also be cloned. You can even export vApp.

What is Host Profiles:Host Profile allows you to create and maintain consistent configurations among ESXi Hosts. You can create Host Profile from on Host and attach it to other host to maintain same configuration and make them compliant. It helps you to avoid the error and misconfiguration in larger environments.

What is Hot Add:Hot Add is more useful feature where you can add or increase the CPU and Memory of the Virtual Machine while it is running. First you have to enable Hot Add CPU and Memory for the Virtual Machine when you create Virtual Machine.

What is VUM:VUM is also called as VMware Update Manager. VUM is used for Upgrading and Patching of ESXi Hosts. With VUM you can also upgrade VMware Tools and virtual appliances.

What is vCenter Converter:vCenter Converter is used to convert Physical Servers into virtual machines. By using vCenter Converter you can easily convert your Physical Server into Virtual Machine without much hassle of creating vm and copying data. Conversion Process is called as P2V.

What is Content Library in VMware : Content Library is the container you create to store different objects such as Template, ISO, Config Files, Scripts etc. It allows you to Sharing templates and files across multiple vCenter Server instances in the same or different locations results in consistency, compliance, efficiency, and automation in deploying workloads at scale.

What Two Types of Content Library available in VMware : There are basically two types of content library comes local and subscribed.

What is Cold Migration : Cold Migrations is when you migrate powered off or suspended virtual machines. To perform a cold migration, you can move virtual machines manually or set up a scheduled task.

What is Hot Migration: Hot Migrations is when you migrate running powered on virtual machines. vMotion is also referred to as “live migration” or “hot migration.”

How vSphere Licensing Works: vSphere is licensed on a per-processor basis. Each physical processor (CPU) in a server needs to have at least one processor license key assigned to be able to run vSphere. There are No Limits on Physical Resources and Number of Virtual Machines.

Which License editions are available in vSphere 6.7: Below are the editions available in vSphere 6.7:

What is vSphere Replication:VMware vSphere Replication is a hypervisor-based, asynchronous replication solution for vSphere virtual machines.By using vSphere Replication you can Replicate virtual machines from one site to another.

What is SRM:SRM is referred as Site Recovery Manager. SRM is a business continuity and disaster recovery solution that helps you to plan, test, and run the recovery of virtual machines between a protected vCenter Server site and a recovery vCenter Server site. You can configure SRM with vSphere Replication or with Array Based Replication.

What is VMware NSX: NSX is an Network Virtualization by VMware which provides complete virtualization of Networking components in datacenter using software. NSX Data Center provides a complete set of logical networking elements and services, including logical switching, routing, firewalling, load balancing, VPN, quality of service (QoS), and monitoring. These services are provisioned in virtual networks through any cloud management platform leveraging the NSX Data Center APIs. Virtual networks are deployed nondisruptively over any existing networking hardware. NSX is main component of Software Defined Data Center (SDDC).

We have selected this interview questions based on the data we have,We will also updating this questions from time to time. If you have any questions or if you want to share any questions you can post it in comments section we will add it in this post.

That’s it for Today Friends. I Hope you liked reading this post & If you find anything more to be added or removed feel free to write it in our comments. If you find it useful You are Feel free to share this on social media to help others & spread knowledge. If you have any query on any thing you are free to write it in our comments section & we will make sure to provide you the better solution as soon as possible.

Join Our LinkedIn Group to get Updates & Discussions : Mastering VMware. Checkout our Facebook Group for discussions & more. You can also Like & Share our Facebook Page for Latest Updates.

VMware 80 special Interview Questions & Answers Part-01

Table of Contents

These commonly asked VMware Interview Questions will help you answer your upcoming interview confidently and land your dream job.

What is VMware?

VMware is a virtualization technology-based software tool used to test various software virtually by making a virtual operating system. It is like using a different operating system simultaneously as your current OS. It develops virtualization software, which means creating an abstraction layer over computer hardware that allows the hardware elements of a single computer to be divided into multiple virtual computers, also called virtual machines (VMs).

Why is my list any different from the hundreds of others on the web?

Well, first of all, it’s not a VCP test brain dump…

Secondly, these interview questions are carefully crafted to narrow the talent pool to the most qualified, not the most memorized.

The list of questions below is intentionally broken up into 5 groups:

  • System Requirements for ESXi 5.5/6,x/7.x
  • ESXi 5.5/6.x/7.x Installation
  • System Requirements for vCenter
  • vCenter Installation
  • Managing vSphere Resources
  • These 5 groups will test for technical proficiency that an experienced VMware administrator will [or should have].

    The list is also what I use when interviewing someone at an administrator-level with basic VMware skills, who will manage the day-to-day support, build, and provisioning of:

  • vCenter
  • ESXi hosts
  • virtual servers
  • virtual networks
  • virtual storage
  • Note: This list of questions may also be used for screening vSphere Engineers or Architects.

    There’s always someone in every interview who asks hard technical questions. For more information about setting up vSphere and ESXi, I’ve put together a list of the best VMware books that cover vSphere, Horizon, vCenter, VCP Exams, and more.

    Free VMware vSphere Interview Guide

    In this free VMinstall guide, I’ll share a list of 25 VMware interview questions and answers that I’ve crafted to screen for the best technical talent to manage and support VMware vSphere.

    If you’re new to vSphere let me take a moment and recommend my new guide to the best VMware training for beginners. This guide covers in detail job opportunities, career planning, and video training that takes you step by step through the setup, configuration, and management of vSphere environments.

    Now let’s get back to our guide about vSphere interview questions…

    FAQ

    What are the interview questions for VMware?

    Top 80+ VMware Interview Questions and Answers
    • What is VMware?
    • What is the reason for using virtual machines instead of original hardware?
    • What are the different types of virtualization available?
    • What is the server software VMware provides us?
    • Name some VMware products.
    • What is desktop virtualization?

    What is FT in VMware?

    VMware HA and DRS are each able to provide availability for VMs. The main difference between the two technologies is that VMware designed DRS to work in clustered environments, while HA enables admins to protect their VMs without having to deal with the cost or complexity of a failover cluster.

    What are the 2 reasons why a virtual machine might fail to power on?

    VMware vSphere Fault Tolerance (FT) provides continuous availability for applications (with up to four virtual CPUs) by creating a live shadow instance of a virtual machine that mirrors the primary virtual machine.

    Related Posts

    Leave a Reply

    Your email address will not be published. Required fields are marked *