Medium1 markMultiple Choice
GCP PCA · Question 33 · Technical Processes
You need to back up a 500 GB Persistent Disk attached to a Compute Engine instance. The disk contains a highly active database. You want to minimize the time the database is locked during the backup process. What is the most efficient way to take the backup?
You need to back up a 500 GB Persistent Disk attached to a Compute Engine instance. The disk contains a highly active database. You want to minimize the time the database is locked during the backup process. What is the most efficient way to take the backup?
Answer options:
A.
Stop the Compute Engine instance, copy the disk to Cloud Storage using gsutil, and restart the instance.
B.
Flush the database to disk, take a Persistent Disk snapshot, and immediately resume database operations.
C.
Export the database to a SQL dump file and upload it to Cloud Storage.
D.
Create a custom machine image from the running instance.
How to approach this question
Identify the GCP feature that provides instant, block-level backups.
Full Answer
B.Flush the database to disk, take a Persistent Disk snapshot, and immediately resume database operations.✓ Correct
Flush the database to disk, take a Persistent Disk snapshot, and immediately resume database operations.
Persistent Disk snapshots are the standard way to back up disks in GCP. They are incremental and asynchronous. To ensure application consistency for a database, you flush the buffers to disk (e.g., `FLUSH TABLES WITH READ LOCK` in MySQL), issue the GCP snapshot API call, and immediately unlock the database. The snapshot continues in the background without impacting disk performance.
Common mistakes
Assuming the database must remain locked until the snapshot finishes uploading, which is incorrect for PD snapshots.
Practice the full GCP Professional Cloud Architect Practice Exam 1
50 questions · hints · full answers · grading
More questions from this exam
Q01**CASE STUDY: TechStream Gaming**
**Company Overview:** TechStream Gaming is a global gaming com...HardQ02**CASE STUDY: TechStream Gaming**
**Company Overview:** TechStream Gaming is a global gaming com...MediumQ03**CASE STUDY: TechStream Gaming**
**Company Overview:** TechStream Gaming is a global gaming com...HardQ04**CASE STUDY: TechStream Gaming**
**Company Overview:** TechStream Gaming is a global gaming com...MediumQ05**CASE STUDY: TechStream Gaming**
**Company Overview:** TechStream Gaming is a global gaming com...Medium
Expert