• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 5 pages
Study guide

Data Engineering: Pipelines, Warehousing and the Modern Data Stack

Document preview thumbnail
Preview 2 out of 5 pages

A study guide to data engineering: the layered architecture from source to semantic layer with the failure each layer introduces, batch versus streaming with the decision latency that determines the choice, change data capture and its schema and delete problems, idempotency and why retries duplicate data, warehouse, lake and lakehouse architectures, dimensional modelling with facts, dimensions and the grain decision, slowly changing dimension types and why type two preserves history, data quality dimensions each with a failing test, observability for volume, schema and distribution anomalies, orchestration and the backfill capability that separates production from a demo, cloud cost control through partitioning and pruning, governance with ownership, least privilege and enforced retention, two case studies with duplicated revenue and a silent schema change, a comparative architecture table, answer technique, five model answers, a glossary and references.

Content preview

Data Engineering: Pipelines, Warehousing and the Modern
Data Stack
Making data trustworthy enough that someone will make a decision with it
Computer Science | Undergraduate (Level 6) | December 2026


WHAT IS INSIDE

1. Core Concepts and Theoretical Frameworks
2. Batch, streaming and ingestion patterns
3. Warehouse, lakehouse and modelling
4. Data quality, testing and observability
5. Orchestration, cost and governance
6. Real-World Case Studies
7. Comparative Summary Table
8. Common Exam Pitfalls and Essay Tips
9. Practice Exam Questions with Model Answers
10. Glossary of Exam-Ready Definitions


1. Core Concepts and Theoretical Frameworks
Data engineering is examined as a layered architecture in which each layer has a defined purpose and a defined
failure. The table sets the layers against the store usually used and the risk each introduces.

Layer Purpose Typical store Main risk
Source Systems of record Application databases, APIs, event Schema change without notice
streams
Ingestion Move and land data Batch extractors, change data capture, Silent partial loads
streaming
Raw or bronze Immutable landing Object storage Unbounded growth
zone
Cleaned or silver Typed, Lakehouse tables, warehouse staging Business logic leaking in
deduplicated,
conformed
Modelled or gold Dimensional or wide Warehouse marts Metric definitions diverging
tables for use
Semantic layer Single definition of Metric store or BI model Governance drift
metrics
Serving Query and BI tool, API, feature store Stale or unpublished refresh
dashboard

The organising idea is lineage and reproducibility. A number that appears in a board pack must be traceable to
a source record and reproducible by re-running the pipeline on the same inputs. Without that, a data platform
produces confident numbers that nobody can defend, and the first serious challenge destroys trust in all of it.

2. Batch, streaming and ingestion patterns
Batch ingestion extracts data on a schedule, which is simple, cheap and adequate when the decision cycle is
daily. Streaming ingestion processes events continuously, which is necessary when the decision must be made
within seconds, and it brings ordering, exactly-once semantics and state management problems. The choice is
driven by the latency requirement of the decision, not by fashion: a dashboard refreshed hourly does not need a
streaming platform.


Data Engineering: Pipelines, Warehousing and the Modern Data Stack Page 1 of 5

,Data Engineering: Pipelines, Warehousing and the Modern Data Stack


Change data capture reads the database log to identify inserts, updates and deletes without querying the whole
table. It reduces load on the source and provides a complete history, which is valuable for auditing and for
reconstructing state. The difficulty is schema evolution and the handling of deletes and backfills, which are the
operations that break naive pipelines.
Idempotency is the property that running a load twice produces the same result as running it once. It is achieved
by writing to a partition with overwrite semantics, by merging on a key, or by tracking a load identifier. Without
idempotency, a retry after a failure duplicates data, and duplicate rows in a revenue table are the most common
cause of a board pack disagreement.

Pattern Latency Complexity Best for
Full extract and load Hours Low Small reference tables
Incremental by timestamp Hours Low to moderate Append-heavy tables
Change data capture Seconds to minutes High Operational systems with history
Event streaming Milliseconds to seconds High Real-time decisions
Micro-batch Minutes Moderate Near-real-time at lower cost
Federated query Query dependent Moderate Avoiding copies, at a cost


3. Warehouse, lakehouse and modelling
A data warehouse stores structured, modelled data optimised for analytical queries, with columnar storage and
query optimisation. A data lake stores raw files cheaply with schema applied on read, which is flexible and prone
to becoming a swamp without governance. The lakehouse combines open table formats with transactional
guarantees, so a lake can support updates, deletes and time travel.
Dimensional modelling organises data into facts, which record events with measures and foreign keys, and
dimensions, which describe the entities. The star schema is simple to query and performs well; the snowflake
normalises dimensions further, which saves space and adds joins. The grain of the fact table is the single most
important design decision, because it determines what questions can be answered without double counting.
Slowly changing dimensions handle attribute change over time. Type one overwrites and loses history; type two
adds a row with validity dates and preserves history; type three keeps a previous value column. Type two is the
standard for anything that affects attribution, such as a customer's region at the time of a sale, because using the
current region for historical analysis produces a number that changes retroactively.
• The grain of a fact table determines which questions are answerable.
• Type two slowly changing dimensions preserve history with validity dates.
• Using current attributes for historical facts makes history change retroactively.
• Open table formats bring transactions and time travel to object storage.
• A lake without governance becomes a swamp.
• Star schemas trade some storage for query simplicity.
• Surrogate keys decouple the warehouse from source system identifiers.

4. Data quality, testing and observability
Data quality is defined by dimensions: completeness, accuracy, consistency, timeliness and uniqueness. Each
dimension needs a test that can fail, not a policy statement. A not-null test on a key column, a uniqueness test on
a transaction identifier, a referential integrity test against a dimension, and a freshness test on the maximum
timestamp together catch most material defects before a user sees them.
Testing in a pipeline should run at three points: on the source data, after transformation, and on the published
table. Tests are code and belong in version control with the transformation. A test that fails should stop the
publication rather than write a warning into a log that nobody reads, because a dashboard with a warning is a


Data Engineering: Pipelines, Warehousing and the Modern Data Stack Page 2 of 5

Document information

Study
Unknown
Uploaded on
December 4, 2026
Number of pages
5
Written in
2026/2027
Type
Study guide
$7.98

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
225
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions