Workflow Orchestration and Scheduling Questions

Orchestrating multi-step data workflows with DAG schedulers (Airflow, Dagster, and similar tools): dependency management between tasks, scheduling strategies (cron-based, sensor and trigger patterns, event-driven runs), and backfills or catch-up runs for time-partitioned data. Covers task-level retries and idempotent task design, so a scheduler can safely re-run a failed step, plus SLA tracking and alerting when a run is late or missing. The core concern is coordination: given a set of dependent tasks that must run in some order on some schedule, how do you trigger, sequence, and re-run them reliably. This is distinct from whether the data itself stays correct across a failure (exactly-once processing, deduplication, checkpointing, and dead-letter handling for corrupted or poison messages, which is a data-consistency concern) and from how a specific compute engine executes a task internally (Spark or Hadoop mechanics). The operational glue of a data platform: getting the right task to run at the right time, in the right order, with visibility into failures.

MediumSystem Design
48 practiced

Design an orchestration architecture to retrain 50 daily ML models for multiple product lines. Each model consumes ~100M rows of features. Discuss DAG decomposition (feature gen, validation, train, eval, deploy), parallelism strategy, caching/memoization to avoid redundant work, resource isolation, and how to scale the orchestration to support team growth.

EasyTechnical
48 practiced

Compare cron-like schedule_interval, periodic sensor polling, and event-driven triggers for orchestrating pipelines. For each approach, describe pros/cons (latency, cost, complexity), typical use cases (daily ETL vs S3 arrival), and how you would decide which to use for a new data ingestion job.

HardTechnical
46 practiced

Case study: your analytics team discovered a bug that altered revenue calculations for the past 6 months. Create a detailed reprocessing plan including scope identification, compute estimates, partition-level reprocessing, validation tests, updating historical dashboards and reports, stakeholder communications, and scheduling to minimize impact to downstream systems.

EasyTechnical
57 practiced

Explain what a Directed Acyclic Graph (DAG) is in the context of Apache Airflow. Describe key components (DAG object, tasks/operators, schedule_interval, execution_date/run_id), the difference between DAG definition and DAG run, and practical decisions such as catchup=True vs catchup=False with examples of expected behavior.

MediumTechnical
48 practiced

You are asked whether to use Apache Airflow or Dagster for a new set of ETL jobs. Explain the high-level differences that matter in practice: developer experience, observability, dataset awareness, testing support, and deployment model. State when you would recommend each tool.

Unlock Full Question Bank

Get access to all 16 Workflow Orchestration and Scheduling interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.