VMware vSphere 8.x Professional — Question 76
An administrator needs to create affinity rules for the following vSphere cluster setup:
• The cluster contains two virtual machines (VMs) named app01 and app02.
• The cluster contains six hosts named esx11 through esx16.
• The app01 and app02 VMs run software that is licensed to run only on esx11, esx12, or esx13.
• vSphere Distributed Resource Scheduler (DRS) is configured.
Which set of steps must the administrator perform to ensure that the licensing requirements are met for app01 and app02?
Answer options
- A. 1. Add all the hosts to a host group. 2. Create a VM-VM anti-affinity rule for app01 and app02.
- B. 1. Add the esx11 – esx13 hosts to a host group. 2. Create a VM-VM affinity rule for app01 and app02.
- C. 1. Add the VMs to a VM group and the esx11 – esx13 hosts to a host group. 2. Create a VM-Host required rule between the VM group and the host group.
- D. 1. Add the VMs to a VM group and the esx11 – esx13 hosts to a host group. 2. Create a VM-Host preferential rule between the VM group and the host group.
Correct answer: C
Explanation
The correct answer is C because it ensures that app01 and app02 are grouped with the hosts that they are licensed to run on, and the VM-Host required rule enforces that they must run on those hosts. Options A and B do not satisfy the licensing requirements as they either create anti-affinity or incorrectly apply affinity between VMs. Option D uses a preferential rule, which does not guarantee that the VMs will run on the licensed hosts, making it unsuitable.