Complete the code to start the Airflow scheduler service.
airflow [1]The correct command to start the Airflow scheduler is airflow scheduler.
Complete the code to start the Airflow webserver on port 8080.
airflow webserver [1] 8080
The correct flag to specify the port is --port.
Fix the error in the executor configuration line to use the CeleryExecutor.
executor = [1]ExecutorThe correct executor name is CeleryExecutor to enable distributed task execution.
Fill both blanks to complete the metadata database connection string for PostgreSQL.
sql_alchemy_conn = postgresql+psycopg2://[1]:[2]@localhost/airflow
The connection string requires the username and password. Here, airflow_user is the username and password123 is the password.
Fill all three blanks to define a DAG with a schedule interval and default arguments.
dag = DAG(dag_id='example_dag', default_args=[1], schedule_interval=[2], catchup=[3])
The default_args is a dictionary with owner and start_date. The schedule_interval is '@daily' for daily runs. catchup is set to False to avoid running past missed intervals.