D3: Snapshots & Images
Google Cloud Associate Cloud Engineer exam practice questions · 13 flashcards
Question
What is a snapshot?
1 / 13
Tip: Space flips the card, ← / → navigate.
Show all 13 Snapshots & Images practice questions and answers
- What is a snapshot?A point-in-time backup of a persistent disk.
- Are snapshots incremental?Yes; after the first, only changed blocks are stored.
- How do you create a snapshot?gcloud compute snapshots create NAME --source-disk=DISK --source-disk-zone=ZONE.
- What is a snapshot schedule?A resource policy that creates snapshots automatically with a retention period.
- How do you schedule snapshots?Create a resource policy (gcloud compute resource-policies create snapshot-schedule) and attach it to the disk.
- How do you restore from a snapshot?Create a new disk from the snapshot and attach it.
- What is a custom image?A boot disk template created from a disk, snapshot or other image.
- What is an image family?A group of images where the family name points to the latest non-deprecated image.
- How do you deprecate an image?gcloud compute images deprecate IMAGE --state=DEPRECATED.
- Snapshot vs image?Snapshot: disk backup. Image: reusable boot template to create many VMs.
- What is a machine image?Captures a VM's configuration, metadata and all its disks.
- How do you list and delete snapshots?gcloud compute snapshots list / delete NAME.
- Do snapshots exist outside a zone?Yes; they're stored regionally or multi-regionally and can create disks in other zones.