Intrigued by the art of cloud architecture? Discover how to design, develop, and manage robust, secure, scalable, and dynamic solutions on Google Cloud as you prepare for the Professional Cloud Architect exam!
Cloud SQL is a fully managed service that supports MySQL, PostgreSQL, and SQL Server. Choose this option when transactional workloads fit within a single region and require standard ACID compliance with a fixed schema. When data must scale horizontally across multiple regions while maintaining strong consistency, choose Cloud Spanner. Spanner is designed for global scale, such as large financial systems, handling massive growth without sacrificing transactional integrity.
For applications requiring a flexible schema, Firestore provides a NoSQL document database that scales automatically. It is ideal for storing user profiles or product catalogs, and it supports ACID transactions for mobile and web applications. In contrast, Bigtable is a high-performance NoSQL wide-column database optimized for sub-millisecond latency and massive analytical workloads. It easily handles time-series data or IoT sensor streams, though it does not support complex joins or multi-row transactions.
Architects must evaluate the tradeoffs between latency, consistency, and structure when choosing a service. While databases manage structured and semi-structured queries, unstructured data like images and backups should reside in Cloud Storage.
Cloud Storage serves as the primary object storage solution, designed to store unlimited amounts of unstructured data cost-effectively. It supports parallel read access and global availability, making it ideal for serving web assets, videos, and large archives. Since it scales automatically, users do not need to pre-provision space, though it lacks the low latency of a local disk.
When multiple servers must share access to a single file system, Filestore provides shared file storage using the Network File System (NFS) protocol. For extreme workloads like High Performance Computing, Managed Lustre acts as a parallel file system that supports thousands of concurrent clients. These file systems offer POSIX compliance and sub-millisecond latency, allowing existing applications to read and write files without code changes.
For virtual machines that need dedicated, high-performance storage, Persistent Disk provides reliable block storage. This storage attaches directly to individual Compute Engine instances, acting like a traditional physical hard drive. You can choose Zonal Persistent Disk for single-zone workloads, or Regional Persistent Disk to replicate data across multiple zones for high availability.
BigQuery is a serverless data warehouse designed to run complex analytical queries over petabytes of data. It separates compute from storage, meaning you only pay for the queries you run and the data you store, with each scaling independently. BigQuery organizes data in a columnar storage format called Capacitor, which speeds up analysis by reading only the specific columns needed for a query.
Data enters BigQuery through several pathways depending on the business requirements. You can use batch loading for large periodic transfers from Cloud Storage, or streaming ingestion for real-time data analysis. Additionally, BigQuery can perform federated queries, which allow you to analyze data directly in external sources like Cloud Storage or Cloud Spanner without importing it first.
Storage costs in BigQuery are managed automatically through a long-term storage model. If a table or partition is not modified for 90 consecutive days, its storage cost drops by 50 percent automatically, with no change in query performance. To further optimize costs and speed up query execution, developers should organize their data.
To manage performance and control costs, administrators must monitor slots, which represent the virtual CPUs used to execute queries. Organizations can choose between on-demand pricing, which charges by the gigabyte scanned, or capacity-based reservations to secure a dedicated number of slots. Using Cloud Monitoring helps track slot utilization and identify slow queries, ensuring the warehouse scales efficiently.
Prepare and test your skills
Prepare and test your skills
Use Cloud SQL when transactional workloads fit within a single region and require standard ACID compliance with a fixed schema. Choose Cloud Spanner when data must scale horizontally across multiple regions while maintaining strong consistency, such as large financial systems handling massive growth without sacrificing transactional integrity.
Firestore is a NoSQL document database with a flexible schema that scales automatically, ideal for storing user profiles or product catalogs and supporting ACID transactions for mobile and web applications. Bigtable is a high-performance NoSQL wide-column database optimized for sub-millisecond latency and massive analytical workloads, easily handling time-series data or IoT sensor streams, though it does not support complex joins or multi-row transactions.
Use Cloud Storage for unstructured data like images, backups, web assets, videos, and large archives, as it provides unlimited storage with automatic scaling and no need to pre-provision space. Use Filestore when multiple servers must share access to a single file system, providing shared file storage using the NFS protocol with POSIX compliance and sub-millisecond latency.
Balanced Persistent Disk is best for general-purpose workloads, balancing cost and performance. SSD Persistent Disk is best for high-speed input/output operations such as active databases. Extreme Persistent Disk is best for the most demanding database workloads requiring maximum throughput.
Load data into date-partitioned BigQuery tables for columnar SQL analytics, utilize BigQuery's automatic transition to long-term storage pricing for unmodified partitions older than 90 days, and export compliance backups to Cloud Storage Coldline with Object Lifecycle Management.
Deploy a Cloud SQL for PostgreSQL database instance with regional Persistent Disk SSD storage, perform analytical queries directly in the database, and configure scheduled SQL scripts to archive older tables to Filestore.
Ingest transactional records into Cloud Bigtable with single-row key indexing, execute analytical SQL aggregation jobs via Bigtable compute nodes, and configure table garbage collection policies to export historical rows to Cloud Storage Standard.
Store raw transaction files exclusively in Cloud Storage Standard, create BigQuery external tables to query the data in place, and apply bucket lifecycle rules to transition objects to Nearline storage after 90 days.
An e-commerce enterprise generates several terabytes of transactional sales data daily. The data analytics team needs to execute complex SQL queries and aggregate calculations across specific data columns to generate daily business intelligence reports.
The workload has the following requirements:
Which storage and analytics architecture should you recommend?