2V0-21.23 Question 398
Single answerA company is hosting a critical application on a vSphere cluster. The application consists of two virtual machines (VMs) that need to communicate with each other with minimal latency. Additionally, the company requires that these two VMs always reside on the same host to ensure optimal performance. Which type of rule should be configured in VMware vSphere DRS to meet this requirement?
- A
VM-VM Anti-Affinity Rule
- B
VM-VM Affinity Rule
- C
VM-Host Affinity Rule
- D
Host Group Rule
Show answer and explanation
Correct answer: B
Explanation
To meet the requirement of keeping two VMs together on the same host to minimize latency, a VM-VM Affinity Rule should be configured in VMware vSphere DRS. This rule ensures that the specified VMs will always reside on the same host, fulfilling the company's need for optimal performance and communication between the VMs.
- A. Incorrect.
A VM-VM Anti-Affinity Rule ensures that specified VMs are not placed on the same host, which is the opposite of the requirement in this scenario.
- B. Correct.
A VM-VM Affinity Rule ensures that specified VMs are always placed on the same host. This aligns with the requirement to minimize latency and keep the VMs together.
- C. Incorrect.
A VM-Host Affinity Rule is used to specify which VMs should run on specific hosts or groups of hosts. This does not address the requirement of keeping the two VMs on the same host.
- D. Incorrect.
A Host Group Rule is used to group ESXi hosts for specific purposes, and it does not apply to the scenario where two VMs need to stay on the same host.