Showing posts with label VMWare interview related. Show all posts
Showing posts with label VMWare interview related. Show all posts

VMware Scenario Based Question and Answer

  1.  Suppose If we have newly built ESXI host with 4 Physical NICs, all NICs are assigned to VSS MGMT kernel port port and we have to migrate MGMT kernel port group from VSS to vDS.

          what will be the steps that we need to follow?

Ans -> To migrate traffic from VSS port group to vDS port group there must be physical NIC assigned to Destination port group. So below steps need to follow.

            First need to remove 1 or 2 physical NICs from VSS Switch and make it free

           Assign free NICs to vDS switch and then start management traffic migration.

        



2.  Can we change Snapshot file location in VMWare? If yes, then how can we change?

Yes, 

3. How does HA keep track of which VM need to be restarted in case of an ESXI host failure?

Ans. HA takes help of two files namely power ON and protected list. The power ON file maintained by each ESXI host individually  and it contains entries of those VMs, which are currently running on that ESXI host.
The  protected list file in maintained at Datastore level and tells HA which VM was protected before failure. Based on these two file HA decide which VM need to restart In case of HA trigger.



   Host-<id>-poweron








 

Top 10 VMware interview questions and answers for Administrator level

 12. Which two traffic types can be configured for a dedicated VMKernel adapter?

 (Choose two)

Options are:  

  1. Discovery Traffic

  2. vMotion Traffic

  3. vSphere Replication Traffic

  4. vSphere Custom traffic


Ans is:


B. vSphere Replication Traffic

C. vMotion Traffic


Reason is: VMKernel  Adapters are specialized virtual adapters used for VMKernel

Services and also used by the vSphere host to communicate with the outside world.


  1. vMotion Traffic: vMotion is one of the most widely used VMKernel services in Datacenter operations. To perform vMotion, VMkernel adapter needs to be configured with vMotion service else vMotion check itself will fail.

  2. vSphere Replication Traffic: vSphere Replication is another widely used VMkernel service. To isolate the incoming replication traffic on target ESXI hosts, VMkernel adapter needs to be configured with vSphere replication service else management network will be used for replication traffic.

13. Where is a virtual SAN fault Domain configured?

 Options are:

  1. VMware virtual SAN cluster configuration

  2. VMware HA cluster configuration

  3. VMware DRS cluster configuration

  4. Datacenter advanced setting configuration

Ans is: 

A VMware virtual SAN cluster configuration

Reason is:  Fault Domain enables us to protect against rack or chassis failures without requiring 

Additional data copies. The implementation allows vSAN to save replica copies of virtual machine

Data in different domains. For ex. Different racks of compute.


14. During vCenter server upgrade, an ESXI 6.x host in a HA cluster fails. Which statement is true?

Options are:

  1. HA will fail the virtual machine over to an available host during vCenter server upgrade

  2. HA is unavailable during the vcenter server upgrade process.

  3. HA will fail the virtual machines over to an available host after the vcenter server upgrade process

  4. HA will successfully vMotion the virtual machine during the host failure.


Ans is:  C. HA will fail the virtual machines over to an available host after the vcenter server upgrade process.


vSphere HA will continue to restart protected VMs on available hosts in a cluster in the event of ESXi host failure. Any new ported on VM won’t be protected by HA until vCenter server is back online.

During vcenter upgrade process, HA admission control policies also can’t be changed or modified.


15. Which two statements are true regarding iSCSI adapters? (Choose two)




Options are:

  1. Software iSCSI HBA required VMkernel networking

  2. Independent HW iSCSI HBA offload processing from the ESXI host

  3. Dependent HW iSCSI HBA do not require vmkernel networking.

  4. Independent HW iSCSI HBA requires vmkernel networking.


           Ans is: 

  1. Software HA will fail the virtual machines over to an available host after the vcenter server upgrade process

  2. Independent HW iSCSI HBA offload processing from the ESXI host


Reason is: 

HBA : A host bus adapter (HBA) is an HW or software adapter that connects the host to storage devices.


iSCSI:  iSCSI stands for internet small computer systems interface. It is transport layer protocol enables host computer to send data to an eternal iSCSI- based storage array


16. Which features of VMware vSphere will automate the process of migrating VMs to fewer hosts during times of low workloads?


Options are: 

  1. FT

  2. EVC

  3. DPM

  4. HA

Ans is: C. DPM

Reason is:  DPM stands for Distributed power management. It provides additional power saving by dynamically consolidating workloads during periods of low resource utilization.

Virtual machines are migrated onto fewer hosts and then unneeded ESXI hosts are powered off.


17. An administrator is troubleshooting network communications between a vCenter server and an ESXi 6.5 host.

Which log shows the related events between these components?

Options are:

  1. /var/log/fdm.log

  2. /var/log/vpxa.log

  3. /var/log/hostd.log

  4. /var/log/auth.log

Ans is: B. /var/log/vpxa.log

Reason is: 

VPXD: vpxd is vcenter server service. If this service is stopped, then we will not be able to connect to VC.

VPXA: vpxa is the agent of VC which is installed on each ESXi host managed by VC.

HOSTD: hostd is another agent that runs on each ESXi host. It performs host specific operations like VM power on/off.


18. An administrator sees the following error in the log files:

Lost Access to volume ” Volume name **** due to connectivity issues” 

Which two events could be the source of the error message?

Choose two

Options are:

  1. vCenter server failure

  2. VXLAN failure

  3. Disk array failure

  4. ESXI failure

  5. Network failure

Ans is: 

Network failure (APD All path down)

Disk array failure   (PDL  Permanent device loss)


Reason is: APD (All paths down) situation occurs when all the paths to a device are down. Since there no indication whether device is permanent or temporary loss, ESXi keeps reattempting to establish connectivity. 


APD commonly occurs due to underlying storage/network connectivity issues and hosts still believe the device is available.

PDL (Permanent Device loss): situation occurs when the storage device is permanently inaccessible to ESXi host and ESXi host no longer attempts to re-establish connectivity issue.

In PDL state, iSCSI sense code logged by storage device to ESXi host used to recognize device inaccessibility. 


19. A vSphere administrator wants to reserve 0.5 Gbps for virtual machines traffic on each uplink of a distributed switch that has 10 uplinks.

What is the quota that should be reserved for the network resource pool?

Options are:

  1. 10 Gbps

  2. 5 Gbps

  3. 100 Gbps

  4. 0.5 Gbps


Ans is

B. 5 Gbps 


Reason is:

What is a network resource Pool?  A Network resource pool provides a reservation quota to virtual machines. The quota represents a portion of bandwidth that is reserved for virtual machine system traffic on the physical adapter connected to vDS.


You can set the bandwidth for the virtual machines from the quotas that are associated with the pool.


If the virtual machine system traffic has 0.5 Gbps bandwidth reserved on each 10 GbE uplink on a distributed switch which has 10 uplinks, then the total aggregated bandwidth available for VM reservation on this switch would be


0.5*10=5Gbps

Network resource pool can reserve a quota of 5 Gbps capacity.


Top 10 VMware scenario based interview questions and answers

1 .Which Information can the administrator use to identify ISCSI nodes?

Options are:

A.              MAC address

B.              IQN

C.              WWN

D.              LUN ID

Ans: B. IQN 


Reason is: IQN is an abbreviation for iSCSI qualified Name. IQN is used to identify iSCSI nodes in SAN networks, same as MAC addresses used to identify network devices in Ethernet networks.

Similar to IQN, WWN is used to identify FC/FCoE devices in SAN networks.

 

2.  An Administrator needs to prevent 2 virtual machines from running on the same host. Which DRS policy should be applied?

 

Options are: 


A.              VM-to-VM affinity

B.              VM-to-host affinity

C.              VM-to-VM anti-affinity 

D.              VM-to-host anti-affinity

 

Ans: VM-to-VM anti-affinity 


  1. Reason is: DRS Anti Affinity rules are used to prevent VMs running on the same host whereas Affinity rules are used to keep VMs together on the same host at any time. VM-to-host affinity rules are used to bind VM to specific hosts where VM-to-VM rules are about 2 VMs binding.  

 

3. An Administrator is planning a new vsphere deployment using shared storage. The solution must be supported.

 

vMotion

SvMotion

RDM Disks

 

Options are:


A.              CIFS

B.              iSCSI

C.              NFS

D.              vSAN

 

Ans:  B. iSCSI


Reason is: iSCSI, NFS and vSAN, all three storage supports vMotion and storage vMotion feature. But only iSCSI is the block level storage which supports RDM disks. CIFS is file sharing protocols used for windows operating systems.

CIFS and NFS are file sharing protocols and vSAN is object based storage.

 

4. Which vSphere 6.X feature automatically distributes resources among the virtual machines during contention?

 

Options are:


A.              Storage vMotion

B.              vSphere vMotion

C.              DPM

D.              DRS

 

Ans :   DRS 

Reason is:  DRS stands for Distributed Resource Scheduler. DRS is a vSphere cluster level feature which provides resource management capabilities like Load balancing and virtual machine placement. DRS always strives to keep your VMs happy and allocate required compute resources to run VMs efficiently.

 

Storage vMotion -: Use to change underline Datastore of a VM.

vSphere vMotion-: Use to change underline host of a VM

DPM-: DPM is used for better power management of a VM.

 

5. Which vSphere 6.X feature enables you to mitigate the effect of storage latency during peak load periods in a virtualized data center?

Options are:

A.              NFS

B.              iSCSI

C.              NIOS

D.              SIOC

 

Ans: SIOC

              Reason is: SIOC stands for Storage IO control

              The purpose of SIOC is to address the “Noisy Neighbor” problem where low priority VM impact high priority VMs. SIOC provides I/O prioritization of virtual machines running on shared storage. SIOC automatically throttles a virtual machine I/O bandwidth when latency threshold is exceeded.

 

6. What are two features of vSphere 6.x that help address the availability challenges any organization faces?

Options are:

A.              Host profiles

B.              VM templates

C.              High availability

D.              Fault tolerance

Ans is: High Availability

Fault tolerance

Reason is: High Availability or HA is one of the widely used vSphere cluster features to improve application availability. In the event of host failure, HA automatically detects the failure and evacuates VMs from the failure host and restarts it back on the available node of the cluster. By default, vSphere HA failure detection time is 15 sec.

vSphere Fault Tolerance or FT is another vSphere cluster feature which provides continuous availability to virtual machines –eliminating downtime and disruption- even in the event of a complete host failure. FT creates an exact replica of virtual machine to another host that can take over at the time of failure. FT provides ZERO DOWNTIME.

 

7. Which VLAN configuration requires physical switch connectivity to be defined as an access port?

Options are:

A.              Private vLAN

B.              External switch tagging

C.              Virtual switch tagging

D.              Virtual guest tagging

 

Ans is: External Switch tagging

 

Reason is: In external switch tagging, vLAN tagging happens at physical switch level, because of which switch ports are configured as access ports. Whereas in VST and VGT, physical switch ports need to be configured as Trunk ports because packets are tagged at virtual switch level or guest OS level.

 

8. Which two network failure detection options are available when using a vsphere standard switch?

 

Options are:



A.              Fixed with preferred path

B.              Link status only

C.              Beacon probing

D.              Most recently used.

Ans are: 

B. Link status only

C. Beacon probing

Reason why:  Link status only algorithm can detect immediate link failure for ex. NIC Down, Switch port Disable/Block, Switch Reboot etc.

Beacon probing Algorithm can detect upstream link and switch failures as well. It sends and listens for beacon probe packets in all physical NICs in a team.

 

9. An Administrator is migrating a powered on virtual machine. Which option should be selected to perform storage vMotion of the VM?

 

Options are:

A.              Change storage only

B.              Change Compute resource only

C.              Change both compute resource and storage

D.              All of the above

Ans is: Change storage only

Reason is: Storage vMotion is used to migrate virtual machine disk files from one Datastore to another with NO downtime for VM or No service disruption for end users.

SvMotion is used for storage maintenance activity or redistributing virtual machine disks to different storage volumes to balance capacity or improve performance.

10. Why would a vSphere administrator configure resource “SHARES” for a virtual machine?

Options are: 

A.              To prioritize access to a resource during contention 

B.              To guarantee access to a resource during contention

C.              To prioritize access to a resource at all times

D.              To guarantee access to a resource at all times

Ans is: 

A.              To prioritize access to a resource during contention 

Reason is: Shares specify the relative priority of a virtual machine. If a virtual machine has twice as many shares of resource as another vm. It is entitled to consume twice as much of that resource.

Shares prioritize cluster resource allocation only when available capacity is not able to meet the demands of resource consumers.

 

11. What two files are created when the TAKE SNAPSHOT operation is executed?

Options are:

A.              *.delta.vmdk

B.              *.nvram

C.              *.vmss

D.              *.vmsn

 

Ans are: 

 

*.delta.vmdk

*.vmsn

 

Reason is:  A VMware Snapshot is a copy of the virtual machine’s disk file and memory state at any given point of time.

 

*.delta.vmdk

File represents the difference between the current state of the virtual disk and the state that existed at the time that the previous snapshot was taken.










Featured Post

HPE MSA 2040 configuration step by step

HPE MSA 2040 configuration Default IP range for HP SAN storage MSA 2040 is 10.0.0.1/2 You need to connect your laptop and storage with...