0
0
GCPcloud~20 mins

Backup and restore in GCP - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Backup and Restore Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
service_behavior
intermediate
1:30remaining
Understanding Cloud SQL Automated Backups

What happens when you enable automated backups on a Cloud SQL instance in Google Cloud?

ACloud SQL requires manual initiation of backups; automated backups are not supported.
BCloud SQL creates backups only when a user triggers a failover event.
CBackups are created only when the instance is stopped and restarted.
DCloud SQL creates daily backups and retains them for a user-defined retention period automatically.
Attempts:
2 left
💡 Hint

Think about how automated backups help with data protection without manual intervention.

Architecture
intermediate
1:30remaining
Designing Backup Strategy for Compute Engine VM

You want to back up a Compute Engine VM's disk regularly with minimal downtime. Which approach is best?

ACreate snapshots of the VM's persistent disk while the VM is running.
BCreate a new VM and copy the disk contents to it for backup.
CCopy all files manually from the VM to Cloud Storage using a cron job.
DStop the VM, create a disk image, then restart the VM.
Attempts:
2 left
💡 Hint

Consider how snapshots work with running disks and downtime.

security
advanced
2:00remaining
Securing Backup Data in Cloud Storage

You store backups in a Cloud Storage bucket. What is the best practice to ensure backup data is protected from unauthorized access?

AUse bucket-level IAM roles to restrict access and enable Object Versioning for recovery.
BMake the bucket public so backups can be accessed from anywhere if needed.
CDisable all encryption to improve backup speed and reduce costs.
DShare the bucket credentials with all team members for easy access.
Attempts:
2 left
💡 Hint

Think about controlling access and protecting data integrity.

Configuration
advanced
2:00remaining
Restoring a Cloud SQL Instance from Backup

You need to restore a Cloud SQL instance to a point in time 3 hours ago. Which method should you use?

ADelete the instance and create a new one with the same name.
BUse Point-in-Time Recovery (PITR) feature to restore the instance to 3 hours ago.
CManually download the backup and upload it to a new instance.
DRestore from the latest automated backup only; PITR is not supported.
Attempts:
2 left
💡 Hint

Consider features that allow restoring to a specific time.

Best Practice
expert
2:30remaining
Optimizing Backup Storage Costs for Large Datasets

Your backups are growing large and costly in Cloud Storage. Which strategy best reduces storage costs while keeping backups reliable?

ADelete all backups older than one day to save space.
BKeep all backups in Standard storage indefinitely for fastest access.
CUse lifecycle management to transition older backups to Coldline or Archive storage classes automatically.
DStore backups on local disks of Compute Engine instances instead of Cloud Storage.
Attempts:
2 left
💡 Hint

Think about balancing cost and data availability over time.