You are designing a pipeline that loads data, cleans it, engineers features, trains and evaluates. What makes it reliable to re-run?
- Exam domain
- Data Science Pipelines and Workflow Automation13% of the exam
- Difficulty
- Medium
- In this mock
- 7 questions on this domainPractise this domain
Why the exam asks this
Data Science Pipelines and Workflow Automation (13% of the exam)
Objective in the exam guide: End-to-end data science pipeline design
Pipeline design is the first objective in this domain.
Why A is the answer
Separate stages with fixed inputs and outputs and fitted steps saved
Clear stages with defined inputs and outputs, and saved fitted transformers, make the pipeline repeatable and testable.
Remember: Design pipelines as repeatable stages.
How it works
End-to-end pipelines link ingest, cleaning, features, training and evaluation in repeatable stages.
In detail
- Clear stages with fixed contracts.
- Save fitted transformers with the model.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Separate stages with fixed inputs and outputs and fitted steps savedRight
Design pipelines as repeatable stages.
B. One large notebook cell that does everything with hand edits between runsWrongMost tempting
Hand edits break reproducibility.
Why it tempts: Notebooks are quick to start.
C. Different random seeds and data each timeWrong
Changing seeds and data hides regressions.
D. Running steps in whatever order is convenientWrong
Order matters for correctness.
Use case
An illustrative scenario, not a real incident.
Illustrative: the same pipeline retrains weekly with one command and identical steps.
See it in different ways
flowchart LR S0["Ingest Parquet"] --> S1["Clean with cuDF"] --> S2["Engineer features"] --> S3["Train with cuML or XGBoost"] --> S4["Evaluate"] --> S5["Save model"]
How to read this chart
- Read it in order: Ingest Parquet, then Clean with cuDF, then Engineer features, then Train with cuML or XGBoost, then Evaluate, then Save model.
sequenceDiagram participant P0 as Ingest participant P1 as Transform participant P2 as Train P0->>P1: clean Parquet P1->>P2: features P2-->>P0: request next batch
How to read this chart
- 1. Ingest sends "clean Parquet" to Transform.
- 2. Transform sends "features" to Train.
- 3. Ingest gets a reply from Train: "request next batch".