Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 14 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 14
Topic #: 1
[All Professional Cloud Architect Questions]

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?

  • 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
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
TosO
Highly Voted 5 years ago
A is the correct answer because the question says "with minimum downtime"
upvoted 28 times
...
passnow
Highly Voted 4 years, 11 months ago
least amount of downtime? is the sugar word. You miss that you miss all. Everything there is correct but I believe its only A that fits that requirement
upvoted 14 times
raj117
3 years, 7 months ago
but in option A, nowhere it is mentioned to shut down the VM.
upvoted 1 times
monkeym
3 years, 4 months ago
No need to reboot.
upvoted 1 times
...
...
...
Ekramy_Elnaggar
Most Recent 1 week, 5 days ago
Selected Answer: A
1. Online Resizing: Google Cloud Platform allows you to increase the size of a persistent disk while it's attached to a running VM. This means you don't need to shut down the database server. 2. resize2fs: This Linux command extends the file system to utilize the newly added space on the disk. It can be run while the file system is mounted, minimizing downtime.
upvoted 1 times
...
SerGCP
3 weeks, 1 day ago
Selected Answer: C
A) can not work becouse you must extend partition and after than you can extend filesystem C) ok becouse you can use fdisk in linux to extend partition and after than you can resize ext4 filesystem
upvoted 1 times
...
Nora9
1 year ago
Selected Answer: A
A is the right answer.You should resize the disk, take a snapshot, then resize the filesystem and partitions (eg.) ext4, xfs etc.
upvoted 1 times
...
AdityaGupta
1 year, 1 month ago
Selected Answer: A
Unlike Azure, in google you can dynamically resize the persistent disk while VM is running. This narrows down the option to A or C. Since the question says "ext4-formatted persistent disk", we need to choose correct command (resize2fs or fdisk ) for Linux for resizing ext4 file format disk. To resize an ext4 file system in Linux, you can use the resize2fs command. FDISK to manipulate partition tables in Linux.
upvoted 8 times
...
blackhawk86
1 year, 2 months ago
Selected Answer: A
According to the right url, A is the right answer. https://cloud.google.com/compute/docs/disks/resize-persistent-disk
upvoted 4 times
...
blackhawk86
1 year, 2 months ago
The right URL for the oficial document is, https://cloud.google.com/compute/docs/disks/resize-persistent-disk
upvoted 1 times
...
heretolearnazure
1 year, 3 months ago
A is no brainer
upvoted 1 times
...
jalberto
1 year, 3 months ago
Selected Answer: E
E is the correct because is true you need minimum downtime but in Production a backup is a must.
upvoted 2 times
...
jalberto
1 year, 3 months ago
E because you are in Production, and you need a backup
upvoted 1 times
...
alekonko
1 year, 8 months ago
Selected Answer: A
A is correct, resize disk don't required reboot or downtime https://cloud.google.com/compute/docs/disks/resize-persistent-disk
upvoted 3 times
...
omermahgoub
1 year, 11 months ago
A: Increasing the size of the persistent disk in the Cloud Platform Console and using the resize2fs command in Linux. Increasing the size of the persistent disk can be done without requiring the virtual machine to be shut down, and the resize2fs command can be used to resize the ext4 filesystem on the disk to take advantage of the additional space. This will allow you to add more storage space to the virtual machine without disrupting the database service.
upvoted 1 times
...
megumin
2 years ago
Selected Answer: A
A is ok
upvoted 2 times
...
Mahmoud_E
2 years, 1 month ago
Selected Answer: A
A https://cloud.google.com/compute/docs/disks/resize-persistent-disk?_ga=2.233866652.-3622898.1631303718
upvoted 1 times
...
minmin2020
2 years, 1 month ago
Selected Answer: A
A. In the Cloud Platform Console, increase the size of the persistent disk and use the resize2fs command in Linux.
upvoted 1 times
AzureDP900
2 years, 1 month ago
yes, A is right
upvoted 1 times
...
...
holerina
2 years, 2 months ago
A resize the disk standard command
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...