Google PDE: Data Governance, Security, Reliability and Cost Operations — Study Guide

Part of the Google Professional Data Engineer — Study Guide. Practice with verified answers in the Google exam hub, or take timed practice tests on ExamRoll.io.

Overview

This section summarizes design patterns and operational practices for data governance, security, reliability, and cost operations on Google Cloud. It focuses on BigQuery, Cloud Storage, Dataflow, Dataplex, and supporting services. Emphasis is on least privilege, encryption key management, metadata and classification, policy-driven access, compliance evidence, observability with actionable SLOs, and cost control. Trade-offs, failure modes, and practical configurations are included to enable safe, auditable, and efficient data platforms.

Identity, Access, and Governance

Security and Compliance Operations

Reliability, Observability, Quality, and Cost Management

Practical Problem Scenario

NovaRetail Analytics partners with multiple brands to ingest daily CSVs containing transaction data into a shared analytics platform. Files arrive in a Cloud Storage landing bucket and occasionally include malformed rows. The platform must enforce least privilege so each client can only access its own data, detect sensitive fields, and provide immediate alerts when rows are appended to a specific audit table. The company also needs cost controls and a recovery plan.

Approach:

  1. Isolate tenants and enforce least privilege

    • Create a dedicated BigQuery dataset per client (e.g., client_a_analytics). Grant only the client’s group the appropriate dataset roles (bigquery.dataViewer, bigquery.jobUser) and restrict BigQuery API use to approved users via IAM and VPC-SC if applicable.
    • Rationale: Dataset-per-tenant limits blast radius and simplifies row policy complexity. Least-privilege scoping at dataset level prevents cross-tenant access by default.
  2. Govern schema, classification, and masking

    • Define a Data Catalog policy tag taxonomy (public, internal, confidential, restricted) and tag templates for owner, data steward, and RTO/RPO. Attach policy tags to sensitive columns (email, card_suffix) in each client dataset. Apply BigQuery masking policies to restrict views for non-privileged roles.
    • Example: ALTER TABLE client_a_analytics.orders ALTER COLUMN email SET POLICY TAGS (‘restricted.pii’).
    • Rationale: Central tags provide uniform control across tables; masking ensures safe-by-default reads without duplicating data.
  3. Discover PII and enforce de-identification where needed

    • Configure Sensitive Data Protection discovery to scan the landing bucket and curated BigQuery tables. Use an inspection template for common PII and a de-identification template to tokenize emails deterministically for join use cases.
    • Rationale: Automated discovery reduces manual errors; deterministic tokenization balances privacy with analytics join requirements.
  4. Secure pipeline with service accounts, impersonation, and CMEK

    • Use a Dataflow service account with only the needed roles: storage.objectViewer on the landing bucket, bigquery.dataEditor on target datasets, and access to policy tags if required. Use CMEK for the client datasets and grant the BigQuery and Dataflow service agents the CryptoKey Encrypter/Decrypter role.
    • Rationale: Narrow roles plus CMEK meet least-privilege and key control requirements. Service agent access to keys prevents job failures.
  5. Build resilient ingest with error quarantine

    • Run a batch Dataflow job that reads the CSVs, validates schema, and writes valid rows to BigQuery partitioned tables. Route invalid rows to a BigQuery dead-letter table with error details (file name, line, reason).
    • Rationale: Side outputs preserve bad data for analysis without blocking good data; partitioned tables reduce scan cost and speed queries.
  6. Create lineage and business metadata

    • Register the landing bucket and datasets as Dataplex assets in a lake. Enable lineage collection for the Dataflow job and tag curated tables with business metadata (data owner, sensitivity, retention).
    • Rationale: Centralized governance enables impact analysis, audit readiness, and standardized stewardship.
  7. Monitor, alert, and audit

    • Enable Admin and Data Access audit logs, exported with CMEK to a central logging project and to BigQuery for analytics. Add a log-based alert for new rows appended to the audit table using an advanced filter on BigQuery insert jobs; export that sink to Pub/Sub for the monitoring tool to consume.
    • Rationale: Logs are tamper-resistant evidence; targeted alerts notify only on the required table, reducing noise.
  8. Enforce cost controls and query guardrails

    • Require query jobs to set maximumBytesBilled and leverage clustering on high-cardinality columns (e.g., order_id). Apply budgets and set labels (client, environment) on jobs and datasets. Use BigQuery Reservations to separate interactive analysis from scheduled loads.
    • Rationale: Guardrails prevent runaway costs; labels enable chargeback; slot isolation maintains predictable performance.
  9. Implement retention and DR

    • In the landing bucket, enable object versioning and a lifecycle rule to delete objects after 30 days; set a retention policy for compliance zones. In BigQuery, set default table expiration for staging tables and take periodic table snapshots of curated tables. Store KMS backup procedures and table restore steps in runbooks and test quarterly.
    • Rationale: Lifecycle management reduces storage cost; snapshots and documented runbooks ensure recoverability. Testing validates RTO/RPO assumptions.
  10. Periodic access reviews and quality SLIs/SLOs

Technical trade-offs and failure modes addressed:


Machine Learning · All domains

Practice these questions → · Timed practice on ExamRoll.io →

Pass the whole exam — not just this question

You found this answer. Get every verified question and explanation in one place, and save hours of prep. Free to start.

Pass your exam →

Browse Google →

Related guides

All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product