Original study notes for cloud certification exams — Google Cloud first, more clouds in build.

Persistent Disk Study Notes

Persistent Disk is Google Cloud's durable block storage service for Compute Engine virtual machines, providing boot and data disks that persist independently of the VM lifecycle. Disks can be zonal or regional, use different performance media, and be snapshotted for backup and cloning. Understanding disk types and attachment rules is essential for designing resilient VM deployments.

Exam tip: If a question says data must persist after VM deletion or needs a snapshot backup, eliminate Local SSD immediately and choose Persistent Disk.

Key facts

What the exam expects you to know

Persistent Disk vs Local SSD: when to use which

Use Persistent Disk when data must be durable, independently managed, snapshotted, and survive VM deletion or zone maintenance, such as boot disks and database data files. Use Local SSD when you need extremely low latency and very high IOPS for temporary data like caches, scratch space, or replicated workloads where the application itself handles redundancy. The key exam criterion is persistence: if the scenario says data cannot be lost when the instance stops, Local SSD is wrong. If it emphasizes raw local performance and data can be rebuilt, Local SSD becomes the intended answer. See also the Local SSD notes.

Useful gcloud commands

gcloud compute disks create my-disk --size=100GB --zone=us-central1-a --type=pd-balanced
gcloud compute instances attach-disk my-vm --disk=my-disk --zone=us-central1-a
gcloud compute disks snapshot my-disk --snapshot-names=my-snapshot --zone=us-central1-a
gcloud compute disks resize my-disk --size=200GB --zone=us-central1-a

Common exam traps

Frequently asked questions

What is the difference between a snapshot and an image?

A snapshot is an incremental, point-in-time backup of a specific persistent disk used for recovery or cloning that disk. An image is a bootable template containing an operating system and configuration used to create new VM boot disks repeatedly. Exams test this distinction when scenarios involve disaster recovery versus standardized provisioning at scale.

When should I use a regional persistent disk?

Use a regional persistent disk when a workload needs protection against a single zone failure and you have a standby VM in another zone in the same region. Data is replicated synchronously between zones, so the standby can force-attach the disk if the primary zone fails. It costs more than a zonal disk but avoids data loss in that scenario.

Can I attach one persistent disk to multiple VMs?

By default a persistent disk in read-write mode attaches to only one VM at a time. You can attach a disk read-only to multiple VMs for shared reference data, and multi-writer mode exists for specialized clustered cases with supported file systems. For general shared file access, the exam usually expects Filestore instead of shared block disks.

Study aid disclaimer: Cloud Cert Notes is an independent educational study aid. It is not affiliated with, endorsed by, or sponsored by Google, Microsoft, Amazon, Oracle, or Alibaba. Google Cloud, Associate Cloud Engineer, and Cloud Digital Leader are trademarks of Google LLC; all other certification names and product names are trademarks of their respective owners. Always confirm service details against the official provider documentation before sitting an exam.