VCP-VCF Administrator 2024 Question 159
Single answerYou are a VMware Cloud Foundation Administrator managing a virtual machine (VM) in your environment. The VM is running a critical application, and you need to perform maintenance on the ESXi host where the VM resides. To avoid application downtime, what is the best approach to manage the lifecycle of this VM?
- A
Place the ESXi host into Maintenance Mode to automatically evacuate the VM to another host.
- B
Power off the VM manually and then migrate it to another host.
- C
Use vSphere vMotion to live migrate the VM to another ESXi host.
- D
Create a new VM on another host and copy the application data over.
Show answer and explanation
Correct answer: C
Explanation
For a critical application running on a VM, vSphere vMotion is the best tool to manage the VM's lifecycle during ESXi host maintenance. It allows live migration of the VM to another host without any downtime, ensuring continuous availability of the application.
- A. Incorrect.
Placing the ESXi host into Maintenance Mode will evacuate all VMs, but this step may cause service disruption if vSphere vMotion is not pre-configured or if there is no compatible host available.
- B. Incorrect.
Manually powering off the VM will result in application downtime, which is not acceptable for a critical application.
- C. Correct.
Using vSphere vMotion allows you to live migrate the VM to another host without disrupting the application, making it the best choice for this scenario.
- D. Incorrect.
Creating a new VM and copying the application data is time-consuming, prone to errors, and not an efficient method to manage the lifecycle of a running VM.