GCP - Professional Data Engineer Study Guide

    4: Preparing and using data for analysis

    This chapter addresses Section 4 of the Professional Data Engineer exam guide, covering how stored data is prepared and exposed for analytic consumption on Google Cloud. The focus stays on BigQuery features that serve business intelligence workloads, the data preparation patterns that feed model training and generative AI applications, and the surfaces that publish datasets, reports, and Analytics Hub listings to internal and external consumers.

    Learning Objectives

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

    • Prepare data for visualization, including connecting BI tools, precalculating fields, applying BigQuery BI Engine and materialized views, troubleshooting poorly performing queries, and applying security through IAM, data masking, and Cloud DLP.
    • Prepare data for AI and ML workloads, including feature engineering, training and serving models with BigQuery ML, and preparing unstructured data for embeddings and retrieval-augmented generation.
    • Share data, including defining rules to share data, publishing datasets, publishing reports and visualizations, and using BigQuery sharing through Analytics Hub.

    Executive Summary

    • Visualization performance is dominated by precalculation: materialized views, denormalized presentation tables, and the BI Engine reservation absorb interactive query loads that direct scans cannot satisfy at sub-second latency.
    • ML data preparation in BigQuery uses the TRANSFORM clause and Vertex AI Feature Store so training and serving share identical feature logic, which removes the training-serving skew class of defects.
    • Unstructured data for RAG pipelines flows through Document AI parsing, Vertex AI text embedding models, and either BigQuery vector indexes or Vertex AI Vector Search, with chunking and metadata stamped at ingestion time.
    • Sharing surfaces span direct IAM grants, authorized views and routines, authorized datasets, Analytics Hub listings, and BigQuery data clean rooms, each with different governance trade-offs around copy semantics, lineage, and revocability.

    Assumptions

    • The reader has working knowledge of BigQuery partitioning, clustering, slot reservations, materialized views, and BI Engine from Chapter 3.
    • Region examples use us-central1 and us-east4 unless otherwise stated. All claims hold for both single-region and multi-region datasets unless a region-specific note is added inline.
    • Cross-references to Dataplex Catalog, policy tags, BigLake, and Dataform reuse the terminology established in chapters 1 through 3 and are not redefined here.
    • Looker refers to the enterprise BI platform; Looker Studio is the free self-service product (formerly Data Studio). Looker Studio Pro adds team workspaces and managed personal credentials.

    Sections in this chapter

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