Check Your Knowledge
Test what you picked up across this section – Lakeflow Connect’s connector types, Auto Loader, schema drift, and bad records.
-
What happens on the first run of a Lakeflow Connect ingestion pipeline, versus subsequent runs? A. Every run reprocesses all data from scratch B. The first run ingests all available data; subsequent runs ingest only what’s new C. Only the first run works; subsequent runs must be manually reconfigured D. Subsequent runs always overwrite the destination table
-
Why can query-based (cursor-column) connectors struggle to capture deletes? A. They don’t support SQL B. A physically deleted source row leaves no trace for a cursor query to find C. Deletes are always captured automatically D. Cursor columns cannot be timestamps
-
What does a CDC-based connector read from the source database? A. Only the current table snapshot B. The database’s own change stream (e.g. binlog, logical replication) C. A manually maintained changelog table D. Nothing – it polls like a query-based connector
-
What is the
cloudFilesStructured Streaming source used for? A. Reading from Kafka B. Incremental, checkpoint-tracked ingestion of files landing in cloud storage (Auto Loader) C. Connecting to SaaS APIs D. Running SQL warehouses -
What is the difference between directory listing and file notification detection modes in Auto Loader? A. They produce different data B. Directory listing periodically lists the source directory; file notification uses cloud storage events for near-immediate detection at higher scale C. File notification is always slower D. Directory listing requires an SQS queue
-
What does the
rescueschema evolution mode do? A. Fails the entire pipeline on any schema change B. Captures unexpected/differently-shaped data into a_rescued_datacolumn while the pipeline keeps running C. Silently drops new columns D. Automatically deletes malformed records -
What is a “bad record” as distinct from a schema drift issue? A. A record that is simply malformed and cannot be parsed at all, routed to
badRecordsPathB. Any record with a new column C. A duplicate row D. A record missing ingestion metadata -
Why does a database user configured for CDC typically need more privileges than one used for query-based ingestion? A. CDC requires elevated replication-level access to read the change stream, not just standard query access B. CDC connectors require admin rights to the entire database server C. There is no difference in required privileges D. Query-based connectors require more privileges
-
According to this section’s decision guide, what should you check first when scoping a new ingestion source? A. Whether a managed connector already supports it B. The size of the source table C. Which programming language the source uses D. Whether the source has a REST API
-
What ingestion metadata columns are typically added automatically to a bronze table sourced via Lakeflow Connect or Auto Loader? A. Business rule flags B. Fields like
_ingested_atand source-tracking columns (e.g._source_file,_pipeline_run_id) C. Aggregated summary statistics D. Customer tier classifications
Answer Key
- B – the first run ingests everything available; every later run is incremental.
- B – a deleted row simply disappears from the source, leaving nothing for a cursor query to detect.
- B – CDC connectors read the database’s own change stream directly.
- B –
cloudFilesis Auto Loader’s Structured Streaming source for incremental file ingestion. - B – directory listing polls the directory; file notification uses cloud events for faster detection at scale.
- B – rescue mode captures unexpected data into
_rescued_datawithout stopping the pipeline. - A – a bad record fails to parse entirely and is routed to
badRecordsPath, distinct from a differently-shaped-but-parseable schema drift case. - A – CDC needs replication-level access to read the change stream, a higher privilege tier than standard queries.
- A – checking for an existing managed connector first avoids unnecessary custom-built ingestion.
- B – ingestion metadata like
_ingested_atand source-tracking fields are added automatically, following bronze design principles.
| ← Previous: Choosing the Right Ingestion Tool | Next: Lakeflow Spark Declarative Pipelines - Transformation Pillar → | |:—|—:|