Data Engineering Fundamentals · Data Engineering Foundations
23 cards
Warehouse, Lake, and Lakehouse
-
Quick check
Which workload is the clearest fit for a data warehouse rather than a data lake?
ALanding raw source files before any schema has been defined
Keeping varied data before its schema exists is exactly the flexibility a lake provides.
BCapturing individual application transactions as they happen
Recording individual transactions is the job of an operational database upstream of the analytical platform.
CGoverned SQL reporting over integrated historical tables
Right. Integrated, cleaned, structured data optimized for SQL analytics, reporting, and historical analysis is what a warehouse is for.
3 / 23
-
Quick check
What does the lakehouse pattern set out to combine?
AScalable lake storage together with warehouse-style management and serving
Right. It keeps flexible, low-cost storage and adds managed tables, transactions, and governed serving above it.
BOperational transaction capture, with analytical workloads left out
A lakehouse supports analytics; capturing individual transactions stays the job of an operational system.
CRaw file retention, with schema and governance deliberately excluded
Managed schema, transactions, and governance are the central additions of the pattern, not things it leaves out.
6 / 23
-
Quick check
Why is cataloging essential in a data lake?
AIt automatically converts every unstructured object into a relational warehouse table
A catalog describes and indexes what is stored; it does not remodel arbitrary objects into relational tables.
BIt keeps varied raw data findable and understandable, so it stays usable
Right. A lake accepts many structures and formats, so cataloging is what stops that flexibility from becoming unfindable, untrusted storage.
CIt removes the need for access controls on raw data
Security stays a separate and necessary control; a good catalog does not remove the need for it.
8 / 23
-
Keep your progress in the app
That’s 3 of 9 quick checks. In the app they stay answered, and every lesson remembers where you left off.
-
Quick check
A company must retain raw images and logs, run machine learning and SQL over them, and later publish governed tables for BI on the same storage. Which architecture matches?
AA lakehouse, with raw landing, managed refinement, and governed serving
Right. The requirements combine varied lake data, several analytical engines, and warehouse-like governance and serving over one shared foundation.
BA warehouse that rejects non-tabular data and publishes only predeclared BI tables
The BI half fits, but refusing images and logs fails the varied-data and machine-learning requirements outright.
CAn unmanaged lake with no catalog, no access controls, no validated serving
Raw retention fits, but with no cataloging, governance, or validated serving the trust and BI requirements are unmet.
10 / 23
-
Quick check
Which sequence correctly describes progressive data refinement?
APublish raw inputs first, then remove the consumer layouts
Raw inputs belong at ingestion, and refinement exists to create consumer layouts rather than to strip them away.
BAggregate the reports, drop the validation step, then land untracked files
Validation has to precede trusted serving; reversing the order publishes numbers nobody has checked.
CLand raw inputs, validate and integrate them, then publish for consumers
Right. The responsibilities progress from faithful landing, through quality and integration, to layouts designed for downstream use.
13 / 23
-
Quick check
How should a team read the names bronze, silver, and gold?
AAs a universal standard that guarantees the same thing on every platform
The responsibilities transfer between platforms, but the names and the exact guarantees behind them do not.
BAs local labels whose actual guarantees still have to be documented by each team
Right. The names can communicate progression, yet each team must still document the quality, schema, access, and ownership behind its own labels.
CAs file formats that take the place of Parquet and ORC at each level
The labels describe the state and responsibility of data, not the physical encoding it is written in.
16 / 23
-
Quick check
Queries usually filter by event date, rarely by event ID, and daily volume is high. Which partition strategy is strongest?
APartition by date, and size the files inside each date for parallel work
Right. Date matches the durable filter pattern, and sizing files within each date balances parallelism against small-file overhead.
BPartition by event ID, because high cardinality lowers listing cost
Per-event boundaries create extreme fragmentation, raise listing cost rather than lowering it, and match nobody's queries.
CKeep one single file covering all dates, because layout cannot help date filters
A single all-history file removes the chance to exclude unrelated dates and can limit useful parallelism.
19 / 23
-
Quick check
Why can an excessive number of very small files hurt analytical reads?
AThey force a columnar format to behave as a row-oriented one
File count does not change the internal row or column organization of the format.
BThey remove every opportunity to process the data in parallel
Many small files can even raise the nominal task count; the problem is wasted overhead, not the absence of parallelism.
CListing, opening, and scheduling them costs work before any scanning
Right. Each file carries a discovery, open, and scheduling cost, so heavy fragmentation spends resources on coordination rather than on processing data.
21 / 23
-
Quick check
Which summary of the three architectures and their layout concerns is correct?
AThe warehouse keeps raw untyped files, the lake serves governed SQL, and layer names are an industry standard
The two roles are swapped here, and medallion layer names are local conventions rather than a standard with fixed guarantees.
BThe warehouse serves structured analytics, the lake retains varied data, and a lakehouse targets both
Right. Governed structured analytics, flexible retention of varied data, and a pattern aiming to support both over shared storage.
CThe warehouse and the lake are interchangeable, and partition choice has no effect on how much a query reads
They serve different needs, and partition boundaries aligned with common filters are precisely what lets a reader skip unrelated data.
23 / 23
-
9 quick checks · then the test
In the app, finishing the quick checks opens this lesson’s 10-question test, and the ones you miss come back exactly when you’re about to forget them.
The whole course, on your phone
Lessons you can read, audio you can listen to on the way to work, and practice that remembers what you got wrong.