GCP - Professional Data Engineer Study Guide

    3: Storing the data

    This chapter addresses Section 3 of the Google Cloud Professional Data Engineer exam: selecting the correct managed storage service for each workload, planning a data warehouse on BigQuery with the right model and normalization level, operating a data lake with Dataplex and Cloud Storage, and combining these primitives into a governed data platform. The treatment assumes practitioner familiarity with the services and concentrates on selection criteria, sizing, cost levers, governance scopes, and the failure modes that the exam tests.

    Learning Objectives

    By the end of this chapter, you will be able to:

    • Select the correct managed storage system from BigQuery, BigLake, AlloyDB, Bigtable, Spanner, Cloud SQL, Cloud Storage, Firestore, and Memorystore for a given access pattern, throughput target, cost ceiling, and lifecycle requirement.
    • Design a BigQuery data warehouse model with the appropriate normalization level, partitioning, clustering, and materialized views to match defined business reporting requirements.
    • Operate a Cloud Storage data lake governed by Dataplex, including discovery, access controls, processing handoffs to BigQuery and Dataproc, and quality monitoring.
    • Build a Google Cloud data platform that combines Dataplex, Dataplex Catalog, BigQuery, and Cloud Storage with a federated governance model for distributed domains.

    Executive Summary

    • Storage selection is driven by four orthogonal axes: access pattern (transactional, analytical, key-value, document, in-memory), consistency requirement, scale ceiling, and unit cost shape (per query, per node-hour, per gigabyte-month).
    • The BigQuery warehouse design hinges on a denormalized star plus nested fields, with partitioning on the dominant filter column and clustering on the dominant join or filter sub-key.
    • A data lake on Cloud Storage governed by Dataplex separates raw, curated, and consumption zones; Dataplex auto-discovers files, registers BigLake tables, and applies policy tags from Dataplex Catalog.
    • A federated governance model assigns domain ownership at the Dataplex lake or zone level while keeping platform-wide policy, infoTypes, and lineage central in Dataplex Catalog and Cloud DLP.

    Assumptions

    • The reader has working knowledge of the pipeline services covered in chapters 1 and 2 (Dataflow, Dataform, Cloud Composer, Datastream, Storage Transfer Service).
    • Region examples use us-central1, us-east1, europe-west4; multi-region examples use US and EU. No regulatory residency overrides are assumed unless stated.
    • Pricing references describe the shape of the cost model (per-byte, per-slot-hour, per-node-hour) rather than absolute prices, which the exam never asks numerically.
    • All service names follow the formatting in the Google Cloud exam guide: BigQuery, Bigtable, Spanner, Cloud SQL, Cloud Storage, Firestore, Memorystore, AlloyDB, BigLake.

    Sections in this chapter

    1. Free
    2. Free with account
    3. Free with account
    4. Free with account
    5. Free with account