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
55 practiced

A pipeline task that usually finishes in 2 minutes now takes 20 minutes, causing downstream delays. Outline a debugging approach: what orchestration logs, resource metrics, data volume changes, and recent code or schema changes would you check, and in what order given the time pressure?

HardSystem Design
80 practiced

Design a highly available orchestration platform to handle 10,000 DAG runs per day and sustain 50,000 tasks per hour during peaks. Requirements: multi-region availability, per-team isolation, scheduling latency under 1s for ready tasks, support for backfills and ad-hoc runs, integration with Kubernetes workers, and a reasonable cost budget. Describe components, metadata storage, leader election, scaling strategies, and common failure modes.

MediumTechnical
42 practiced

Design an alerting strategy for an external API ingestion that sometimes returns partial or delayed data. Specify what metrics to monitor, how to detect missing or delayed records, appropriate alert thresholds, who to page, and what automated remediation (if any) should run before paging a human.

MediumSystem Design
57 practiced

You need to refactor a monolithic Airflow DAG into smaller DAGs with clear interfaces and failure isolation. Provide the decomposition plan, how to run and validate integration tests locally, how to sequence the migration, and a communication plan to notify downstream consumers and SRE.

HardTechnical
57 practiced

You observe cascading failures in task executors due to resource starvation under high load. Describe an approach to instrument, detect, and mitigate resource starvation, including admission controls, resource quotas, priority classes, rate limiting, and emergency throttles.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.