Last updated on March 6, 2026
Google Cloud Storage Cheat Sheet
- An object storage service that stores data within buckets.
- Below is a sample Cloud Storage integration:
Features
- Storage Intelligence: Analyze object and bucket metadata for cost and security insights. Use Gemini Cloud Assist for natural language insights. Perform batch operations on millions of objects with zero code.
- Anywhere Cache: Fully managed SSD-backed read cache for buckets. Provides low latency and up to 20 Tbps throughput for AI/ML workloads. Minimizes network egress costs.
- Autoclass: Automatically move objects to colder storage classes based on last access time. No early deletion or retrieval fees.
- Dual-region and turbo replication: Continental-scale buckets with zero RTO. Turbo replication offers 15-minute RPO SLA.
- Cloud Storage FUSE: Mount buckets as local file system. Caching provides up to 2.2x faster training and 2.9x higher throughput.
- Soft delete: Retain and restore recently deleted data (7-day default retention).
- Bucket Lock: Configure data retention policies that govern how long objects must be retained.
- Pub/Sub notifications: Send notifications when objects are created, updated, or deleted.
- Cloud Audit Logs: Maintain admin activity and access logs.
Buckets
- The data you upload on Cloud Storage are called objects.
- An object is an immutable piece of data consisting of a file in any format.
- You store objects inside containers called buckets.
- All buckets belong to a project.
- Each project can have multiple buckets.
- You can also configure a Cloud Storage bucket to host a static website for a domain you own.
Bucket Configurations
- Life Cycle Management
- You can define conditions that trigger data deletion, or transition to a cheaper storage class with object life cycle management.
- Versioning
- Continue to store old copies of objects you store when they are deleted or overwritten.
- Retention Policies
- Define minimum retention periods that objects must be stored.
- Object holds
- Place a hold on an object to prevent deletion.
- Encryption keys
- Customer-managed
- Customer-supplied
- Access Permissions
- Access Control List
- Uniform bucket level access
- Object and Bucket Level Permissions
- Soft delete
- Retain and restore recently deleted data (7-day default retention).
- Bucket Lock
- Configure data retention policies that govern how long objects must be retained.
- Pub/Sub notifications
- Send notifications when objects are created, updated, or deleted.
- Cloud Audit Logs
- Maintain admin activity and data access logs.
Storage Classes
- Standard Storage: $0.02 per GiB/month – hot data, websites, streaming, mobile apps
- Nearline Storage: $0.01 per GiB/month – data accessed less than once per month (30-day minimum)
- Coldline Storage: $0.004 per GiB/month – data accessed less than once per quarter (90-day minimum)
- Archive Storage: $0.0012 per GiB/month – data accessed less than once per year (365-day minimum)
- Free tier (monthly):
- 5 GiB of standard storage
- 5,000 Class A operations, 50,000 Class B operations
- 100 GiB outbound data transfer (North America destinations, excludes Australia/China)
- Unlimited inbound transfer and same-location transfer
gsutil tool
- A Python application that enables you to manage your Cloud Storage from the command line.
- You can use gsutil to perform bucket and object management tasks like:
- creating and deleting buckets
- uploading, downloading, and deleting objects
- listing buckets and objects
- moving, copying, and renaming objects
- editing object and bucket ACL
- gsutil performs all operations using HTTPS and TLS
Uploading objects to GCS
You can send upload requests to Google Cloud Storage via the following methods:
- Simple Upload – utilize this if the file is small enough to upload again if the connection fails, and if there is no object metadata to send as part of the upload request.
- Multipart Upload – utilize this if the file is small enough to upload again if the connection fails, and you need to include object metadata as part of the upload request.
- Resumable Upload – utilize this for a more reliable transfer, which is especially important with large files.
- Parallel composite uploads – utilize if network and disk speed are not limiting factors. When doing parallel composite upload, a file is divided into up to 32 chunks and uploaded in parallel to temporary objects. The final object is recreated using the temporary objects, and the temporary objects are deleted.
- Alternatively, for uploading large volumes of data (hundreds of TB to 1 PB+), you can use Transfer Appliance:
- Capacities: TA40 (40TB), TA300 (300TB) – rackable or freestanding options
- Connectivity: 10Gbps RJ45 or 40Gbps QSFP+
- Security: AES-256 encryption, TPM chip, hardware attestation, tamper-evident tags
- Online mode: Stream data directly to Cloud Storage after copying to appliance
- NIST 800-88 compliant data erasure with wipe certificate available
Pricing
- Pricing for Cloud Storage services is based on what you use, including:
- the amount of data you store,
- the duration for which you store it,
- the number of operations you perform on your data,
- the network resources used when moving or accessing your data.
- For “cold” storage classes meant to store long-term, infrequently accessed data, there are also charges for retrieving data and early deletion of data.
- You can require accessors of your data to include a project ID to bill for network charges, operation charges, and retrieval fees.
Additional pricing components:
- Operation charges: $0.0004 per 1,000 operations
- Retrieval fees (Nearline, Coldline, Archive): $0.01 per GiB
- Inter-region replication: $0.02 per GiB
- Autoclass management: $0.0025 per 1,000 objects per 30 days
- Data transfer within Google Cloud: $0.02 per GiB
- General data transfer out: $0.08 per GiB
- Anywhere Cache:
- Cache storage: $0.0003 per GiB/hour
- Cache ingest: $0.01 per GiB
- Cache data transfer out: $0.0008 per GiB
- Cache operations: $0.0002 per 1,000 operations
Validate Your Knowledge
Question 1
Your company uses Cloud Storage to store all of its application files where objects are written once and are stored for processing. The objects are frequently accessed for a month (30 days) and are rarely accessed for the entire year. These objects must be archived for three years. The Object Lifecycle Management on the Cloud Storage bucket must be configured to minimize the storage costs.
What should you do?
- Create a policy that uses Nearline Storage for 30 days. Move the objects to Archive storage for three years.
- Create a policy that uses Standard storage for 30 days. Move the objects to Archive storage for three years.
- Create a policy that uses Nearline storage for 30 days. Move the objects to Coldline for one year, and then transition to Archive storage for two years.
- Create a policy that uses Standard storage for 30 days. Move the objects to Coldline for one year and afterward, transition the objects to Archive storage for two years.
Question 2
Your team is building an application hosted on a VM instance in Compute Engine. The application is designed to enhance and resize images. You want your application to be able to upload images on a Cloud Storage bucket. You want to do this with the least number of steps possible without compromising security.
What should you do?
- Create a Service Account with
roles/storage.objectCreator(Storage Object Creator) role. Configure the VM instance to use the Service Account. - Create a Service Account with
roles/storage.objectAdmin(Storage Object Admin) role. Configure the VM instance to use the Service Account. - Verify if the VM instance and the bucket have the same region.
- Set the Cloud Storage bucket to public and configure the objects to have a randomized suffix in its object name.
For more Google Cloud practice exam questions with detailed explanations, check out the Tutorials Dojo Portal:
Google Cloud Storage Cheat Sheet References:
https://cloud.google.com/storage/
https://cloud.google.com/storage/docs/introduction
https://cloud.google.com/storage/docs/uploads-downloads
https://cloud.google.com/transfer-appliance/docs/4.0

















