InterviewStack.io LogoInterviewStack.io

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.

EasyTechnical
41 practiced

You're operating a daily ingestion task that sometimes fails due to transient API timeouts. Describe an appropriate retry and backoff strategy in a workflow orchestrator, how to distinguish retryable vs non-retryable errors, and how to ensure retries do not create duplicate side effects when interacting with external systems.

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.

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.

MediumTechnical
53 practiced

You need to reprocess only the last 7 days of data due to a schema change while minimizing compute and ensuring downstream datasets update atomically. Propose an orchestration strategy including dataset versioning, compaction, and consumer notifications so that consumers see either old or fully reprocessed data, not a mixture.

HardTechnical
45 practiced

Design pseudocode for a scalable S3 'file-available' monitoring system that needs to efficiently track 100k prefixes without spawning 100k long-running sensors. Include batching, last-known-state caching, exponential backoff, and integration with S3 event notifications to minimize polling and cost. Explain consistency concerns and recovery after downtime.

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.