Topic 1 Question 107
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?
In the Google Cloud Console, increase the size of the persistent disk, and use the resize2fs command to extend the disk.
In the Google Cloud Console, increase the size of the persistent disk, and use the fdisk command to verify that the new space is ready to use
In the Google Cloud 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.
In the Google Cloud Console, create a new persistent disk attached to the VM, and configure the database service to move the files to the new disk.
ユーザの投票
コメント(2)
- 正解だと思う選択肢: A
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
👍 5chelbsik2022/12/26 A. Using fdisk by itself won’t achieve anything. A is wrong. Snapshotting a disk with database instances in flight is a potential problem. C is wrong. D, with some tweaking could move things to a larger disk, but there would be downtime. D is therefore wrong. There are several steps to achieving this task and they start with A. The link provided by chelbsik is spot on.
👍 1dynamic_dba2023/03/16
シャッフルモード