Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to set task1 to run before task2 using the >> operator.
Apache Airflow
task1 [1] task2 Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using << instead of >> reverses the order.
✗ Incorrect
The >> operator sets the left task to run before the right task.
2fill in blank
mediumComplete the code to set task3 to run after task4 using the << operator.
Apache Airflow
task3 [1] task4 Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using >> instead of << reverses the dependency.
✗ Incorrect
The << operator sets the left task to run after the right task.
3fill in blank
hardFix the error in the code to correctly set taskA to run before taskB.
Apache Airflow
taskA [1] taskB Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing << and >> operators.
✗ Incorrect
To set taskA before taskB, use >>. Using << reverses the order.
4fill in blank
hardFill both blanks to set taskX to run before taskY and taskY to run before taskZ.
Apache Airflow
taskX [1] taskY [2] taskZ
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing << and >> operators incorrectly.
✗ Incorrect
Using >> sets the order: taskX before taskY, and taskY before taskZ.
5fill in blank
hardFill all three blanks to set task1 before task2, task3 after task2, and task4 before task3.
Apache Airflow
task1 [1] task2 task3 [2] task2 task4 [3] task3
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing the direction of << and >> operators.
✗ Incorrect
Use >> for 'before' and << for 'after' to set correct dependencies.