Data lakes and the lakehouse
Professional Data Engineer · Lesson 14 of 23 · 1:38:35
YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗
Learning with these videos? Subscribe for new courses and exam-style questions.
Subscribe on YouTube (opens in a new tab)In this lesson
Prepare for the Google Cloud Professional Data Engineer exam, on the official exam guide. In this lesson: the data lake on Cloud Storage, BigLake tables and Apache Iceberg, discovery, row-level access, and quotas, and processing, cost, and monitoring of the lake. Includes three original practice questions, with Cymbal Mobility, a fictional ride-hailing and scooter company, as the example.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
Millions of files
Cymbal Mobility's data lake holds millions of files in Cloud Storage: sensor logs, app events, and receipt photos. Nobody knows what is there, some teams copy data into BigQuery to query it, and Spark jobs read the same files with their own table definitions. The data engineer wants one copy of the data, easy to find, governed, and shared by every engine.
The lake on Cloud Storage
A data lake keeps raw data in its native format, in Cloud Storage, cheaply and at any scale. Organize it in zones, from raw to cleaned to curated, with clear folder conventions, and keep files of the same format and schema together. Prefer open columnar formats, like Parquet, or open table formats, like Apache Iceberg, so many engines can read the same files. A lakehouse adds warehouse features on top: tables, transactions, and governance, over open files you own.
BigLake tables and open formats
Lakehouse, formerly BigLake, connects BigQuery and open source engines to those files. A BigLake table lets BigQuery query files in Cloud Storage, or in Amazon S3 and Azure Blob Storage through BigQuery Omni, using a connection with its own service account. Users get access to the table, not to the bucket, so you can apply row-level and column-level security, and metadata caching speeds up queries. Apache Iceberg managed tables keep their data in your buckets, in the Iceberg format, yet support DML, streaming, and automatic storage optimization, like a standard table. And the Lakehouse runtime catalog, formerly BigLake metastore, shares table metadata, so Spark, Flink, Hive, and BigQuery all use one copy of the data.
Discovery and access
A lake that nobody can search becomes a swamp. Knowledge Catalog automatic discovery scans a bucket, groups files of the same format and schema into tables, and publishes them in BigQuery as BigLake tables, with their schema and partitions. It reads Parquet, Avro, ORC, CSV, and newline-delimited JSON, and object tables cover unstructured files, like receipt photos. Then the catalog makes the tables searchable, with descriptions, glossaries, and lineage, as lesson four showed. Grant access on tables rather than on buckets, and to groups, so security stays in one place.
Processing, cost, and monitoring
Process lake data where it sits: Spark on Managed Service for Apache Spark, Dataflow, or BigQuery SQL on BigLake tables. Write results back as curated Iceberg tables or Parquet files, and keep the raw zone unchanged. Control costs with storage classes and lifecycle rules on the raw zone, partitioned folders, and in BigQuery, custom query quotas and a maximum of bytes charged per query. Monitor the lake with data quality scans and profiles, Cloud Monitoring metrics, and audit logs of who accessed what. And watch for small files: many tiny files slow every engine down, so compact them into larger ones.
Recap
Let's recap. A data lake keeps raw files in Cloud Storage, in zones, and open formats like Parquet and Iceberg let many engines share them. BigLake tables give BigQuery governed access to those files, with row-level and column-level security, and Iceberg managed tables add DML and streaming over files you own. The Lakehouse runtime catalog shares table metadata between Spark, Flink, Hive, and BigQuery. Knowledge Catalog discovery turns folders into tables, and object tables cover unstructured files. And control costs with storage classes, lifecycle rules, and query quotas, and monitor quality, metrics, and access.
Quick checks for this lesson
The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.
Spark jobs and BigQuery analysts must both read and write the same trip tables, in an open format, in Cymbal Mobility’s own bucket, with one copy of the data. What should the data engineer use?
- Standard BigQuery tables, and an export for Spark
- An external table for each engine, with its own schema
- Bigtable tables, read by both engines
- Iceberg tables, with the Lakehouse runtime catalog
Show the answer
Iceberg tables, with the Lakehouse runtime catalog
Iceberg tables keep one copy of the data in an open format, and the runtime catalog lets Spark and BigQuery share the same table metadata. “Standard BigQuery tables, and an export for Spark” would keep two copies, which would drift apart. “An external table for each engine, with its own schema” would let each engine define its own version of the tables, with no shared writes. And “Bigtable tables, read by both engines” is not an open format on Cloud Storage.
Hundreds of folders of Parquet and CSV files sit in a bucket, and analysts want to query them in BigQuery, without anyone writing table definitions by hand. What should the data engineer use?
- A nightly load job for each folder
- A Knowledge Catalog discovery scan on the bucket
- Object versioning on the bucket
- A Pub/Sub notification for each new file
Show the answer
A Knowledge Catalog discovery scan on the bucket
A discovery scan groups the files into tables, and publishes them in BigQuery with their schema and partitions. “A nightly load job for each folder” would copy the data, and someone would still define each load. “Object versioning on the bucket” only keeps older versions of objects. And “A Pub/Sub notification for each new file” would announce new files, without creating any table.
Finance’s BigQuery queries on lake tables cost far more than planned, and the team wants a hard daily limit on the data its queries can process. What should the data engineer set?
- Autoclass on the lake buckets
- An alerts-only budget in Cloud Billing
- A custom daily query quota
- Soft delete on the lake buckets
Show the answer
A custom daily query quota
A custom query quota caps the data processed each day, and blocks queries beyond it. “Autoclass on the lake buckets” only lowers storage costs, not query costs. “An alerts-only budget in Cloud Billing” only sends alerts, and stops nothing. And “Soft delete on the lake buckets” only protects deleted objects.