Practice: Airflow problems
Practice tracks: PySpark & SQL (84) · dbt (25) · Airflow (10) · Python (52)
10 free Apache Airflow 3 interview problems: write real DAG files with schedules, catchup, retries, trigger rules and branching, graded run by run.
Schedules & catchup
cron schedules, Airflow 3 timetables, catchup, end_date and max_active_runs.
- Your First Daily DAG · Easy
- Backfill January, One Day at a Time · Medium
Templates & dates
Jinja templates, ds and logical_date in Airflow 3, macros and idempotent reruns.
- Load Yesterday's Partition · Medium
Retries & failures
retries, retry_delay, default_args and what upstream_failed means.
Trigger rules
all_done, one_failed and friends, and how a run gets its state from the leaves.
Branching
branch tasks, skipped tasks and the join after a branch.
XCom
return values, xcom_pull in templates and small values passed between tasks.
- Pass the File Path Downstream · Medium
Task groups
TaskGroup, prefixed task ids and dependencies between groups.
- Two Regions, One Publish · Medium
Ordering & concurrency
depends_on_past, wait_for_downstream and max_active_tis_per_dag.
- One Export at a Time · Medium
- Each Day Waits for Yesterday · Hard