Production Apache Airflow DAGs in Fabric must run on schedule unattended, while development DAGs should stop when idle to save capacity. How do you set this up?
- Exam domain
- Implement and manage an analytics solution30–35% of the exam
- Difficulty
- Hard
- In this mock
- 20 questions on this domainPractise this domain
Why the exam asks this
Implement and manage an analytics solution: Configure Microsoft Fabric workspace settings.
Objective in the exam guide: Configure data workflow workspace settings.
Airflow jobs are Fabric's code-first orchestration. The exam checks the runtime pool settings.
Why A is the answer
Use the starter pool for development and a custom pool for production
Starter pools shut down after inactivity, which suits development. Custom pools are always on until paused, which suits scheduled production DAGs.
How it works
Apache Airflow jobs in Fabric run on a starter pool or a custom pool, set in workspace settings.
The starter pool starts instantly and shuts down after a period of inactivity.
A custom pool is always on until paused, which supports Airflow's own scheduling for production.
Clues in the question
The words that point to the answer, and what each one tells you.
- Run on schedule unattended
- Always-on runtime.
- Stop when idle
- Starter pool behavior.
In detail
- Custom pools are created in workspace settings, under the Apache Airflow runtime settings.
- Custom pools can set node size, extra nodes and autoscale.
Side by side with look-alikes
| Pool | Uptime | Best for |
|---|---|---|
| Starter pool | Shuts down when idle | Development |
| Custom pool | Always on until paused | Production |
| Spark pool | Not the Airflow runtime | Spark jobs |
| Notebook schedule | Not Airflow | Single notebooks |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Use the starter pool for development and a custom pool for productionRight
Starter pools shut down after inactivity, which suits development. Custom pools are always on until paused, which suits scheduled production DAGs.
B. Use the starter pool for bothWrongMost tempting
A starter pool shuts down when idle, so scheduled production DAGs may not run on time.
Why it tempts: It is the default and costs least. But it shuts down when idle, so production schedules can be missed.
C. Use a Spark custom pool for the DAGsWrong
Spark pools run Spark, not the Airflow runtime.
D. Run the DAGs from a notebook on a scheduleWrong
A notebook schedule is not the Airflow scheduler.
In practice
- Turn on autoscale in the custom pool so many DAG tasks can run at peak without a large fixed size.