D3: Backup & Restore of Databases
Google Cloud Associate Cloud Engineer exam practice questions · 11 flashcards
Question
Cloud SQL backup types?
1 / 11
Tip: Space flips the card, ← / → navigate.
Show all 11 Backup & Restore of Databases practice questions and answers
- Cloud SQL backup types?Automated daily backups and on-demand backups.
- What enables Cloud SQL point-in-time recovery?Binary logging (MySQL) / write-ahead log archiving (PostgreSQL).
- How do you create a Cloud SQL on-demand backup?gcloud sql backups create --instance=INSTANCE.
- How do you restore Cloud SQL?gcloud sql backups restore BACKUP_ID --restore-instance=TARGET (overwrites target), or PITR clone to a new instance.
- How do you export Cloud SQL data?gcloud sql export sql INSTANCE gs://BUCKET/file.sql --database=DB.
- Firestore backup options?Scheduled backups (daily/weekly), point-in-time recovery (7 days) and managed export to Cloud Storage.
- Spanner backup options?Backups (retained up to 1 year), PITR via version retention (up to 7 days) and exports.
- AlloyDB backup options?Automated and on-demand backups, plus continuous backup for PITR.
- Bigtable backup options?Table backups restored into a new table.
- Do backups protect against accidental deletion that replication copies?Yes, unlike replicas.
- Where are restores typically created?A new instance/table, avoiding overwriting production.