Authoring and Scheduling DAGs Study Guide — Apache Airflow 3 Fundamentals

35% of the exam · domain 2 of 4 · Astronomer Apache Airflow 3 Fundamentals · Free Authoring and Scheduling DAGs practice questions

0 of 23 topics covered
What the exam asks here — tap to tick off0 / 6 covered
Domain 2 of 4

Authoring and Scheduling DAGs – Fundamentals Study Guide

This is the largest domain (~35% of the exam) and covers writing DAGs in Python and controlling when they run. The highest-value topics are scheduling (presets, cron, start_date), the catchup/backfill behavior, and setting task dependencies. Get comfortable with >>/<<, cron basics, and the logical-date concept and this domain scores well.


Defining a DAG

A DAG is a Python object with a dag_id (its unique identifier), a schedule, a start_date, and usually default_args (parameters applied to all its tasks). Tasks are created by instantiating operators inside the DAG.

default_args is a dictionary of shared task parameters — commonly owner, retries, retry_delay, email_on_failure — applied to every task unless overridden.


Scheduling

Presets cover common cases:

PresetMeaning
@onceRun one time
@hourlyEvery hour (0 * * * *)
@dailyEvery day at midnight (0 0 * * *)
@weekly / @monthlyWeekly / monthly
NoneNo automatic schedule (manual/triggered only)

Cron expressions give precise control. Field order: minute hour day-of-month month day-of-week. Example: 0 6 * * 1 = 06:00 every Monday.


Unlock with a paid plan

5 more sections (about 322 words) continue below. Every paid plan unlocks all Apache Airflow 3 Fundamentals study guides, the full question bank and mock exams, from $4.97/month.