2V0-21.23 Question 375
Select 2You are managing a VMware vSphere environment and need to create a snapshot of a virtual machine (VM) before applying a critical software update. The VM has an active database application running. What considerations should you take into account to ensure the snapshot process does not disrupt the application and remains consistent?
- A
Enable the 'Quiesce guest file system' option when creating the snapshot.
- B
Take the snapshot with the VM powered off to ensure consistency.
- C
Use the 'Snapshot the virtual machine's memory' option to capture the current state of the VM.
- D
Avoid taking snapshots of VMs running applications with high I/O activity like databases.
- E
Delete all snapshots immediately after creating them to avoid performance issues.
Show answer and explanation
Correct answers: A, B
Explanation
When creating a snapshot of a VM running an active database application, it is critical to ensure consistency to avoid corruption or data loss. Enabling the 'Quiesce guest file system' option or powering off the VM before taking the snapshot are both valid approaches to ensure the snapshot is consistent. Other options like capturing memory or avoiding snapshots altogether are either not required or incorrect for this scenario.
- A. Correct.
Enabling the 'Quiesce guest file system' option ensures that the guest operating system flushes its I/O buffers and pauses certain operations, which is critical for consistency when taking a snapshot of a VM running an active database application.
- B. Correct.
Taking the snapshot with the VM powered off ensures that the snapshot captures the VM in a consistent and inactive state, avoiding any risk of data corruption or inconsistency.
- C. Incorrect.
While capturing the VM's memory state can be useful for certain scenarios, it is not necessary for creating an application-consistent snapshot, and it may not ensure consistency for database applications.
- D. Incorrect.
It is acceptable to take a snapshot of VMs running applications with high I/O activity as long as proper measures, like quiescing the file system, are taken to ensure consistency.
- E. Incorrect.
Deleting all snapshots immediately after creating them is not practical or necessary. Snapshots can be retained temporarily for rollback purposes but should not be kept long-term to avoid performance degradation.