Prepare and test your skills

Prepare and test your skills

Enterprise metadata cataloging and searchable discovery is the practice of centrally ingesting technical metadata, enriching it with business context, and exposing it through governed search. In Google Cloud, Knowledge Catalog (opens in a new tab) in Dataplex provides that foundation as a fully managed and scalable metadata management service. Metadata flows from source systems into catalog entries in Knowledge Catalog, and trusted users discover those entries through search that enforces permissions before returning results.
Centralized metadata ingestion and organization is how Knowledge Catalog automatically collects, organizes, and indexes metadata from supported Google Cloud sources. Metadata flows from source systems such as BigQuery, Cloud Storage, and Pub/Sub into catalog entries in Knowledge Catalog, so engineers do not manually register each asset. For sources outside Google Cloud, stewards create custom entries to bring external metadata into the same index. The catalog also unifies governance across BigLake and open-format tables like Iceberg and Delta, and it supports a data mesh where decentralized domain teams own their data products while discovery remains centralized.
The metadata lifecycle moves in a fixed order:
Business and technical enrichment in Knowledge Catalog adds business meaning to raw technical metadata to improve discoverability and management. Data Catalog tag templates provide schematized tags that stewards attach to entries, while aspects and aspect types provide structured enrichment that travels with the entry. A business glossary establishes a standardized vocabulary so different teams use the same term for the same domain concept. Sensitive-data inspection results from BigQuery (opens in a new tab) can also be sent to Knowledge Catalog as aspects, linking classification directly to the discoverable entry.
| Construct | What it stores | How it affects discovery and access |
|---|---|---|
| Tag Template and tag | Schematized business and technical fields applied to an entry | Makes assets findable by business meaning without changing data access |
| Aspect and aspect type | Structured context attached to an entry, including quality, lineage, and inspection results | Makes assets manageable by quality, lineage, and sensitivity signals |
| Policy tag | Classification label applied to BigQuery columns for confidential data | Restricts column reads until access is explicitly granted, even after re-identification |
Exam tip: Tags and aspects help users find the right asset, while policy tags control who can read confidential columns inside the asset.
Secure policy-based search and discovery is search in Knowledge Catalog that enforces Identity and Access Management (IAM) before returning results. Users call the search function in Knowledge Catalog, Knowledge Catalog validates the caller against entry-level and tag-level IAM permissions, and only then returns matching metadata. Data scientists and machine learning practitioners therefore need sufficient permissions to access Knowledge Catalog and to use search, separate from permissions to read the underlying BigQuery, Cloud Storage, or Pub/Sub data.
This design separates finding data from reading data. The control plane in Knowledge Catalog manages the index, lineage, data-quality checks, data profiles, feature metadata, and model artifacts, while the underlying storage systems in BigQuery, Cloud Storage, and Pub/Sub enforce data-plane reads. Domain teams publish reusable data products that appear as listings for discovery, and consumers discover through Knowledge Catalog and request access through governed sharing.
Governed data staging and multi-tiered lakehouse architecture is a design that moves data through progressive, policy-controlled stages from raw ingestion to business-ready consumption. The staging topology combines Cloud Storage for durable object storage, Knowledge Catalog for centralized governance, and the Lakehouse runtime catalog for open-table metadata, with BigQuery as the high-performance consumption layer. Data flows from external and operational sources into lower stages, then is cleansed, conformed, and aggregated as it advances, with authorization, lineage, and lifecycle controls applied at each transition.
Progressive staging organizes the lakehouse into bronze, silver, and gold logical layers that control data quality and access as data matures. The bronze layer holds raw ingestion from sources such as Amazon S3 Parquet files, Cloud Storage event logs, and live AlloyDB for PostgreSQL data accessed through BigQuery connections. The silver layer holds cleansed and conformed data after large-scale joins, windowing, and behavioral aggregations, often executed by Managed Service for Apache Spark with Lightning Engine. The gold layer holds curated business-level aggregations for analytics and AI, and the documented best practice is to use BigQuery for this gold layer to maximize query performance and concurrency.
This medallion pattern maps directly to governed lake and zone concepts where raw, curated, and refined zones isolate untrusted landing data from trusted products. A separate landing zone and data ingestion perimeter protect the rest of the workloads from incoming batch or streaming data while it is categorized and de-identified. A confidential or data perimeter then isolates sensitive or encrypted content, while a governance perimeter separates key management, catalog management, and logging from the warehouse data itself. Movement between stages is therefore both a data-quality transition and a security-boundary crossing.
The Lakehouse runtime catalog (opens in a new tab) is the top-level regional metadata service that centralizes discovery across Spark, Trino, and BigQuery. The Lakehouse runtime catalog hosts individual catalog instances and implements the open-source Apache Iceberg REST Catalog API to manage namespaces and tables, with extensions for catalog management. Within the resource hierarchy, the Lakehouse runtime catalog acts as the root container that connects open-table metadata in Cloud Storage to compatible query engines.
Organization inside the Lakehouse runtime catalog follows the Project.Catalog.Namespace.Table (P.C.N.T) naming structure. A catalog is a logical metastore container backed by Cloud Storage warehouse locations, and its region automatically matches the underlying bucket's region. A namespace is a logical grouping of tables within a catalog, similar to a database, schema, or BigQuery dataset, and it automatically uses the same region as its parent catalog. Key governance properties of this hierarchy include:
Table choice in the lakehouse determines where metadata lives, where data lives, and which engines can interoperate. The Lakehouse runtime catalog recommends Apache Iceberg tables created from open-source engines and stored in Cloud Storage (opens in a new tab) , managed through the REST endpoint for open compatibility. BigQuery-managed options keep metadata in the BigQuery catalog while storing data and physical metadata in Cloud Storage, and external tables remain self-managed outside the Lakehouse runtime catalog.
| Table option | Metadata store | Data store and access |
|---|---|---|
| Apache Iceberg tables via Lakehouse runtime catalog | Lakehouse runtime catalog via Iceberg REST endpoint | Data files and physical metadata in Cloud Storage; open compatibility with Spark, Trino, and BigQuery |
| Apache Iceberg tables via BigQuery | BigQuery catalog | Data and physical metadata in Cloud Storage; created and managed by BigQuery |
| Native tables connected to Lakehouse | BigQuery catalog with Lakehouse connection | Fully managed by BigQuery; exposed for interoperation with open-source engines |
| External tables | Self-managed outside Lakehouse runtime catalog | Data in Cloud Storage, Amazon S3, or Azure Blob Storage; delegated access through connections |
Only Apache Iceberg V2 tables, which are generally available, and V3 tables, which are in Preview, are supported by the Lakehouse runtime catalog. Iceberg V1 tables are not supported and must be upgraded to V2 before use with Lakehouse. An open lakehouse uses these open table formats so the same Cloud Storage files remain compatible with different processing engines, while Dataproc Metastore and the Lakehouse runtime catalog provide managed metastore services that unify governance across BigLake and open-format tables like Iceberg and Delta.
Exam tip: Use Lakehouse-managed Iceberg V2 or V3 tables for open-engine interoperation; V1 tables must be upgraded to V2 first and cannot be used directly.
The governed query flow is the ordered path a request follows from engine submission through policy check to direct storage read. When a query targets an Apache Iceberg table managed by Lakehouse, the engine first resolves metadata and authorization before touching data files in Cloud Storage. The sequence preserves governance because the catalog validates identity and fine-grained policies before returning locations or vending credentials.
Because retrieval goes directly from the engine to Cloud Storage after the catalog check, storage permissions, catalog IAM, and vended-token scope must align. If vending is disabled, the caller needs direct bucket access; if vending is enabled, the short-lived token carries reduced-scope access for that read.
Integrity, lifecycle, and operational controls keep staged data accurate, minimal, and observable as it moves from raw to refined. Knowledge Catalog provides the organization-wide governance plane for lineage, data quality checks, data profiles, discovery across data marts, feature and model metadata, business glossaries, and metadata enrichment through aspects and aspect types. BigQuery adds column-level lineage, while Sensitive Data Protection discovers and classifies sensitive data in ingestion paths including Cloud Storage and BigQuery, and de-identifies structured data with record transformations and unstructured data with infoTypes.
Protection across stages depends on encryption, perimeters, and audit logging. Customer-managed encryption keys (CMEKs) in Cloud KMS with Cloud HSM control encryption at rest for ingestion, Dataflow, Pub/Sub, and separate BigQuery warehouses for non-confidential and confidential data, with keys kept in the same location as resources and rotated by default every 30 days. VPC Service Controls defines the ingestion, confidential or data, and governance perimeters with ingress and egress rules, firewall rules deny by default and allow only defined traffic, and Admin Activity audit logs plus Data Access audit logs track configuration changes and data reads. Cloud Storage lifecycle controls and data-minimization practices limit prolonged retention of unnecessary or sensitive data, including pseudonymization, de-identification, and use of synthetic or anonymized data where possible.
For reliable operation of staging pipelines, standardize interactive work with session templates so notebook environments share configuration, assign custom batch and job names to serverless Spark batches so executions can be filtered in Cloud Logging and the console, and enable diagnostic bundles with retained driver and executor logs for complex pipelines. These practices preserve processing efficiency by making stage transitions repeatable, traceable, and faster to troubleshoot without duplicating data through fragile extract, transform, and load pipelines.
Automated data profiling, classification, and sensitive data protection is the continuous practice of scanning lakes and warehouses to measure quality, locate sensitive data such as personally identifiable information (PII), and enforce access based on classification. On Google Cloud this work is split between Sensitive Data Protection (which includes Cloud Data Loss Prevention API (DLP API)) for discovery, inspection, and de-identification, and Knowledge Catalog for centralized governance, metadata, data quality, and policy enforcement. Together they let raw data flow from ingestion to BigQuery and Cloud Storage while profiles, tags, and masking travel with it to control who can see what.
Sensitive Data Protection (opens in a new tab) discovery is a continuous scanning service configured at the organization, folder, or project level that automatically finds, classifies, and reports on new data assets as they appear. When someone creates a new project and uploads a large dataset, the discovery service generates data profiles without manual inspection jobs. Each profile contains metrics and insights including sensitivity level, data risk level, infoType coverage, and location, with a premade report that breaks exposure down by risk, by infoType, and by location.
Discovery acts as a source of truth for audit and security operations because profiles can be exported automatically to Security Command Center, Google Security Operations, BigQuery for historical analysis, and Knowledge Catalog as aspects. The export path matters for compliance: if a column is later deleted, no new column data profile is generated, so teams that need audit history must configure the profiler to save profiles to BigQuery before deletion. Before restricting profiled tables with column controls, the Sensitive Data Protection service agent must already hold permission to read them, otherwise profiling returns an error.
Knowledge Catalog governance and data quality is the organization-wide control plane that centrally discovers, manages, monitors, and governs data and AI artifacts across data platforms. Knowledge Catalog manages column-level lineage, automatic data quality checks and data profiles, discovery and exploration across data marts, feature and model metadata, and a business glossary for standardized vocabulary. Metadata is enriched through aspects and aspect types, which allows inspection results from Sensitive Data Protection to be attached directly to catalog entries.
Knowledge Catalog unifies governance across BigLake and open-format tables such as Iceberg and Delta Lake, and it supports a data mesh where ownership is decentralized to domain teams while controls remain central. In that model, the catalog depends on discovery and quality signals from below, while access policy defined in the catalog applies downward to lakes and warehouses. Teams use automatic data quality capabilities in Knowledge Catalog to validate formats, ranges, and distributions before training, which also helps detect anomalies that can indicate data poisoning.
Classification in Sensitive Data Protection is driven by infoTypes and record transformations that identify sensitive patterns in structured and unstructured data. For structured data, record transformations match specific fields, for example credit card numbers and card PINs in a de-identification template applied by a Dataflow pipeline. For unstructured data, infoType detectors such as PHONE_NUMBER, US_SOCIAL_SECURITY_NUMBER, and DATE_OF_BIRTH scan free-form content.
A column with a high free-text score and evidence of multiple infoTypes is a strong signal of hidden PII in notes or comment fields, such as Customer was born on January 1, 1985. Data profiles alone do not locate the exact values, so the remediation path flows from the profile to an on-demand inspection job on the BigQuery table or Cloud Storage bucket to pinpoint findings, then to de-identification. This distinction matters because a structured column can be tokenized by field, while a free-text column must first be inspected to understand where PII occurs.
A BigQuery taxonomy is a hierarchical classification scheme whose policy tags attach to columns to enforce column-level security. Access is granted through the Fine-Grained Reader role on the tag, and anything untagged remains available to anyone with warehouse access. The hierarchy is inclusive downward, which controls how confidential, private, and sensitive data compose:
| Policy tag | Example column | Access granted by this tag |
|---|---|---|
| 3_Confidential | credit card number | columns tagged 3_Confidential, 2_Private, and 1_Sensitive |
| 2_Private | first name PII | columns tagged 2_Private and 1_Sensitive, but not 3_Confidential |
| 1_Sensitive | credit limit | only columns tagged 1_Sensitive |
Policy tags continue to block reads even after data is re-identified, so re-identification in the confidential perimeter does not bypass authorization. Choose automatic tagging from discovery when new tables must inherit sensitivity without manual labeling, and choose manually curated taxonomies when regulatory boundaries require explicit ownership of what counts as confidential.
Exam tip: Access flows downward in the example taxonomy — 3_Confidential includes 2_Private and 1_Sensitive, but 1_Sensitive grants no access to higher tags.
De-identification is the transformation applied during ingestion that preserves analytical utility while hiding raw identifiers through masking, tokenization with re-identifiable surrogates, pseudonymization, generalization such as bucketing, and character masking. The pipeline flows from Cloud Storage or Pub/Sub through Dataflow, where Sensitive Data Protection tokenizes data tagged as confidential, then into separate BigQuery warehouses for non-confidential and confidential data. For external sources, data is encrypted before upload with the Tink library and stored with the encrypted payload and wrapped key in separate tables, while internal sources are de-identified inline during ingestion.
Cryptographic control depends on Cloud Key Management Service (Cloud KMS) with Cloud HSM managing customer-managed encryption keys (CMEKs). Ingestion uses a CMEK for the Dataflow and Pub/Sub path, a Cloud HSM-wrapped key for Sensitive Data Protection de-identification, and separate dataset default CMEKs for the non-confidential and confidential BigQuery (opens in a new tab) warehouses. Each CMEK must reside in the same location as its resource and rotates by default every 30 days, with Cloud External Key Manager (Cloud EKM) available when compliance requires keys managed outside Google Cloud. At query time, BigQuery remote functions and GoogleSQL AEAD functions extend the same model by de-identifying, re-identifying, or encrypting individual values without copying full tables.
Remediation based on data risk starts from the data risk and sensitivity calculated in each profile and follows three distinct outcomes. Expected and properly protected data is published for monitoring, unexpected or unprotected data is locked down or de-identified, and unclear findings trigger deeper inspection. For assets already protected, profiles flow into audit reports and into Security Command Center, Google SecOps, and Knowledge Catalog to track severity and business metadata over time.
For BigQuery assets flagged with high data risk, meaning evidence of sensitive data without additional protections, consider the following controls:
Low only after controls are verified.After controls are established, monitoring must continue for drift that returns the asset to high risk, including new columns, schema changes, and perimeter or IAM modifications isolated by VPC Service Controls and least-privilege roles.
Tags and aspects in Knowledge Catalog add business meaning to make assets findable and manageable without changing data access, while policy tags in BigQuery restrict who can read confidential columns even after re-identification. Tag templates provide schematized fields and aspects carry structured context such as quality, lineage and inspection results, whereas access granted by the example 3_Confidential tag includes 2_Private and 1_Sensitive but not the reverse.
The engine first requests table metadata from the Lakehouse runtime catalog, the catalog validates Identity and Access Management (IAM) and fine-grained policies before returning metadata and an optional short-lived token when credential vending is enabled, and the engine then uses that metadata and token to read data files directly from Cloud Storage. If vending is disabled the caller needs direct bucket access, while if vending is enabled the token carries reduced-scope access for that read.
The Lakehouse runtime catalog supports only Apache Iceberg V2 tables which are generally available and V3 tables which are in Preview, so V1 tables must be upgraded to V2 before use. Organization follows the Project.Catalog.Namespace.Table naming structure where a catalog is a regional metastore container backed by Cloud Storage, a namespace is a logical grouping similar to a database or BigQuery dataset, and nested namespaces are not supported.
An enterprise maintains a central data lakehouse architecture managed by Dataplex Universal Catalog, consisting of native BigQuery analytical tables and raw semi-structured data residing in Cloud Storage bucket assets. The compliance team requires an automated solution to:
Which configuration strategy should the data engineering team implement to meet these governance requirements?
Retain standard external tables for Cloud Storage bucket assets, run scheduled Dataflow pipelines calling the Sensitive Data Protection API to rewrite files with format-preserving encryption, and distribute Cloud KMS keys to authorized users.
Configure Dataplex Discovery with Dataproc Metastore to manage table schemas, and apply IAM conditions at the lake level using the Dataplex Metadata Reader role to hide sensitive column schema definitions.
Upgrade Cloud Storage bucket assets in Dataplex to BigLake tables, configure Sensitive Data Protection profiling to scan and classify columns, and enforce dynamic data masking using taxonomy-based policy tags in BigQuery.
Grant analysts the Dataplex Data Reader role at the lake level, create VPC Service Controls perimeters around Cloud Storage, and deploy Cloud DLP inspect job triggers that publish violation alerts to Pub/Sub.
Last updated