nerdexam
Google

PROFESSIONAL-CLOUD-ARCHITECT · Question #165

A production database virtual machine on Google Compute Engine has an ext4-formatted persistent disk for data files. The database is about to run out of storage space. How can you remediate the…

The correct answer is A. In the Cloud Platform Console, increase the size of the persistent disk and use the resize2fs. On Linux instances, connect to your instance and manually resize your partitions and file systems to use the additional disk space that you added. Extend the file system on the disk or the partition to use the added space. If you grew a partition on your disk, specify the…

Submitted by femi9· Mar 30, 2026Managing and provisioning cloud solution infrastructure

Question

A production database virtual machine on Google Compute Engine has an ext4-formatted persistent disk for data files. The database is about to run out of storage space. How can you remediate the problem with the least amount of downtime?

Options

  • AIn the Cloud Platform Console, increase the size of the persistent disk and use the resize2fs
  • BShut down the virtual machine, use the Cloud Platform Console to increase the persistent disk
  • CIn the Cloud Platform Console, increase the size of the persistent disk and verify the new space is
  • DIn the Cloud Platform Console, create a new persistent disk attached to the virtual machine,
  • EIn the Cloud Platform Console, create a snapshot of the persistent disk restore the snapshot to a

How the community answered

(33 responses)
  • A
    79% (26)
  • B
    12% (4)
  • D
    3% (1)
  • E
    6% (2)

Explanation

On Linux instances, connect to your instance and manually resize your partitions and file systems to use the additional disk space that you added. Extend the file system on the disk or the partition to use the added space. If you grew a partition on your disk, specify the partition. If your disk does not have a partition table, specify only the disk sudo resize2fs /dev/[DISK_ID][PARTITION_NUMBER] where [DISK_ID] is the device name and [PARTITION_NUMBER] is the partition number for the device where you are resizing the file system.

Topics

#persistent disk resize#Compute Engine#ext4#storage expansion

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-ARCHITECT Practice