DataDriven
LearnPracticeInterviewDiscussDailyJobs

A pipeline on the canvas runs as a single monolithic Python task that does extract+clean+aggregate i

A medium Pipeline Design interview practice problem on DataDriven. Write and execute real pipeline design code with instant grading.

Domain
Pipeline Design
Difficulty
medium

Problem

A pipeline on the canvas runs as a single monolithic Python task that does extract+clean+aggregate inside one operator. The team is debating whether to add a single DAG-level retry that re-runs the whole DAG on any failure. Apply the task-DAG-run vocabulary this section just taught and reject the DAG-level retry approach. Retries operate on task instances (one task in one run), not on DAGs; re-running the whole DAG repeats successful work. Split the monolith into three distinct task nodes (extract_orders, clean_orders, aggregate_orders) so each retries independently when it fails. The orchestrator (already present) owns the schedule and the per-task retry policy; the structural split is what makes per-task retry meaningful.

Practice This Problem

Solve this Pipeline Design problem with real code execution. DataDriven runs your solution and grades it automatically.

Related

  • All Practice Problems
  • Mock Interview Mode
  • System Design Interview Questions
  • Data Engineering Interview Prep Guide
  • Daily Challenge
  • Data Engineering Lessons