
Ultimate access to all questions.
Answer-first summary for fast verification
Answer: In the Cloud Platform Console, increase the size of the persistent disk and use the resize2fs command in Linux.
The correct answer is A. On Google Compute Engine, you can dynamically resize a persistent disk without shutting down the virtual machine, which ensures minimal downtime. After increasing the size of the persistent disk in the Cloud Platform Console, you can use the resize2fs command in Linux to extend the ext4 file system to utilize the added space. This method allows the system to continue running and the database service to remain available during the resizing process. Other options involve shutting down the VM or more complex procedures that would result in greater downtime.
Author: LeetQuiz Editorial Team
No comments yet.
You are managing a production database virtual machine on Google Compute Engine. This VM uses an ext4-formatted persistent disk for data files, and the database is about to run out of storage space very soon. To prevent service disruption, you need to increase the storage space with the least amount of downtime. How can you remediate the problem effectively?
A
In the Cloud Platform Console, increase the size of the persistent disk and use the resize2fs command in Linux.
B
Shut down the virtual machine, use the Cloud Platform Console to increase the persistent disk size, then restart the virtual machine
C
In the Cloud Platform Console, increase the size of the persistent disk and verify the new space is ready to use with the fdisk command in Linux
D
In the Cloud Platform Console, create a new persistent disk attached to the virtual machine, format and mount it, and configure the database service to move the files to the new disk
E
In the Cloud Platform Console, create a snapshot of the persistent disk restore the snapshot to a new larger disk, unmount the old disk, mount the new disk and restart the database service