Recall & Review
beginner
What is Apache Airflow used for in ML projects?
Apache Airflow helps automate and schedule tasks in machine learning workflows, like data preparation, model training, and deployment.
Click to reveal answer
beginner
What is a DAG in Apache Airflow?
A DAG (Directed Acyclic Graph) is a set of tasks with dependencies that Airflow runs in order, representing the workflow steps.
Click to reveal answer
intermediate
How does Airflow ensure tasks run in the correct order?
Airflow uses dependencies defined in the DAG to run tasks only after their upstream tasks have completed successfully.
Click to reveal answer
beginner
Name two common operators used in Airflow for ML workflows.
PythonOperator to run Python code and BashOperator to run shell commands are common operators in ML workflows.
Click to reveal answer
intermediate
Why is Airflow useful for retraining ML models regularly?
Airflow can schedule retraining tasks automatically at set intervals, ensuring models stay updated without manual work.
Click to reveal answer
What does DAG stand for in Apache Airflow?
✗ Incorrect
DAG means Directed Acyclic Graph, which defines the order of tasks in Airflow.
Which Airflow component defines the workflow steps and their order?
✗ Incorrect
The DAG defines the workflow steps and their dependencies.
Which operator would you use to run a Python function in Airflow?
✗ Incorrect
PythonOperator runs Python code inside Airflow tasks.
How does Airflow handle task failures by default?
✗ Incorrect
Airflow retries failed tasks based on retry settings before marking them as failed.
What is a key benefit of using Airflow for ML model retraining?
✗ Incorrect
Airflow schedules retraining tasks automatically to keep models updated.
Explain how Apache Airflow helps manage machine learning workflows.
Think about how Airflow organizes and runs steps like data prep and model training.
You got /5 concepts.
Describe the role of operators in Airflow and name two used in ML pipelines.
Operators are like tools Airflow uses to do work.
You got /4 concepts.