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

An hourly-aggregate DAG failed 3 hours ago and only has partial outputs for some hours, but a report needs to publish now. What temporary strategies would you use to provide reasonable values while making sure consumers understand the caveats? Discuss short-term workarounds and the longer-term fix.

EasySystem Design
46 practiced

Design a simple nightly batch ETL DAG using Apache Airflow: show DAG structure, task types (extract, transform, load), sensors or dependencies for upstream data availability, retry and SLA settings, how to prevent concurrent runs, how to capture lineage/metadata, and how you would alert on failures. Be specific about operator choices and scheduling parameters.

HardTechnical
42 practiced

Write a robust Python pseudo-implementation (Airflow DAG pseudocode is acceptable) that orchestrates nightly dbt runs, materializes models to Snowflake, runs data quality checks, and posts success or failure alerts to Slack. Explain retry logic, idempotency considerations, and how you would expose run metadata for dashboarding and audits.

MediumTechnical
43 practiced

Implement an exponential backoff retry decorator in Python suitable for use in task code executed by an orchestrator. Requirements: parameters for max_retries, initial_delay, max_delay, exponential_factor, jitter boolean; must be thread-safe and should not swallow unexpected exceptions. Describe the function signature and how you would integrate it with a scheduler's native retry mechanism.

MediumTechnical
41 practiced

Compare orchestration and transformation tools such as Apache Airflow, dbt, and managed extract services (Fivetran/ Stitch). For a modern ELT pipeline that loads SaaS connectors into Snowflake and transforms business models, describe the role each tool would play and why.

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.