Recall & Review
beginner
What is Apache Airflow used for?
Apache Airflow is a tool to help schedule and manage workflows or tasks automatically, like setting reminders to do chores but for computer jobs.
Click to reveal answer
beginner
Which command installs Apache Airflow using pip with constraints?
Use
pip install apache-airflow==2.7.1 --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.7.1/constraints-3.12.txt to install Airflow safely with matching dependencies.Click to reveal answer
intermediate
Why do we use constraints file when installing Airflow?
Constraints file locks the versions of Airflow dependencies to avoid conflicts and errors, like following a recipe exactly to bake a cake.
Click to reveal answer
beginner
What is the purpose of initializing the Airflow database?
Initializing the database sets up the place where Airflow stores info about tasks and workflows, like setting up a notebook to track your to-do list.
Click to reveal answer
beginner
How do you start the Airflow web server locally?
Run
airflow webserver --port 8080 to start the Airflow web interface on your computer at port 8080.Click to reveal answer
What is the first step to install Airflow locally?
✗ Incorrect
Setting up a Python virtual environment keeps Airflow installation clean and isolated.
Which command installs Airflow with the correct dependencies?
✗ Incorrect
Using the exact version and constraints URL ensures compatible dependencies.
What does the command
airflow db init do?✗ Incorrect
It sets up the database Airflow uses to track workflows and tasks.
Which port does Airflow webserver use by default when started locally?
✗ Incorrect
Port 8080 is the default for Airflow webserver.
Why is it recommended to use a virtual environment for Airflow?
✗ Incorrect
Virtual environments keep project dependencies separate and avoid conflicts.
Describe the steps to install Apache Airflow locally on your computer.
Think about preparing your workspace, installing, setting up storage, and then running the app.
You got /4 concepts.
Explain why using a constraints file is important when installing Airflow.
Consider how following exact instructions helps avoid mistakes.
You got /4 concepts.