↑ ↓ to move, Enter to open, Esc to close

    GCP-CDLDigital Leader

    Switch exam

    Microsoft Azure

    aws Amazon Web Services

    Google Cloud

    ServiceNow

    Databricks

    Cisco

    Salesforce

    All exams and search
    Free exam

    Exams / GCP-CDL / D4 Exploring Data Transformation with Google Cloud

    D4.1

    Exploring Data Transformation with Google Cloud (part 1 of 2)

    • 8 min read
    • 10 sections
    • 21 questions
    • Exam domain: Exploring Data Transformation with Google Cloud

    Structured, semi-structured, and unstructured data

    The exam repeatedly tests whether you can classify a piece of data and route it to the right storage system.

    Data type Shape Examples
    Structured Fixed, predefined fields (rows/columns) Blood pressure readings (systolic, diastolic, date, time), inventory records, order tables
    Semi-structured Some organization but no rigid schema JSON/XML logs, sensor readings with tags
    Unstructured No predefined fields or schema X-ray images, video/audio recordings, physician's free-text notes

    "A relational database is a collection of information that organizes data in predefined relationships where data is stored in one or more tables (or "relations") of columns and rows" — What is a relational database? | Google Cloud

    Structured data is what you can put straight into a relational database. Unstructured data (images, audio, video, free text) cannot — it needs object storage or a data lake instead.

    Matching a storage/database product to the need

    Need Product Why
    Unstructured objects (video, audio, backups, archives) at any scale Cloud Storage Object storage for data "in its original format"; see storage classes below
    Structured, transactional, single/regional relational workload Cloud SQL Managed MySQL/PostgreSQL/SQL Server
    Structured, transactional SQL that must scale dynamically/globally Cloud Spanner Relational + horizontal scale + strong consistency
    Large-scale analytical queries over petabytes, serverless BigQuery Serverless, fully managed data warehouse
    High-throughput NoSQL analytical/time-series workloads Cloud Bigtable Wide-column NoSQL store

    "Cloud Storage lets you store, manage, and retrieve unstructured data with" — Cloud Storage overview

    "It offers transactional ... consistency at global scale, automatic, synchronous replication for high availability, and support" (for GoogleSQL/PostgreSQL) — Spanner documentation

    "fully managed serverless data warehouse in which the BigQuery" ... "petabytes in minutes to inform critical business decisions." — BigQuery overview

    Exam cue words:

    • "unstructured", "video/audio archive", "lowest cost for infrequent access" → Cloud Storage (and its storage classes)
    • "scale dynamically", "transactional SQL queries", "global" → Cloud Spanner
    • "fast, scalable, fully managed, advanced analytics", "petabytes", "serverless data warehouse", "smart analytics" → BigQuery
    What does the data need?Cloud StorageCloud SQLCloud SpannerBigQueryUnstructured objects, anyscaleStructured, transactional,regionalStructured, transactional,scale dynamically/globalLarge-scale analytics,serverless, petabytes

    Cloud Storage classes: pay only for how often you touch the data

    Cloud Storage splits cost by access frequency, not by data type:

    Class Best for
    Standard Frequently accessed ("hot") data
    Nearline Read/modify about once a month or less
    Coldline Read/modify less than once a quarter
    Archive Lowest cost; read less than once a year

    "Nearline storage is a low-cost, highly durable storage service for storing infrequently accessed data." — Cloud Storage classes "Coldline storage is a very-low-cost, highly durable storage service for storing infrequently accessed data." — Cloud Storage classes

    Exam trap: "needs frequent access to only a subset, wants to lower cost on the rest" → keep the hot subset on Standard and move the rest to Nearline/Coldline/Archive — all still Cloud Storage, just different storage classes, not a different product.

    Requester Pays: hosting data for others at minimum cost to you

    When you must publish large datasets to outside researchers or the public at the lowest cost to the publisher, enable Requester Pays on the bucket: whoever accesses the data must specify their own billing project and is charged for network/access costs.

    "The Requester Pays feature lets you shift network usage costs and data processing costs to the users who access your Cloud Storage data." — Use Requester Pays | Cloud Storage

    Signed URLs only manage time-limited access; they don't shift who pays. A Cloud Interconnect connection is for private, dedicated connectivity — unnecessary (and costly) for open public/researcher access.

    Data warehouse vs. data lake

    These two are easy to mix up, and the exam leans on this contrast heavily.

    Data warehouse Data lake
    Data types Structured and semi-structured Structured, semi-structured, and unstructured
    Format Transformed, modeled for analysis Raw, native format, as ingested
    Purpose Ad-hoc analysis, custom reporting, BI Flexible storage first, analytics/ML later
    Google Cloud example BigQuery Cloud Storage used as a lake

    "A data warehouse, also called an enterprise data warehouse (EDW), is an enterprise data platform used for the analysis and reporting of structured and semi-structured data from multiple data sources" — What is a Data Warehouse? | Google Cloud

    "A data warehouse is suited for ad hoc analysis as well custom reporting." — What is a Data Warehouse? | Google Cloud

    "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

    "They can consolidate and integrate massive amounts of current and historical data in one place and are designed to give a long-range view of data over time." — What is a Data Warehouse? | Google Cloud

    Exam cues:

    • "store raw/native data of every type (structured + semi-structured + unstructured) in one repository, before transformation" → data lake
    • "consolidate data from multiple sources so it's ready for ad-hoc analysis/custom reporting/strategic decisions" → data warehouse
    • A cloud data warehouse can still be described as handling scaled, real-time, mixed data in looser exam wording, and warehouses are often paired with a data lake to absorb the unstructured side — don't over-read "data warehouse" as purely batch/structured when a question's other three choices are clearly worse fits.
    Multiple data sourcesData lakeData warehouseAd-hoc analysis, customreporting, BIraw, native, any typetransformed,structured/semi-structuredlater transform/curate

    ETL: cleaning and transforming inconsistent data

    When multiple sources store the same kind of data in different formats, the fix is transformation into a consistent format before you load or train on it — not discarding data, and not building one model per format.

    "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

    This also applies directly to ML: a model trained across years of data from many sources needs every observation's features to mean the same thing, which requires a consistent schema first.

    Batch vs. stream processing

    Batch processing Stream processing
    Timing Periodic (e.g., end of month) Continuous, as data arrives
    Latency High (delay until the batch runs) Low — near-real-time
    Google Cloud service Dataflow (batch mode) Dataflow (streaming mode), Pub/Sub for ingestion

    "Dataflow is designed to support batch and streaming pipelines at" scale, using the same programming model for both. — Dataflow overview "Streaming pipelines can achieve low latency." — Dataflow overview

    Exam cue: "currently batch, end-of-period reports, wants near-real-time decisions" → switch to stream processing, not a different database or a shorter batch interval.

    Serverless data-processing pipelines

    A serverless pipeline service (Dataflow) removes infrastructure provisioning/management and scales workers automatically to the pipeline's load.

    "Dataflow is a fully managed service." — Dataflow overview

    Exam trap: the benefit is managed, scalable infrastructure — serverless does not mean full manual control over compute, does not remove the need to analyze the output, and does not guarantee error-free data.

    APIs: real-time integration and monetization

    An API is how two independent systems exchange data programmatically and in real time — e.g., a delivery platform pulling a restaurant's live menu and pushing orders back.

    "build API proxies—RESTful, HTTP-based APIs that interact with your services." — Apigee documentation

    To turn data you own into a new revenue stream for third parties, expose it through a chargeable API rather than granting direct database access or selling file downloads — Apigee monetization lets you attach a rate plan to an API product to bill usage.

    "Using Apigee's monetization feature, you can add a rate plan to an API product." — Overview of Apigee monetization "The rate plan lets you charge the developers for using your APIs." — Overview of Apigee monetization

    Looker: business intelligence and analytics

    Looker is Google Cloud's BI/analytics platform: reports, dashboards, and embedded insights over governed data. It is not an IAM tool, not a data warehouse, and not a backup/rollback feature.

    "Simplify the creation of reports and dashboards and avoid stale data and siloed approaches to business logic." — Looker for Business Intelligence | Google Cloud

    Combining data for machine learning

    To get new predictive insight out of several related datasets (e.g., marketing data to predict user acquisition), combine them into one unified feature set and run ML on the combined data — storing, archiving, or separating the datasets does not itself produce a prediction.

    "Machine learning allows computer systems to continuously adjust and enhance themselves as they accrue more "experiences." Thus, the performance of these systems can be improved by providing larger and more varied datasets to be processed." — What is Machine Learning? | Google Cloud

    Exam traps

    • "Data warehouse" and "data lake" are not interchangeable: raw/native/all-types: lake; consolidated/structured/analysis-ready → warehouse. But when a question's other three choices are clearly wrong, don't over-weight the structured-only nuance of a warehouse.
    • Cloud Storage storage classes (Nearline/Coldline/Archive) are about access frequency, not data type — the product is still Cloud Storage.
    • Requester Pays shifts egress/access cost to the requester; Signed URLs only control access, not billing.
    • Serverless ≠ full control over compute — it's the opposite trade-off.
    • Batch vs. stream is a processing cadence question; don't "fix" it by changing database type or storage format.
    • A chargeable API (via Apigee monetization) is the standard way to monetize data for third-party apps — not raw DB access or file downloads.
    • Looker ≠ BigQuery: Looker is BI/analytics on top of data; BigQuery is the serverless warehouse underneath.

    Docs

    The rest of this chapter is part of the GCP-CDL premium course

    Unlock every chapter, all 289 questions and spaced review with All access or a 90-day exam pass. Every Fundamentals exam stays free, and the first chapter of every exam is open.

    Chapters