0
0
Apache Airflowdevops~20 mins

Airflow UI overview - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Airflow UI Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Airflow UI Components

Which Airflow UI component shows the status of all tasks in a DAG run as a grid with time on one axis and tasks on the other?

ATree View
BGantt Chart
CGraph View
DCode View
Attempts:
2 left
💡 Hint

Think about a view that looks like a calendar grid showing task success or failure over time.

💻 Command Output
intermediate
1:30remaining
Identifying Task Status Color in Airflow UI

What color does the Airflow UI use to indicate a task that has failed in the Tree View?

AGreen
BBlue
CYellow
DRed
Attempts:
2 left
💡 Hint

Think about common color codes for errors or failures.

🔀 Workflow
advanced
2:30remaining
Navigating to Task Logs in Airflow UI

You want to check the logs of a specific task instance from the Airflow UI. Which sequence of steps correctly describes how to access the logs?

AOpen the DAG, click on Graph View, then right-click the task and select 'Show Logs'.
BOpen the DAG, go to Code View, find the task code, then click 'View Log'.
COpen the DAG, click on the task in Tree View, then click 'View Log' in the popup.
DOpen the DAG, go to Gantt Chart, click on the task bar, then select 'Download Logs'.
Attempts:
2 left
💡 Hint

Logs are usually accessed by clicking the task in a view showing task statuses.

Troubleshoot
advanced
2:30remaining
Diagnosing Missing DAG in Airflow UI

You deployed a new DAG file to your Airflow DAGs folder, but it does not appear in the Airflow UI. What is the most likely cause?

AThe DAG file has a syntax error preventing it from being parsed.
BThe Airflow webserver service is down.
CThe DAG is paused by default and hidden from the UI.
DThe DAG file is in the wrong folder and not scanned by Airflow.
Attempts:
2 left
💡 Hint

Check if the DAG file can be read and parsed correctly by Airflow.

Best Practice
expert
3:00remaining
Optimizing Airflow UI Performance with Many DAGs

You manage an Airflow instance with hundreds of DAGs, and the UI loads very slowly. Which configuration change best improves UI performance?

AIncrease the webserver worker count to handle more requests.
BEnable DAG serialization and set 'store_serialized_dags' to True in airflow.cfg.
CDisable DAG caching to always load fresh DAGs from files.
DReduce the number of DAGs by deleting old DAG files.
Attempts:
2 left
💡 Hint

Consider how Airflow stores DAG definitions internally for faster UI loading.