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.

MediumTechnical
44 practiced

Explain how to implement graceful task termination and cleanup for long-running jobs in orchestrators. Cover how to signal workers, checkpoint progress, handle partial outputs, and make sure resources are reclaimed in cloud environments.

HardTechnical
49 practiced

Design an approach to prioritize reprocessing when a bug affects many datasets but resources are constrained. How would you score datasets by business impact, freshness, downstream fan-out, and cost to recompute, and use that score to schedule backfills?

MediumTechnical
56 practiced

Explain the difference between pipeline-level concurrency, DAG-level parallelism, and task-level parallelism. How do Airflow executors (LocalExecutor, CeleryExecutor, KubernetesExecutor) influence these types of parallelism, and what are trade-offs in resource isolation, scalability, and operational complexity?

MediumTechnical
51 practiced

Outline or implement an Airflow Sensor operator in Python that waits for S3 prefixes matching 's3://bucket/incoming/date=YYYY-MM-DD/' to appear. Requirements: poll with exponential backoff starting at 30s up to 10m, support soft_fail flag, and be compatible with Airflow 2. Describe how you'd test and scale this sensor.

HardTechnical
48 practiced

A scheduled hourly DAG frequently queues hundreds of small tasks and the scheduler itself becomes a bottleneck, delaying end-to-end freshness. What architectural or configuration changes would you propose to reduce scheduler pressure?

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.