What Is Persistent Disk in Networking?
On This Page
Quick Definition
Persistent Disk is like a detachable external hard drive for your virtual machine in the cloud. It keeps your files safe even when you turn off the computer. You can attach it to different virtual machines as needed. It automatically handles backups and encryption to protect your data.
Commonly Confused With
Cloud Storage is an object storage service for unstructured data, accessed via HTTP APIs. Persistent Disk is block storage attached to a VM as a raw device, suitable for databases and filesystems. Both persist data, but their access patterns and interfaces are completely different.
Use Cloud Storage for images on a website. Use Persistent Disk for the database that powers the website's shopping cart.
Local SSDs are physically attached to the host machine that runs your VM, offering extremely high IOPS and low latency. However, data on Local SSDs is ephemeral: it is lost when the VM is stopped or deleted. Persistent Disks are network-attached, have lower peak IOPS, but data survives VM termination.
Use Local SSD for a temporary cache that can be rebuilt. Use Persistent Disk for a database that must retain data after the VM is shut down.
Filestore provides managed file storage (NFS) that can be mounted by multiple VMs simultaneously for both read and write. Persistent Disk supports only one writer at a time. Filestore is ideal for shared home directories or collaborative work, while Persistent Disk is better for single-server databases.
Use Filestore for a team's shared development files. Use Persistent Disk for a PostgreSQL database that does not need concurrent writers.
Ephemeral disks are temporary storage that comes with certain VM types, and their data is lost when the VM stops. They are often used for swap space or temporary processing. Persistent Disk is designed for permanent data that survives VM lifecycle events.
Use ephemeral disk for a batch processing job's scratch space. Use Persistent Disk for the job's input and output data.
Must Know for Exams
Persistent Disk is a core topic across Google Cloud certification exams, especially the Associate Cloud Engineer, Professional Cloud Architect, and Professional Data Engineer. In the Associate Cloud Engineer exam, you might be asked to create, attach, resize, and delete Persistent Disks using the console, gcloud commands, or REST API. You must know the difference between zonal and regional disks, as well as when to use pd-standard vs. pd-ssd.
For the Professional Cloud Architect exam, Persistent Disk appears in scenario-based questions about high availability, disaster recovery, and performance optimization. You may need to recommend a storage configuration for a database that requires 50,000 IOPS. The right answer might involve a larger SSD Persistent Disk or an Extreme disk with configured IOPS. You also need to understand snapshot schedules and how to use them to achieve recovery point objectives (RPOs) of 1 hour or less.
In the Professional Data Engineer exam, Persistent Disk often comes up in the context of data pipelines. Questions may ask how to share a large dataset across multiple compute instances for processing. The solution may involve attaching a Persistent Disk in read-only mode to multiple workers. You also need to know about disk quotas, limits, and how to troubleshoot disk full errors.
Common question types include: comparing Persistent Disk to other storage options like Cloud Storage or Filestore; selecting the correct disk type for a given workload; understanding the impact of disk size on IOPS; and knowing the steps to migrate a disk from one zone to another using snapshots. You may also see troubleshooting questions about what happens when a disk runs out of space or when a VM cannot mount a disk.
Another exam pattern involves encryption. You might be asked to implement Customer-Supplied Encryption Keys (CSEK) for an application that requires strict key management. You must know the difference between Google-managed, CSEK, and CMEK (Cloud KMS). You may need to know that persistent disks are encrypted at rest by default but snapshots are not necessarily encrypted unless you select the option.
Performance calculation questions test your ability to compute maximum IOPS or throughput based on disk size and type. For example, a 20 GB pd-ssd provides 6,000 read IOPS and 3,000 write IOPS. If the application needs 5,000 read IOPS, the disk size must be at least 17 GB. Such calculations are common in the Professional Cloud Architect exam.
Finally, exam questions often test your knowledge of disk resizing. You may be asked whether you can shrink a disk (no) and whether you can resize while the VM is running (yes for certain VM generations). Understanding the need to extend the filesystem after resizing is crucial. You may also be asked about the maximum disk size (257 TB for pd-standard, 64 TB for pd-ssd). These numbers are sometimes directly tested.
For general IT certifications like CompTIA Cloud+, Persistent Disk is compared to other cloud storage models. Questions may focus on the concept of persistent vs. ephemeral storage, and the use cases for block storage vs. object storage. Knowing that Persistent Disk is block storage, while Cloud Storage is object storage, helps differentiate answers.
Simple Meaning
Think of Persistent Disk as a magical locker that you can attach to any computer in a shared office. When you insert your locker key into a computer, that computer can read and write files inside the locker. If you turn off the computer, the locker stays exactly as it was, with all your files still inside. Later, you can take the locker key and use it on a different computer, and all your files will be there again.
In Google Cloud, computers are called virtual machines, and the locker is called a Persistent Disk. This disk is not tied to any single virtual machine. You can create a disk and attach it to one VM, then detach it and attach it to another VM without losing any data. This is very useful for moving data between systems or upgrading hardware without copying anything.
Persistent Disks are also very safe. Google automatically stores multiple copies of your data in different physical locations inside the same data center. If one copy gets damaged, another copy is used instantly. You can also take snapshots of the disk at any moment. Those snapshots are like photographs of the locker's contents at a specific time. They can be used to restore files later or create new disks.
Another great thing is that you do not have to worry about running out of space immediately. You start with a certain size, and you can increase the size later as your data grows. However, you cannot shrink a Persistent Disk after you make it bigger. This is similar to having a suitcase that can be upgraded to a larger model, but once upgraded, you cannot go back to the smaller size.
Persistent Disks also come with built-in encryption. Before any data is written to the disk, it is automatically scrambled using encryption keys. When you read the data, it is unscrambled so the virtual machine sees the original files. This happens in the background without any extra work from you. It helps keep your information private and secure.
Full Technical Definition
Persistent Disk is a network block storage service provided by Google Cloud Platform (GCP) that offers durable, high-performance storage for Compute Engine virtual machine instances. Unlike local ephemeral storage, Persistent Disks exist independently of the VM lifecycle. They are attached to VMs over the Google Cloud network, using the NVMe or SCSI block protocol depending on the VM machine type and disk type. The data is stored redundantly across multiple physical disks within the same zone to ensure durability and availability, typically achieving 99.999% durability for standard disks.
There are several types of Persistent Disks: Standard (pd-standard) uses magnetic HDD backing for sequential, throughput-oriented workloads at lower cost. Balanced (pd-balanced) uses a mix of HDD and SSD to offer a middle ground between performance and cost. SSD (pd-ssd) is backed by solid-state drives for high random IOPS, suitable for databases and latency-sensitive applications. Extreme (pd-extreme) is also SSD-based but offers configurable IOPS and throughput for the most demanding workloads. Each type has defined performance limits per disk size and per VM, which are crucial for exam questions about workload sizing.
Persistent Disks support several important features. Snapshots provide incremental, point-in-time backups that can be used to create new disks or restore existing ones. Snapshots are global and can be used to move data between zones or regions. Images are another form of disk creation, typically from a boot disk, which can be used to create multiple identical VMs. Disks can be resized dynamically without detaching from the VM, but only in the direction of increasing capacity. This is a common exam point: you can grow a disk, but you cannot shrink it without creating a new smaller disk and copying data.
Performance is controlled by a combination of disk size and disk type. For example, a 10 GB SSD Persistent Disk provides 3000 read IOPS and 1500 write IOPS, while a 10 TB disk provides 100,000 read IOPS and 50,000 write IOPS. IOPS scale linearly with disk size up to a max per VM. Throughput also scales with size. These performance limits are distinct from the VM's own network bandwidth limits. In exams, you often need to calculate the required disk size to achieve the IOPS or throughput your application needs.
Encryption is built-in by default using Google-managed keys, but you can also provide your own Customer-Supplied Encryption Keys (CSEK) or use Cloud Key Management Service (KMS) to manage encryption keys. Persistent Disks are zonal resources, meaning they exist in a specific zone within a region. Regional Persistent Disks replicate data between two zones in the same region for higher availability, but they also cost more. This is relevant for disaster recovery and high availability architectures in exam scenarios.
Another technical detail is that Persistent Disks support a maximum size of 257 TB for standard disks and 64 TB for SSD and balanced disks, with an individual snapshot limitation of 10 TB. These limits matter when designing storage solutions for large datasets. Also, multiple VMs can attach the same disk in read-only mode, which is useful for serving static content or sharing data across a cluster without data copies.
From an implementation perspective, when you create a Persistent Disk, it is formatted with a filesystem by the VM's operating system (e.g., ext4 on Linux, NTFS on Windows). The disk appears as a block device like /dev/sdb or /dev/nvme0n1. You must partition and mount it before use. If you attach the same disk to a different VM, it must be unmounted first. Detaching a disk does not lose data, but the VM must not be actively writing to it when you detach.
For backup and disaster recovery, snapshot policies can automate periodic snapshots. Snapshots are incremental, so after the first full snapshot, subsequent ones only store changed blocks. This saves storage space and cost. You can restore a snapshot to a new disk in any zone, which is useful for migrating workloads. Understanding snapshot behavior, incremental vs. full, and the difference between snapshots and images is a common exam distinction.
Persistent Disks also support the concept of "disk resizing without reboot" on certain VM generations, allowing real-time capacity increases. However, the VM's operating system must support online resizing of the filesystem. This is a practical point for sysadmins managing growing storage needs without downtime.
Real-Life Example
Imagine you have a portable external hard drive that you take to a library. At the library, there are many computers you can borrow. You plug your hard drive into one computer, write a report, save it to the hard drive, and then turn off the computer. The computer forgets everything, but your hard drive still has the report. Later, you go to a different computer in the library, plug in the same hard drive, and open the report. It works perfectly. That is exactly how Persistent Disk works in Google Cloud.
Now suppose you want to share that hard drive with a friend at the same time. If you both plug it in at the same time and both write data, the files could get mixed up and corrupted. So, only one person can write to the hard drive at a time. However, if you only want to read files, like looking at photos, you can let many people plug in the same hard drive and all read the data without problems. Persistent Disk supports this feature: you can attach it to multiple virtual machines, but only one can write at a time, while many can read simultaneously.
What if the library has a fire? The library would lose its computers, but your hard drive is safe because you take it with you. In Google Cloud, Persistent Disks survive even if the virtual machine is deleted. The disk remains until you specifically delete it. This is different from a computer's internal hard drive, which disappears when the computer is destroyed. Persistent Disks are independent objects that live on their own.
Think about updates. You start with a small 500 GB hard drive. Over time, you have more files and need 1 TB. You can buy a bigger hard drive and copy everything over. But with Persistent Disk, you can just expand the size without buying a new one. You tell Google, "Make my disk bigger," and it grows while you continue using it. You cannot shrink it, though, just like you cannot make a big hard drive smaller without reformatting.
Finally, consider safety. Your hard drive has a lock. If you lose the key, nobody can read the data. Persistent Disk encrypts data by default. Even if someone steals the physical drives in the data center, they cannot read the files without the encryption key. Google manages the key for you, but you can also bring your own key if you want extra control.
Why This Term Matters
Persistent Disk is a foundational service in Google Cloud because it separates storage from compute. This separation is essential for modern cloud architectures where virtual machines are often treated as disposable. When a VM fails or needs an upgrade, you can simply detach its Persistent Disk and attach it to a new VM without data loss. This dramatically reduces downtime and simplifies disaster recovery.
For IT professionals, understanding Persistent Disk is critical for designing cost-effective and high-performance storage solutions. Different disk types and sizes directly affect IOPS and throughput, which in turn affect application performance. Choosing the wrong disk type can lead to slow databases or unnecessarily high costs. For example, using SSD for archival data that is rarely accessed wastes money, while using Standard disk for a high-traffic database will cause performance bottlenecks.
Persistent Disk also is key to data lifecycle management. Snapshots are used for backup, cloning environments, and migrating data between zones or regions. Knowing how to automate snapshot policies and manage incremental backup storage costs is a practical skill for cloud administrators. Regional Persistent Disks enable high-availability architectures by replicating data across zones, protecting against zone failures.
Compliance is another area where Persistent Disk matters. Many regulations require data encryption at rest. Persistent Disk offers default encryption, customer-managed keys, and customer-supplied keys, giving organizations flexibility to meet compliance requirements. IT teams must understand how to configure encryption keys and when to use each option.
Finally, Persistent Disk is integral to hybrid cloud scenarios. You can import data from on-premises via snapshots or images, and export data back. This makes Persistent Disk a bridge between local infrastructure and Google Cloud, supporting migration and bursting workloads. Without a solid grasp of Persistent Disk limits and features, cloud architects risk designing solutions that are either too expensive, underperforming, or incapable of meeting recovery point objectives.
How It Appears in Exam Questions
Scenario-based questions often present a business requirement and ask you to choose the appropriate storage configuration. For example: A company runs a high-transaction database that requires 30,000 random read IOPS and low latency. Which Persistent Disk type and size should you recommend? The correct answer would specify pd-ssd with at least 100 GB (since pd-ssd gives 300 IOPS per GB for reads). Distractors might suggest pd-standard (too slow) or a small pd-ssd (insufficient IOPS).
Configuration questions might ask: A user wants to attach a Persistent Disk to a VM in read-only mode to allow multiple VMs to access the same dataset. Which step is necessary? The answer is to attach the disk with the read-only flag enabled. A common distractor is that you must snapshot the disk first, which is unnecessary. Another configuration question could ask: You need to increase the size of a Persistent Disk currently attached to a running VM. What command or procedure should you use? The solution is to use gcloud compute disks resize, then extend the filesystem inside the VM.
Troubleshooting questions are also frequent. For instance: A user reports that an application cannot write to a Persistent Disk, but can read from it successfully. What is the most likely cause? The disk is attached in read-only mode, or the filesystem is mounted read-only. Another troubleshooting scenario: After resizing a Persistent Disk, the VM does not see the extra space. The issue is that the filesystem has not been extended to use the new space. The fix is to run resize2fs or a similar command.
Another pattern involves backup and recovery. You may be asked: An administrator needs to restore a Persistent Disk to a state from two hours ago. The disk has scheduled snapshots every hour. What should the administrator do? Create a new disk from the most recent snapshot that is older than two hours, then attach it to the VM. Distractors might involve creating a disk from the latest snapshot (which is too recent) or using an image (which is for boot disks).
You might also see questions about regional Persistent Disks. For example: A company wants to protect against zone failure while keeping block storage performance. Which storage solution should they use? Regional Persistent Disk, because it replicates data synchronously across two zones. Distractors might suggest snapshots to another region (slower) or a zonal disk (not zone-redundant).
Finally, cost optimization questions appear: A user stores 5 TB of log files that are rarely accessed but must be retained for three years. Which Persistent Disk type is most cost-effective? pd-standard, because it uses HDD and costs less per GB than SSD. Distractors include pd-ssd (more expensive) and Cloud Storage (not block storage, but may still be a valid alternative depending on access patterns).
Practise Persistent Disk Questions
Test your understanding with exam-style practice questions.
Example Scenario
The following scenario is designed to test your understanding of Persistent Disk concepts. You are the cloud administrator for a medium-sized e-commerce company migrating its inventory database to Google Cloud. The database is currently running on a physical server with 2 TB of local storage, and it requires consistent read performance of around 8,000 random IOPS. The team wants to ensure that the database can be moved quickly to a new virtual machine if the current one fails, without any data loss.
You decide to use Persistent Disk for the database storage. First, you create a zonal Persistent Disk of 30 GB using pd-ssd, because 8,000 read IOPS requires at least 27 GB (8,000 / 300 IOPS per GB). You attach this disk to a new Compute Engine VM running Linux. After connecting via SSH, you partition the disk (e.g., /dev/sdb), format it with ext4, and mount it to a directory like /mnt/db. You then copy the database files from the old server to this mounted disk.
Once the data is copied, you take an initial snapshot of the disk for backup. You also set up a snapshot schedule to take a snapshot every 4 hours. The database is now live on Google Cloud. A few months later, the VM experiences a hardware failure (simulated in the cloud by a host maintenance event). You need to attach the database disk to a new VM. You detach the disk from the failed VM, create a new VM in the same zone, and attach the same Persistent Disk. Then you mount the disk to the same mount point. The database starts up with all data intact. No data was lost because Persistent Disk survives VM termination.
Later, the business grows and the database needs 15,000 read IOPS. You resize the disk from 30 GB to 60 GB, giving it 18,000 maximum read IOPS (60 * 300). You then extend the filesystem inside the VM to use the new space. The database continues running during this process with minimal downtime. Finally, to enable higher availability, you decide to migrate the disk to a regional disk. You create a snapshot, then create a new regional Persistent Disk from that snapshot in the same region spanning two zones. You attach this regional disk to a VM in one zone. If that zone fails, the disk is still available in the other zone, and you can attach it to a VM there.
This scenario covers creating, attaching, snapshotting, resizing, and migrating Persistent Disks, which are the core skills tested in exams.
Common Mistakes
Believing that deleting a virtual machine automatically deletes all attached Persistent Disks.
Google Cloud Persistent Disks are independent resources. By default, when you delete a VM, the boot disk is also deleted, but additional data disks are not deleted unless you explicitly select the option to delete them with the VM. Many learners miss this distinction and think all disks are deleted automatically.
Always check the 'Delete boot disk' checkbox during VM creation or deletion. For data disks, make sure to detach them first or choose to keep them. In exams, remember that only the boot disk has a default deletion rule tied to the VM lifecycle.
Thinking you can shrink a Persistent Disk to reduce its size after resizing it larger.
Persistent Disks can only be increased in size, never decreased. Once you resize a disk from 100 GB to 200 GB, you cannot go back to 100 GB without creating a new smaller disk and copying data. This is a hard limitation enforced by the block storage architecture.
Plan your disk sizes carefully. If you need to reduce storage, create a new smaller disk, copy the data, and delete the old one. Alternatively, use snapshots to create a new disk with the desired size.
Assuming that all Persistent Disks can be attached to multiple virtual machines with write access simultaneously.
Only read-only mode allows multiple VMs to be attached simultaneously to the same disk. For write access, only one VM can be attached at a time. Shared block storage is not supported by Persistent Disk; for multi-writer scenarios, you need Cloud Filestore or a clustered filesystem.
When you need to share data across many VMs, either attach it as read-only or use a network file system. If multiple VMs need to write, consider other Google Cloud storage services like Cloud Storage or Filestore.
Ignoring the need to extend the filesystem after resizing a Persistent Disk.
Resizing a disk in Google Cloud only changes the block device size. The VM's operating system still sees the original partition and filesystem size. Without extending the filesystem, the extra space remains unusable. Learners often expect the space to be automatically available.
After resizing the disk, inside the VM, run a command like 'resize2fs /dev/sdb' (for ext4) or 'growpart' to extend the partition. On Windows, use Disk Management or Extend Volume. This is a common step in lab exams.
Confusing snapshots with images and using them interchangeably for boot disks.
A snapshot captures the data of a disk at a point in time and can be used to create another Persistent Disk. An image is specifically for creating boot disks that include an operating system. Using a snapshot to create a boot disk is possible but less efficient because the snapshot does not contain the OS boot configuration metadata that an image has.
Use snapshots for data backup and recovery. Use images when you need to create new boot disks with a preconfigured OS. In exams, if you need to launch a VM with custom software pre-installed, create an image from the boot disk, not a snapshot.
Exam Trap — Don't Get Fooled
{"trap":"An exam scenario describes a situation where a VM loses its Persistent Disk attachment due to a zone failure. The learner assumes that data is lost permanently because 'the zone failed.'","why_learners_choose_it":"Learners may think that if a zone fails, all resources in that zone are destroyed, including disks.
This assumption comes from on-premises thinking where hardware failure equals data loss. They also may not be aware of the difference between zonal and regional disks.","how_to_avoid_it":"Understand that zonal Persistent Disks are stored redundantly within the same zone, so they survive single physical disk failures, but not a full zone outage.
If a zone fails, a zonal disk is inaccessible until the zone recovers. However, snapshots are regional and can be used to recreate the disk in another zone. Regional Persistent Disks replicate across zones, so they survive a zone failure.
The correct answer depends on whether the disk is zonal or regional. Always read the question carefully to see if snapshots or regional disks are mentioned."
Step-by-Step Breakdown
Creating a Persistent Disk
In the Google Cloud Console, navigate to Compute Engine > Disks. Click 'Create Disk'. Choose a name, region, and zone. Select the disk type (pd-standard, pd-balanced, pd-ssd, pd-extreme) and size (from 10 GB up to 257 TB for standard). Optionally enable encryption with customer-managed keys. The disk is created as an independent resource.
Attaching the Disk to a Virtual Machine
Go to Compute Engine > VM Instances. Select your VM and click 'Edit'. Under 'Additional disks', click 'Add item'. Choose 'Existing disk' and select the disk you created. You can choose attachment type (read/write or read-only). Click 'Save'. The disk is now attached to the VM and appears as a block device.
Formatting and Mounting the Disk on Linux
SSH into the VM. Use 'lsblk' to find the new disk (e.g., /dev/sdb). If it's a new disk, partition it with 'fdisk' or 'parted'. Format it with 'mkfs.ext4 /dev/sdb1'. Create a mount point (e.g., sudo mkdir /mnt/data). Mount it with 'sudo mount /dev/sdb1 /mnt/data'. Add an entry to /etc/fstab to auto-mount on reboot.
Resizing the Disk
When you need more space, use the gcloud command: 'gcloud compute disks resize DISK_NAME --size NEW_SIZE --zone ZONE'. This only resizes the block device. Inside the VM, you must extend the partition and filesystem. For ext4 on a single partition, use 'sudo resize2fs /dev/sdb1'. For a disk without a partition, use 'sudo resize2fs /dev/sdb'.
Taking and Using Snapshots
To back up a disk, go to Compute Engine > Snapshots > 'Create Snapshot'. Name it, select the source disk, and set snapshot location. For automation, use snapshot schedules. To restore, create a new disk from the snapshot by choosing 'Source type: Snapshot'. Then attach the new disk to a VM. Snapshots are incremental and cost-effective.
Detaching and Deleting a Disk
Before detaching, unmount the filesystem inside the VM with 'sudo umount /mnt/data'. In the Console, go to VM Instances, edit the VM, and remove the disk from 'Additional disks'. The disk remains in your project. To delete it permanently, go to Disks, select the disk, and click 'Delete'. Data cannot be recovered after deletion.
Practical Mini-Lesson
When working with Persistent Disk in real-world cloud environments, you need to plan storage carefully. Start by understanding your workload's IOPS and throughput requirements. For example, a production MySQL database typically needs at least 10,000 read IOPS and low latency. You would choose pd-ssd or pd-extreme. A file server hosting large sequential reads might use pd-standard to save cost. Performance scales with disk size, so a small disk may not reach the required IOPS even with the right type.
A common practical task is setting up a boot disk from an image. When you create a new VM, you can start from a custom image. Images can be created from existing boot disks after you have installed software and configured settings. This is crucial for rolling out consistent environments across multiple VMs. Snapshots, on the other hand, are for data disks and incremental backups. Know the difference: images are for OS and boot, snapshots are for data and recovery.
Another practical consideration is cost management. Persistent Disks are billed per GB per month, plus snapshot storage costs. You can reduce costs by using pd-standard for cold data and pd-ssd only for hot data. Also, consider using regional disks only when your application needs zone-failover without replication delay. For many use cases, a zonal disk with frequent snapshots is cheaper and sufficient.
What can go wrong? The most common issues include: forgetting to extend the filesystem after resizing, attaching a disk without unmounting it from the previous VM (causing data corruption), and running out of disk space because you did not monitor usage. You should set up disk usage alerts in Cloud Monitoring. Also, be aware that detaching a disk that is in use can cause application crashes. Always gracefully unmount before detaching.
Another professional tip: when using multiple disks on one VM, use consistent device naming or disk labels to avoid confusion. The Linux kernel may assign device names (/dev/sdb, /dev/sdc) in a different order after a reboot. Using UUIDs or labels in /etc/fstab ensures correct mounting. On Windows, assign drive letters manually so they do not change.
Finally, understand disk quotas and limits. Your project has a default maximum number of Persistent Disks and total snapshot storage. If you exceed these, disk creation fails. You can request quota increases from the Quotas page. Also, there are per-VM limits on the number of disks you can attach (usually 127 for most machine types). For very large datasets, you may need to stripe data across multiple disks using LVM or RAID, which adds complexity.
practical Persistent Disk management involves choosing the right type and size, monitoring performance, managing snapshots, and knowing the operational steps for resizing and recovery. These skills directly translate to exam success and real-world cloud administration.
Memory Tip
Remember 'PERSIST' : Persistent, Ephemeral (opposite), Regional (vs Zonal), Snapshots (backup), Images (boot), Size (can only increase), Throughput/IOPS (scales with size).
Covered in These Exams
Current Exam Context
Current exam versions that test this topic — use these objectives when studying.
ACEGoogle ACE →CDLGoogle CDL →200-301Cisco CCNA →N10-009CompTIA Network+ →220-1101CompTIA A+ Core 1 →220-1102CompTIA A+ Core 2 →XK0-006CompTIA Linux+ →DP-900DP-900 →MS-900MS-900 →PCAGoogle PCA →Related Glossary Terms
A 2-in-1 laptop is a portable computer that can switch between a traditional laptop form and a tablet form, usually by detaching or rotating the keyboard.
The 24-pin motherboard connector is the main power cable that connects the computer's power supply unit (PSU) to the motherboard, supplying electricity to the motherboard and its components.
Two-factor authentication (2FA) is a security method that requires two different types of proof before granting access to an account or system.
A 3D printer is a device that creates physical objects by depositing layers of material based on a digital model.
5G is the fifth generation of cellular network technology, designed to deliver faster speeds, lower latency, and support for many more connected devices than previous generations.
The 8-pin CPU connector is a power cable from the power supply that delivers dedicated electricity to the processor on a computer's motherboard.
802.1Q is the networking standard that allows multiple virtual LANs (VLANs) to share a single physical network link by tagging Ethernet frames with VLAN identification information.
802.1X is a network access control standard that authenticates devices before they are allowed to connect to a wired or wireless network.
Frequently Asked Questions
Can I shrink a Persistent Disk after I have increased its size?
No, you cannot shrink a Persistent Disk. The only way to reduce storage is to create a new smaller disk, copy the data, and delete the original disk.
What happens to my data if I delete the virtual machine?
By default, the boot disk is deleted, but additional data disks are not. You can change the deletion rule during VM creation. Always verify the 'Delete boot disk' checkbox setting.
Can I attach one Persistent Disk to multiple virtual machines at the same time?
Yes, but only in read-only mode. Only one VM can have write access at a time. For concurrent write access, consider Cloud Filestore or a distributed filesystem.
How do I increase the size of a Persistent Disk without downtime?
You can resize the disk using the gcloud command or console while the VM is running. However, you must extend the filesystem inside the VM afterward for the OS to see the new space.
What is the difference between a snapshot and an image?
A snapshot is a point-in-time backup of a disk's data, used for data recovery. An image is a bootable copy of a disk that includes an operating system, used to create new VMs.
Are Persistent Disks encrypted by default?
Yes, all Persistent Disks are encrypted at rest using Google-managed keys by default. You can optionally use Customer-Supplied Encryption Keys or Cloud KMS for additional control.
What is the maximum size of a Persistent Disk?
For pd-standard, the maximum size is 257 TB. For pd-ssd and pd-balanced, it is 64 TB. For pd-extreme, it is 64 TB as well.