Google Associate Cloud Engineer Question 182
Select 4Google Cloud PlatformYou are a Google Cloud Engineer responsible for managing your company's virtual machine instances. Recently, you were tasked with creating a backup strategy using snapshots for critical data stored in persistent disks. Which of the following steps should you take to ensure the snapshots are created and managed effectively?
- A
A. Use the 'gcloud compute disks snapshot' command to create snapshots manually.
- B
B. Schedule snapshot creation using the Google Cloud Console to automate the process.
- C
C. Ensure that the persistent disk is attached to a running VM instance when creating a snapshot.
- D
D. Set up snapshot schedules to delete old snapshots automatically based on your retention policy.
- E
E. Store snapshots in a different region from the persistent disks for disaster recovery purposes.
Show answer and explanation
Correct answers: A, B, D, E
Explanation
To effectively manage snapshots in Google Cloud Platform, it's important to automate the process to minimize manual intervention using tools like Google Cloud Console. This ensures regular backups and adherence to retention policies. Additionally, storing snapshots in different regions enhances disaster recovery capabilities. While creating manual snapshots is useful, automating the process offers a more robust solution for data protection.
- A. Correct.
Using the 'gcloud compute disks snapshot' command allows you to manually create snapshots, which is a fundamental step in managing backups.
- B. Correct.
Scheduling snapshot creation in the Google Cloud Console automates the backup process, reducing the risk of human error.
- C. Incorrect.
It is not necessary for the persistent disk to be attached to a running VM instance when creating a snapshot.
- D. Correct.
Setting up snapshot schedules to delete old snapshots automatically helps in managing storage costs and adhering to retention policies.
- E. Correct.
Storing snapshots in a different region helps in ensuring data availability in case of regional failures, enhancing disaster recovery.