Exams / GCP-CDL / D4 Exploring Data Transformation with Google Cloud
Exploring Data Transformation with Google Cloud (part 2 of 2)
- Exam domain: Exploring Data Transformation with Google Cloud
Cloud deployment models: a quick vocabulary check
The exam sometimes asks you to pick a deployment model rather than a product. Keep the four apart:
| Model | Definition | Exam cue |
|---|---|---|
| Public cloud | Resources owned and run entirely by a cloud provider | — |
| Private cloud | Resources dedicated to one organization, on-premises or hosted | — |
| Hybrid cloud | Mixes public-cloud resources with private/on-premises infrastructure | "move only some data to the cloud", "keep part on-premises" |
| Multi-cloud | Uses services from more than one public-cloud provider | "many cloud vendors", "match best tool per workload" |
"Hybrid cloud environments allow you to continue using on-premises services while taking advantage of the flexible options for storing and accessing data and applications offered by public cloud providers." — What is Hybrid Cloud? | Google Cloud
"Multicloud allows you to choose from many cloud vendors and provides the flexibility to match specific features and capabilities to optimize your workloads in the cloud based on factors like speed, performance, reliability, geographical location, and security and compliance requirements." — What is Multicloud? | Google Cloud
Exam trap: "wants to use BigQuery but move only some data to the cloud" → hybrid cloud (public cloud + on-premises), not multi-cloud (several public-cloud providers). Multi-cloud is about vendor breadth, hybrid is about public/private mix.
The data value chain
Microsoft/GCP course material frames data work as a chain of stages:
| Stage | What happens |
|---|---|
| Collection | Gathering raw data from sources |
| Processing | Cleaning/transforming raw data into a usable, common format |
| Storage | Keeping data (as-is or processed) in a database/warehouse/lake |
| Analysis | Deriving insight from processed, stored data |
"Transformation involves taking that data, cleaning it, and putting it into a common format, so it can be stored in a targeted database, data store, data warehouse, or data lake." — Extract, transform, load (ETL) | Google Cloud
Exam cue: "converting raw data into a format usable for insights" is data processing, not analysis (analysis comes after, using the already-processed data) and not storage (storage doesn't transform anything).
Dataflow: the managed ETL/pipeline engine
Dataflow reads data, transforms it, and writes it to a destination (e.g., a data warehouse), for both batch and streaming, fully managed and autoscaling.
"Dataflow is a fully managed service." — Dataflow overview
Use it whenever a question asks for a pipeline that must scale and need little to no management to reconcile data into a warehouse — not Pub/Sub (delivers messages but doesn't transform), not Cloud Storage/Bigtable (storage, not transformation).
Relational vs. non-relational, structured vs. unstructured
Two related but distinct contrasts the exam likes to test from different angles:
| Relational database | Non-relational (NoSQL) database | |
|---|---|---|
| Schema | Consistent, strictly enforced | Flexible — records can vary |
| Data fit | Structured, cross-referenced (keys, joins) | Varied/changing structures, diverse data types |
| Example need | Daily transactions, customer + purchase records | High-variability application data |
"As a result, relational databases are most commonly used by organizations that need to manage large amounts of structured data, from tracking inventory to processing transactional data to application logging." — What is a relational database? | Google Cloud
"Unlike relational databases, NoSQL databases follow a flexible data model, making them ideal for storing data that changes frequently or for applications that handle diverse types of data." — What is a relational database? | Google Cloud
| Data shape | Structured | Unstructured |
|---|---|---|
| Fits directly into | Relational DB tables/fields | Object storage, data lake |
| Examples | Product inventory, customer orders, product ratings, location coordinates | Customer survey comments, call-center transcripts, post comments, photographs, videos |
"More traditional structured data (such as data in spreadsheets or relational databases) is now supplemented by unstructured text, images, audio, video files, or semi-structured formats like sensor data that can't be organized in a fixed data schema." — What is Big Data? | Google Cloud
Exam trap: metadata about an unstructured asset (a tag, a profile-picture reference, a GPS coordinate) is usually treated as structured; it's the free-form text/media itself (comments, transcripts, photos, videos) that is unstructured.
Matching more Google Cloud data products to the need
| Need | Product | Why |
|---|---|---|
| Cost-effective, general-purpose relational database | Cloud SQL | Managed MySQL/PostgreSQL/SQL Server, marketed as cost-effective |
| Global, high-speed storage of large volumes of unstructured/time-series data (IoT sensors) | Cloud Bigtable | Wide-column NoSQL, built for massive throughput and low latency |
| Serverless analytics data warehouse, pay only for storage + queries run | BigQuery | On-demand pricing: separate storage and query-scan charges |
| Self-service BI for end users/employees | Looker | Business intelligence platform for exploration and dashboards |
| Globally replicated, strongly consistent relational data | Cloud Spanner | Multi-region configurations replicate synchronously |
| Very large volumes of raw data retained for later, flexible analysis | Data lake (e.g., Cloud Storage as a lake) | Native-format storage, analyze later for different purposes |
"Fully managed, cost-effective relational database service for PostgreSQL, MySQL, and SQL Server." — Cloud SQL
"From financial time series to smart homes, weather sensors, online gaming logs, factory floor telemetry, connected cars, or event sourcing architectures, ingest large amounts of data without disrupting low-latency serving workloads to support real-time reporting, alerting, and predictive maintenance." — Bigtable: fast, flexible NoSQL
"By default, queries are billed using the on-demand (per TiB) pricing model, where you pay for the data scanned by your queries." — BigQuery pricing
"Looker is a business intelligence platform." — Looker documentation: Looker compared to Looker Studio
"Choose from single-region, dual-region, or multi-region configurations to match your specific availability and fault-tolerance requirements." — Cloud Spanner regional, dual-region, and multi-region configurations
"A data lake is a centralized, scalable, and secure repository designed to store, process, and analyze large amounts of structured, semistructured, and unstructured data in its native format." — What is a Data Lake? | Google Cloud
Exam trap: Cloud SQL does not itself produce insights — it enables them by integrating with BI/analytics platforms like Looker and BigQuery, which query and visualize the data it stores.
"Looker is an enterprise platform for business intelligence, data ... and visualize your company's data so that you can make better business" — Integrations with Cloud SQL
Streaming analytics
Streaming analytics processes data records continuously as they arrive, rather than collecting them into batches — enabling real-time analysis and action.
"Streaming analytics is the processing and analyzing of data records continuously rather than in batches." — What is streaming analytics? | Google Cloud
APIs for legacy-system data
When an organization cannot afford to modernize its infrastructure but still needs a partner on a modern platform to process its legacy data, the standard answer is an API: it exposes the legacy data through a defined, controlled interface without requiring any change to the backend.
"Build API proxies to create an abstraction layer that insulates client-facing applications from legacy backend services and microservices." — Apigee
This is different from Compute Engine, GKE, or Anthos, which are platforms for running or modernizing workloads — the opposite of the stated "cannot afford to modernize" constraint.
Unified data and data silos
A unified cloud data solution connects data that would otherwise sit in separate silos, so it can be used across teams — the main benefit is enabling innovation, not an automatic guarantee of lower cost, automatic security, or guaranteed durability (those still require explicit configuration).
"Data integration is the process of discovering, moving, and combining this data into a unified view to drive insights and power the next generation of AI-driven analytics." — What is Data Integration? | Google Cloud
Exam traps
- Hybrid cloud = public cloud + on-premises/private; multi-cloud = several public-cloud vendors. "Move only some data to the cloud" is hybrid, not multi-cloud.
- Data processing transforms raw data into a usable format; data analysis derives insight from already-processed data — don't swap these stages of the data value chain.
- Metadata about unstructured content (tags, coordinates, a picture reference) is usually structured; the free-text/media content itself is unstructured.
- Cloud SQL enables insight by integrating with BI tools (Looker, BigQuery) — it does not generate insights or ML predictions by itself.
- Cloud Bigtable ≠ Cloud SQL/Firestore for IoT/sensor scale: Bigtable is the go-to for massive, low-latency, globally scaled time-series/unstructured ingestion.
- BigQuery's on-demand pricing bills storage and query-scan separately — that's the match for "pay only for data stored and queries run."
- A unified data platform's core benefit is ending silos to enable innovation — it does not by itself guarantee cost, security, or backup/durability.
- An API is the standard way to expose legacy data to an external partner without modernizing the legacy infrastructure itself.
Docs
- What is Hybrid Cloud?
- What is Multicloud?
- Extract, transform, load (ETL) | Google Cloud
- Dataflow overview
- What is a relational database? | Google Cloud
- What is Big Data? | Google Cloud
- Cloud SQL for MySQL, PostgreSQL, and SQL Server
- Bigtable: fast, flexible NoSQL
- BigQuery pricing
- Looker documentation: Looker compared to Looker Studio
- Cloud Spanner regional, dual-region, and multi-region configurations
- Cloud Spanner
- What is a Data Lake? | Google Cloud
- Integrations with Cloud SQL
- What is streaming analytics? | Google Cloud
- Apigee
- What is Data Integration? | Google Cloud