Recall & Review
beginner
What is a DAG in Airflow?
A DAG (Directed Acyclic Graph) in Airflow is a collection of tasks organized in a way that reflects their relationships and dependencies, defining the order in which tasks run.
Click to reveal answer
beginner
Why is versioning DAGs important in Airflow?
Versioning DAGs helps track changes, avoid conflicts, and safely deploy updates without breaking running workflows.
Click to reveal answer
beginner
Name one common strategy for DAG versioning.
Using Git branches or tags to manage different versions of DAG code is a common strategy.
Click to reveal answer
intermediate
How can you keep multiple versions of a DAG running simultaneously?
By including version numbers in the DAG ID, you can deploy multiple DAG versions side by side in Airflow.
Click to reveal answer
intermediate
What is a risk of not versioning DAGs properly?
Without proper versioning, changes can break workflows, cause data loss, or make it hard to track what code is running.
Click to reveal answer
What does DAG stand for in Airflow?
✗ Incorrect
DAG stands for Directed Acyclic Graph, which is a structure that defines task dependencies in Airflow.
Which method helps run multiple DAG versions simultaneously?
✗ Incorrect
Including version numbers in DAG IDs allows multiple versions to coexist in Airflow.
What tool is commonly used to manage DAG code versions?
✗ Incorrect
Git is widely used to track and manage changes in DAG code.
What is a key benefit of DAG versioning?
✗ Incorrect
Versioning helps deploy updates safely without breaking existing workflows.
What happens if you don’t version DAGs properly?
✗ Incorrect
Improper versioning can cause workflow failures and unpredictable behavior.
Explain why and how you would implement DAG versioning in Airflow.
Think about how software versioning helps manage changes safely.
You got /4 concepts.
Describe a strategy to run multiple versions of the same DAG without conflicts.
Consider how naming helps Airflow distinguish DAGs.
You got /4 concepts.