ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 144 - Associate Cloud Engineer discussion

Report
Export

You have a Compute Engine instance hosting an application used between 9 AM and 6 PM on weekdays. You want to back up this instance daily for disaster recovery purposes. You want to keep the backups for 30 days. You want the Google-recommended solution with the least management overhead and the least number of services. What should you do?

A.
1. Update your instances' metadata to add the following value: snapshot--schedule: 0 1 * * * 2. Update your instances' metadata to add the following value: snapshot--retention: 30
Answers
A.
1. Update your instances' metadata to add the following value: snapshot--schedule: 0 1 * * * 2. Update your instances' metadata to add the following value: snapshot--retention: 30
B.
1. In the Cloud Console, go to the Compute Engine Disks page and select your instance's disk. 2. In the Snapshot Schedule section, select Create Schedule and configure the following parameters: -- Schedule frequency: Daily -- Start time: 1:00 AM -- 2:00 AM -- Autodelete snapshots after 30 days
Answers
B.
1. In the Cloud Console, go to the Compute Engine Disks page and select your instance's disk. 2. In the Snapshot Schedule section, select Create Schedule and configure the following parameters: -- Schedule frequency: Daily -- Start time: 1:00 AM -- 2:00 AM -- Autodelete snapshots after 30 days
C.
1. Create a Cloud Function that creates a snapshot of your instance's disk. 2. Create a Cloud Function that deletes snapshots that are older than 30 days. 3. Use Cloud Scheduler to trigger both Cloud Functions daily at 1:00 AM.
Answers
C.
1. Create a Cloud Function that creates a snapshot of your instance's disk. 2. Create a Cloud Function that deletes snapshots that are older than 30 days. 3. Use Cloud Scheduler to trigger both Cloud Functions daily at 1:00 AM.
D.
1. Create a bash script in the instance that copies the content of the disk to Cloud Storage. 2. Create a bash script in the instance that deletes data older than 30 days in the backup Cloud Storage bucket. 3. Configure the instance's crontab to execute these scripts daily at 1:00 AM.
Answers
D.
1. Create a bash script in the instance that copies the content of the disk to Cloud Storage. 2. Create a bash script in the instance that deletes data older than 30 days in the backup Cloud Storage bucket. 3. Configure the instance's crontab to execute these scripts daily at 1:00 AM.
Suggested answer: B

Explanation:

Creating scheduled snapshots for persistent disk This document describes how to create a snapshot schedule to regularly and automatically back up your zonal and regional persistent disks. Use snapshot schedules as a best practice to back up your Compute Engine workloads. After creating a snapshot schedule, you can apply it to one or more persistent disks. https://cloud.google.com/compute/docs/disks/scheduled-snapshots

asked 18/09/2024
Mustaqueahmed Ghanchibhai
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first