PROFESSIONAL-CLOUD-DATABASE-ENGINEER · Question #79
PROFESSIONAL-CLOUD-DATABASE-ENGINEER Question #79: Real Exam Question with Answer & Explanation
The correct answer is A: In the Google Cloud Console, increase the size of the persistent disk, and use the resize2fs. If you are using ext4, use the resize2fs command to extend the file system. https://cloud.google.com/compute/docs/disks/resize-persistent-disk#resize_partitions
Question
Your organization is running a critical production database on a virtual machine (VM) on Compute Engine. The VM has an ext4-formatted persistent disk for data files. The database will soon run out of storage space. You need to implement a solution that avoids downtime. What should you do?
Options
- AIn the Google Cloud Console, increase the size of the persistent disk, and use the resize2fs
- BIn the Google Cloud Console, increase the size of the persistent disk, and use the fdisk command
- CIn the Google Cloud Console, create a snapshot of the persistent disk, restore the snapshot to a
- DIn the Google Cloud Console, create a new persistent disk attached to the VM, and configure the
Explanation
If you are using ext4, use the resize2fs command to extend the file system. https://cloud.google.com/compute/docs/disks/resize-persistent-disk#resize_partitions
Topics
Community Discussion
No community discussion yet for this question.