Recall & Review
beginner
What is a DAG in Airflow?
A DAG (Directed Acyclic Graph) is a collection of tasks organized with dependencies, defining the order in which tasks run in an Airflow pipeline.
Click to reveal answer
beginner
How does DAG design affect pipeline reliability?
Good DAG design ensures tasks run in the correct order without loops, preventing failures and making the pipeline predictable and stable.
Click to reveal answer
intermediate
Why must a DAG be acyclic?
A DAG must have no cycles to avoid infinite loops where tasks keep triggering each other endlessly, which would break the pipeline.
Click to reveal answer
intermediate
What happens if task dependencies are not clearly defined in a DAG?
If dependencies are unclear, tasks may run out of order or simultaneously causing errors, data issues, or pipeline failures.
Click to reveal answer
advanced
How can modular DAG design improve pipeline reliability?
Breaking a pipeline into smaller, reusable DAGs or tasks makes it easier to manage, test, and fix issues, improving overall reliability.
Click to reveal answer
What does DAG stand for in Airflow?
✗ Incorrect
DAG stands for Directed Acyclic Graph, which is the structure Airflow uses to organize tasks.
Why must a DAG be acyclic?
✗ Incorrect
Cycles cause infinite loops where tasks keep triggering each other, breaking the pipeline.
What is a key benefit of clear task dependencies in a DAG?
✗ Incorrect
Clear dependencies make sure tasks run in the right sequence, avoiding errors.
How does modular DAG design help reliability?
✗ Incorrect
Modular design breaks pipelines into smaller parts, making them easier to maintain and troubleshoot.
What can happen if a DAG has unclear dependencies?
✗ Incorrect
Unclear dependencies can cause tasks to run incorrectly, leading to errors.
Explain why the design of a DAG is crucial for the reliability of an Airflow pipeline.
Think about how tasks depend on each other and what happens if they don't.
You got /5 concepts.
Describe how modular DAG design can improve pipeline reliability and maintenance.
Consider how smaller parts are easier to handle than one big piece.
You got /4 concepts.