Persistent Disk Snapshot: Ideal Choices | CDL Exam Prep

Persistent Disk Snapshot

Question

Which of the resources listed below is an ideal choice for a Persistent Disk snapshot? (Choose 2)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

Correct Answers: A and B.

Option A is correct.

Please refer to the picture below for details.

Option B is correct.

Please refer to the picture below for details.

Option C is incorrect.

Please refer to the picture below for details.

Option D is incorrect.

Please refer to the picture below for details.

Option E is incorrect.

Please refer to the picture below for details.

Picture reference link:

https://cloud.google.com/compute/docs/machine-images#when-to-use
Scenarios

Single disk backup
Multiple disk backup
Differential backup

Instance cloning and
replication

YM instance configuration

image

Yes

Yes

Yes

Yes

Yes

Persistent disk
snapshot

Yes
No
Yes

No

No

Custom
image

Yes
No
No

Yes

No

Instance
‘template

No
No
No

Yes

Yes

Persistent Disk snapshots are a crucial feature of Google Cloud Platform (GCP) that enable you to capture incremental, point-in-time backups of your persistent disks. These snapshots can be used to create new disks, restore a disk to a previous state, and move data between regions and zones.

To answer the question, let's examine each option and see if it's an ideal choice for a Persistent Disk snapshot:

A. Single disk backup: This option involves creating a backup of a single disk, which may be an ideal choice for a Persistent Disk snapshot. With this method, you can take a snapshot of a disk at a particular moment in time and store it for future use. When you need to restore a disk, you can use the snapshot to create a new disk that contains the same data as the original.

B. Differential backup: This option involves backing up only the changes made to a disk since the last backup. While this method can be useful for reducing backup time and storage space, it may not be an ideal choice for a Persistent Disk snapshot. Since the goal of a snapshot is to capture a point-in-time backup of a disk, a differential backup may not provide the full picture of the disk's state at that moment.

C. Multiple disk backup: This option involves backing up multiple disks at once, which may not be an ideal choice for a Persistent Disk snapshot. Since snapshots are designed to capture the state of a single disk, taking backups of multiple disks at once can complicate the process and make it difficult to restore the data.

D. VM Instance configuration: This option involves capturing the configuration of a VM instance, including the disks attached to it. While this method can be useful for recreating a VM instance, it may not be an ideal choice for a Persistent Disk snapshot. Since the focus of a snapshot is on the disk data, capturing the VM configuration may not be necessary for most backup and restore scenarios.

E. Instance cloning and replication: This option involves creating a new instance that is an exact copy of an existing one, including its attached disks. While this method can be useful for creating duplicate environments or migrating data, it may not be an ideal choice for a Persistent Disk snapshot. Since the goal of a snapshot is to capture a point-in-time backup of a disk, cloning and replicating instances may not provide the same level of control over the backup process.

Based on the above analysis, the two ideal choices for a Persistent Disk snapshot are:

  1. Single disk backup
  2. VM Instance configuration (if you need to capture the VM configuration as well as the disk data)

In conclusion, Persistent Disk snapshots are an essential feature of GCP that enable you to capture incremental, point-in-time backups of your disks. When choosing the right backup method for your needs, it's important to consider the benefits and limitations of each option and select the one that best meets your backup and restore requirements.