Explain the concept of a data pipeline. Give an example.

Instruction: Define what a data pipeline is and provide a simple example of a data pipeline you might use in a project.

Context: This question tests the candidate's understanding of data pipelines, including their ability to explain how data is ingested, processed, and stored.

Updated

Official answer

A data pipeline is a repeatable sequence that ingests, processes and delivers data, with controls for dependencies, failures and correctness. It can run in batches or continuously. ETL transforms before loading the analytical destination; ELT loads first and transforms there.

Consider an illustrative daily order report. Ingest a source export with its business date, schema version and delivery identifier. Preserve the permitted input for replay. Validate required fields, currency and order-line identity, then apply deterministic business rules to derive settled sales and refunds.

Deduplicate repeated deliveries by their stable delivery/event identity. Treat legitimate corrections as versioned updates to the same business record, not duplicates to discard. Publish the resulting daily table atomically or through a versioned handoff so readers do not see a half-written report.

Compare counts and amounts with the source, record the last complete business date, and alert an accountable owner on failed checks or late arrival. Retrying the same input should produce the intended result without double counting. Define retention, access and how late corrections restate reports.

This example demonstrates reliable data delivery. It does not establish that a downstream recommendation or marketing change increased engagement.

Source

Microsoft: ETL and ELT architecture.

Related Questions