Home / Astronomer Apache Airflow 3 Certification / Mock exam
Astronomer Apache Airflow 3 Certification Exam-style mock test

Astronomer Apache Airflow 3 Certification Practice Exams|Practice test

Full explanations Exam format Pass line 70%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · Airflow Architecture & Core Concepts
At a B2B SaaS company, a data engineer wants to understand which Airflow 3 component is responsible for parsing DAG files, evaluating task dependencies, and deciding when each task instance becomes eligible to run. Which component performs this coordination?
✓The scheduler, which parses DAGs, tracks dependency state, and queues eligible task instances for execution
Correct. The scheduler continuously parses DAG files, evaluates dependencies, and enqueues task instances that are ready to run.
・The triggerer, which runs asynchronous deferred tasks and resumes them once their external conditions are met
Incorrect. The triggerer only manages deferred (async) tasks and does not decide overall task eligibility across DAGs.
・The webserver, which renders the user interface and serves REST API responses to connected clients
Incorrect. The webserver presents the UI and API but performs no scheduling logic for task instances.
・The metadata database, which stores the serialized DAGs, connections, variables, and historical run records
Incorrect. The metadata database persists state but does not actively parse DAGs or make scheduling decisions.
Explanation
The scheduler is the brain of Airflow, responsible for DAG parsing, dependency evaluation, and queuing eligible task instances.
Example2 · DAGs, Tasks & Scheduling
A B2B SaaS billing team needs a DAG that runs every weekday at 06:00 UTC to aggregate the prior day's subscription usage. They want the most explicit, timezone-safe scheduling approach in Airflow 3. Which schedule configuration should they use on the DAG?
✓Set schedule="0 6 * * 1-5" and keep the DAG's timezone configured as UTC in the DAG definition
Correct. A cron expression like "0 6 * * 1-5" fires at 06:00 only Monday through Friday, and pinning the DAG timezone to UTC makes the scheduling explicit and timezone-safe.
・Set schedule=timedelta(days=1) and rely on the start_date hour so the DAG only ever triggers on business days at 06:00
Incorrect. timedelta(days=1) runs every day relative to the last run and cannot restrict execution to weekdays, so business-day-only scheduling is not achieved.
・Set schedule="@daily" and add a branch at the top of the DAG that skips all tasks whenever the logical date falls on a weekend
Incorrect. @daily runs seven days a week and a weekend-skipping branch adds needless runs and complexity instead of scheduling only on weekdays.
・Set schedule=None and configure an external system to trigger the DAG through the REST API every weekday morning at the required time
Incorrect. schedule=None disables Airflow's own scheduling and pushes timezone and weekday logic into an external trigger, which is less explicit and harder to audit.
Explanation
Cron expressions give precise control over both time and day-of-week; "0 6 * * 1-5" with a UTC timezone cleanly expresses weekday 06:00 runs.
Example3 · Operators, Hooks & Connections
A data engineer at a B2B SaaS company needs a DAG task that runs an arbitrary Python function to transform subscription records before loading them. Which operator should the engineer choose for this Python-based transformation step?
・The BashOperator, which runs a shell command string on the worker and captures stdout as the task result
Incorrect. The BashOperator runs shell commands, not Python callables, so it is the wrong fit for an in-process Python transformation.
✓The PythonOperator, which calls a provided Python callable and runs it directly on the Airflow worker
Correct. The PythonOperator executes a supplied python_callable directly on the worker, which is exactly what a Python transformation requires.
・The EmptyOperator, which acts as a lightweight placeholder node and performs no execution of any logic
Incorrect. The EmptyOperator is only a structural placeholder and performs no work, so it cannot run the transformation.
・The SQLExecuteQueryOperator, which submits a SQL statement to a configured database connection for execution
Incorrect. The SQLExecuteQueryOperator submits SQL to a database and does not run arbitrary Python code.
Explanation
The PythonOperator is the standard choice when a task must invoke a Python callable on the worker.
Example4 · Assets, Datasets & Data-Aware Scheduling
A healthcare services firm has one DAG that writes a cleaned patient-admissions file, and a separate reporting DAG that should run as soon as that file is refreshed. Which Airflow 3 approach wires these two DAGs together without a time-based schedule?
✓Define an Asset for the admissions file, mark it as an outlet of the producing task, and set the reporting DAG's schedule to that Asset
Correct. Declaring the file as an Asset outlet on the producer and scheduling the consumer on that Asset creates native data-aware scheduling driven by asset updates.
・Give both DAGs the same cron expression so they always run in the same scheduling window each day
Incorrect. Matching cron expressions couples the DAGs to the clock, not to the actual completion of the file write, and can run the report before data is ready.
・Use a sensor in the reporting DAG that polls the file location every few minutes until the producing DAG has written the file
Incorrect. A polling sensor works but wastes slots and reintroduces time-based polling instead of using Airflow 3's native asset-driven triggering.
・Add a TriggerDagRunOperator at the end of the producer DAG that explicitly starts the reporting DAG by its dag_id value
Incorrect. TriggerDagRunOperator imperatively launches the consumer and bypasses the asset mechanism, losing lineage and the data-aware scheduling model.
Explanation
Asset-based scheduling links producer and consumer DAGs declaratively: the producer updates an Asset, and consumers scheduled on that Asset are triggered automatically.
Example5 · Deployment, Monitoring & Astro
A healthcare services firm manages its patient-intake Airflow 3 pipelines in an Astro Deployment. The data team wants to push only updated DAG files to the Deployment quickly without rebuilding and pushing the full container image on every change. Which approach lets them ship DAG code changes the fastest?
✓Enable DAG-only deploys on the Deployment and run 'astro deploy --dags' to upload just the dags directory
Correct. DAG-only deploys package and upload just the dags directory, so code changes ship far faster than a full image build and push.
・Run a full image deploy with 'astro deploy' each time because DAG changes always require a new runtime image build
Incorrect. A full image deploy rebuilds and pushes the whole runtime image, which is slower and unnecessary when only DAG files changed.
・Edit the DAG files directly in the running scheduler pod and restart the scheduler component manually afterward
Incorrect. Editing files inside a running pod is not persisted and is overwritten on the next deploy, so it is not a valid deployment method.
・Commit the DAG files to the Git repository and wait for the nightly scheduled image rebuild to pick them up
Incorrect. Relying on a nightly rebuild delays the change and still performs a full image build rather than a fast DAG-only deploy.
Explanation
Astro supports DAG-only deploys, which upload just the dags directory and are much faster than a full image deploy when only DAG code has changed.
Example6 · Airflow Architecture & Core Concepts
A healthcare services firm runs Airflow 3 to orchestrate nightly claims-processing pipelines. The platform team needs to know which component is responsible for parsing DAG files, evaluating schedules, and deciding when task instances become eligible to run. Which Airflow component performs this responsibility?
・The webserver, which renders the UI and lets analysts manually trigger and monitor each claims-processing DAG run
Incorrect. The webserver only serves the UI and API for monitoring and manual triggering; it does not evaluate schedules or queue task instances.
✓The scheduler, which parses DAGs, evaluates timetables, and queues task instances when their dependencies are satisfied
Correct. The scheduler continuously parses DAGs, evaluates timetables, and queues task instances once their dependencies are met.
・The metadata database, which durably stores the state and history of every DAG run and task instance across restarts
Incorrect. The metadata database stores state and history but does not actively parse DAGs or decide when tasks run.
・The worker, which pulls queued tasks from the broker and executes the actual claims-processing task logic on compute
Incorrect. Workers execute tasks that have already been queued; they do not parse DAGs or make scheduling decisions.
Explanation
The scheduler is the component that parses DAG files, evaluates schedules/timetables, and enqueues task instances for execution once dependencies are satisfied.
Example7 · Airflow Architecture & Core Concepts
At the retailer UrbanThread, a data engineer is explaining how DAGs get executed on their Airflow 3 deployment. Which Airflow component is responsible for parsing DAGs, evaluating schedules, and creating task instances to be queued for execution?
・The webserver, which renders the Airflow UI and also decides which task instances should run based on their configured schedules and dependencies
Incorrect. The webserver renders the UI and serves API requests; it does not evaluate schedules or create task instances for execution.
✓The scheduler, which monitors DAGs and triggers task instances once their dependencies and schedule conditions are met
Correct. The scheduler parses DAGs, evaluates schedules and dependencies, and creates task instances that are queued for the executor and workers.
・The metadata database, which stores DAG definitions and automatically promotes ready task instances into the execution queue
Incorrect. The metadata database persists state such as DAG runs and task instances, but it does not make scheduling decisions on its own.
・The worker, which pulls DAG files directly from storage and determines on its own when each scheduled task should begin running
Incorrect. Workers execute tasks that have already been scheduled and queued; they do not decide when scheduled tasks should begin.
Explanation
The scheduler is the heart of Airflow's orchestration: it continuously parses DAGs, checks schedules and dependencies, and creates task instances to be executed.
Example8 · Airflow Architecture & Core Concepts
UrbanThread runs a Celery-based Airflow 3 deployment. A new engineer asks what the executor actually does once the scheduler has decided a task instance is ready. Which statement best describes the executor's responsibility?
・It parses the DAG files on a recurring interval and recalculates the schedule for every task instance before any of them can be dispatched to workers
Incorrect. Parsing DAGs and recalculating schedules is the scheduler's job, not the executor's.
✓It determines how and where queued task instances are run, handing them off to the appropriate workers or execution environment
Correct. The executor is the mechanism that defines how queued task instances are run, dispatching them to workers or the appropriate execution environment.
・It stores the final results and logs of each task instance so the webserver can later display them to users in the Airflow UI
Incorrect. Storing results and logs is handled by the metadata database and log storage, not by the executor.
・It renders the Grid and Graph views in the Airflow UI and lets users manually trigger or clear individual task instances
Incorrect. Rendering UI views and enabling manual actions is the role of the webserver, not the executor.
Explanation
The executor is the component that defines how task instances are run, whether locally, via Celery workers, or on Kubernetes pods.
Example9 · Airflow Architecture & Core Concepts
At UrbanThread, an 'ingest_orders' DAG writes a cleaned orders table, and a downstream 'orders_report' DAG must run only after that table is refreshed. The team wants Airflow 3 to trigger the report automatically when the data is updated, without a fixed time schedule. How should they wire this up?
・Give both DAGs identical cron schedules so they always run back-to-back, relying on run order to guarantee the report sees fresh data every day
Incorrect. Matching cron schedules does not guarantee ordering or data freshness and creates brittle timing dependencies.
✓Define an Asset for the orders table, have ingest_orders produce it and schedule orders_report on that asset so it runs when the asset updates
Correct. In Airflow 3, defining an Asset, producing it from ingest_orders, and scheduling orders_report on that asset gives event-driven, data-aware triggering.
・Add a sensor task to orders_report that repeatedly polls the orders table and only completes once it detects that new rows have appeared
Incorrect. A polling sensor works but wastes resources and is not the asset-driven, data-aware scheduling pattern Airflow 3 provides.
・Use a TriggerDagRunOperator at the end of ingest_orders that directly calls and starts the orders_report DAG once the ingest finishes
Incorrect. TriggerDagRunOperator couples the DAGs imperatively and bypasses the asset-based data-aware scheduling model.
Explanation
Airflow 3 assets enable data-aware scheduling: a consumer DAG scheduled on an asset runs automatically when a producer updates that asset.
Example10 · Airflow Architecture & Core Concepts
A financial services firm runs Airflow 3 to orchestrate nightly settlement reconciliation DAGs. The platform team needs to understand which component is responsible for parsing DAG files, evaluating schedules, and creating task instances to be queued for execution. Which component performs this responsibility?
・The webserver, which renders the Airflow UI and also triggers task instances when their upstream dependencies have all completed successfully
Incorrect. The webserver only serves the UI and API; it does not schedule or trigger task instances based on dependencies.
✓The scheduler, which parses DAGs, evaluates timetables, and creates task instances that are enqueued for workers to run
Correct. The scheduler parses DAG files, evaluates timetables, resolves dependencies, and creates task instances enqueued for execution.
・The metadata database, which stores DAG state and directly dispatches queued task instances to the available worker processes
Incorrect. The metadata database persists state but is passive; it does not dispatch task instances to workers on its own.
・The worker, which continuously polls DAG files and schedules the next task instance after finishing the current one it executed
Incorrect. Workers execute tasks handed to them by the executor; they do not parse DAGs or decide scheduling.
Explanation
The scheduler is the heart of orchestration in Airflow: it parses DAGs, evaluates timetables, resolves dependencies, and creates task instances to be queued. The webserver serves UI/API, the database persists state passively, and workers only execute assigned tasks.
Example11 · Airflow Architecture & Core Concepts
A payments company wants to scale task execution across a Kubernetes cluster so each task runs in its own isolated pod. A platform engineer is deciding which part of the Airflow architecture determines how and where queued task instances actually get run. Which component governs this behavior?
・The timetable, which defines when a DAG run is created and then selects the compute backend where each task instance will be launched
Incorrect. A timetable only decides when DAG runs occur; it has nothing to do with the compute backend for tasks.
✓The executor, which defines the mechanism for running queued task instances against a chosen compute backend
Correct. The executor is the configurable mechanism that defines how and where queued task instances are run (e.g., Local, Celery, Kubernetes).
・The metadata database, which both records task state and provisions the compute backend used to run every queued task instance
Incorrect. The metadata database records state but does not provision compute or run tasks.
・The DAG processor, which parses files and then launches each parsed task directly onto the configured compute backend
Incorrect. The DAG processor parses DAG files into serialized form; it does not launch tasks on compute backends.
Explanation
The executor is the pluggable component that defines how queued task instances are run and on what compute backend. The KubernetesExecutor, for example, launches each task in its own pod. Timetables schedule runs, the database stores state, and the DAG processor parses files.
Example12 · Airflow Architecture & Core Concepts
At a manufacturing distributor, the data team notices that newly committed DAG files for nightly inventory reconciliation are not appearing in the Airflow 3 UI, even though worker slots are free and the metadata database is healthy. Which Airflow component is primarily responsible for reading the DAG files and serializing them so they become visible for scheduling?
✓The DAG processor, which parses the DAG files and writes the serialized DAG definitions into the metadata database
Correct. In Airflow 3 the DAG processor parses DAG files on a schedule and serializes them into the metadata database, so parsing failures or a stopped processor prevent DAGs from appearing.
・The triggerer, which asynchronously waits on deferred sensors and defers long-running tasks off the worker
Incorrect. The triggerer handles deferred/async operators and sensors; it does not parse DAG files or make them visible for scheduling.
・The executor, which hands task instances to workers and tracks their slot availability
Incorrect. The executor dispatches already-scheduled task instances to workers but has no role in reading or serializing DAG files.
・The webserver, which renders the grid and graph views by querying task state
Incorrect. The webserver reads serialized DAGs to render views but relies on the processor having already parsed and stored them.
Explanation
DAG visibility depends on the DAG processor successfully parsing and serializing files into the metadata DB; a stalled or erroring processor is the typical cause of missing DAGs.
Example13 · Airflow Architecture & Core Concepts
The distributor's order-fulfillment DAG is enabled and valid, but no new DAG runs are being created even though its schedule interval has clearly passed. Worker capacity is available and the database is reachable. Which component's absence or failure most directly explains why DAG runs are never created?
✓The scheduler, because it evaluates each DAG's timetable and creates DAG runs plus the schedulable task instances
Correct. The scheduler reads each DAG's timetable, creates DAG runs when intervals are due, and schedules the eligible task instances; if it is down, no runs appear.
・The triggerer process, which resumes deferred tasks once their external condition is finally satisfied
Incorrect. The triggerer only resumes deferred tasks; it plays no part in creating DAG runs from a schedule.
・A running worker, because tasks cannot be queued until a worker registers its free capacity
Incorrect. Workers execute queued tasks but do not create DAG runs, and task queuing happens after the scheduler acts.
・The API server, which authenticates UI logins and exposes the REST endpoints
Incorrect. The API server handles auth and REST access but does not evaluate timetables or create DAG runs.
Explanation
Creating DAG runs from a timetable is squarely the scheduler's job, so a stopped scheduler explains runs never being created despite a valid, enabled DAG.
Example14 · Airflow Architecture & Core Concepts
A telecom operator runs its nightly billing pipeline on Airflow 3. The platform team wants to know which component is responsible for parsing DAG files, evaluating schedules, and deciding which task instances are ready to run. Which Airflow component performs this responsibility?
・The webserver, which renders the Airflow UI and also continuously evaluates DAG timetables to enqueue ready task instances
Incorrect. The webserver only serves the UI and API; it does not evaluate timetables or schedule task instances.
✓The scheduler, which parses DAG files, evaluates timetables, and queues task instances once their dependencies are satisfied
Correct. The scheduler parses DAGs, evaluates timetables, and queues task instances when dependencies are met.
・The metadata database, which stores DAG run state and directly triggers task instances when their upstream dependencies complete
Incorrect. The metadata database stores state but does not actively evaluate schedules or trigger tasks on its own.
・The triggerer, which monitors deferred tasks and submits their task instances to the executor as soon as they become ready
Incorrect. The triggerer only handles deferred (async) tasks waiting on triggers, not general scheduling of all tasks.
Explanation
The scheduler is the component that parses DAG files, evaluates timetables, and determines which task instances are ready to be queued for execution.
Example15 · Airflow Architecture & Core Concepts
The telecom operator's data team sees queued task instances in the UI and asks what actually hands those queued tasks off to the underlying compute where they run. Which component is responsible for this handoff?
・The webserver, because it exposes the task queue through the REST API and dispatches queued tasks directly to available worker processes
Incorrect. The webserver serves the UI and API; it does not dispatch queued tasks to compute.
✓The executor, which determines how and where queued task instances are run and sends them to the configured workers or compute
Correct. The executor decides how and where queued task instances run and sends them to workers or compute.
・The metadata database, because it persists the task queue and signals compute resources to pull and execute queued task instances
Incorrect. The database stores state but does not push tasks to compute resources.
・The scheduler, which both queues task instances and directly executes them inside its own process to minimize scheduling latency
Incorrect. The scheduler queues tasks but delegates actual execution to the executor, not itself.
Explanation
The executor is the mechanism that determines how and where queued task instances are run, handing them off to workers or other compute.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)