Challenge - 5 Problems
Airflow RBAC Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
Understanding Airflow RBAC Roles
In Apache Airflow's RBAC system, which role has the ability to create and edit DAGs but cannot manage users or roles?
Attempts:
2 left
💡 Hint
Think about roles that allow operational control but restrict user management.
✗ Incorrect
The Op role in Airflow RBAC allows users to create and edit DAGs but does not grant permissions to manage users or roles. The Admin role has full permissions, User can trigger DAGs but not edit, and Viewer can only view.
💻 Command Output
intermediate2:00remaining
Output of Airflow RBAC User Creation Command
What is the output of the following command when creating a new Airflow user with RBAC enabled?
airflow users create --username testuser --firstname Test --lastname User --role Viewer --email testuser@example.com
Apache Airflow
airflow users create --username testuser --firstname Test --lastname User --role Viewer --email testuser@example.com
Attempts:
2 left
💡 Hint
Assuming the Viewer role exists and the username is new.
✗ Incorrect
If the role exists and the username is not taken, Airflow confirms user creation with a success message.
❓ Configuration
advanced2:00remaining
Configuring Airflow to Enable RBAC
Which configuration change in airflow.cfg enables the RBAC UI and security features?
Apache Airflow
[webserver]
# What should be set to True to enable RBAC?Attempts:
2 left
💡 Hint
Check the official Airflow configuration for the webserver section.
✗ Incorrect
The correct setting is rbac = True under the [webserver] section to enable RBAC UI and security.
❓ Troubleshoot
advanced2:00remaining
Troubleshooting Airflow RBAC Permission Denied Error
A user with the 'User' role tries to access the Airflow Admin panel but gets a '403 Forbidden' error. What is the most likely cause?
Attempts:
2 left
💡 Hint
Consider what permissions the 'User' role typically has.
✗ Incorrect
The 'User' role in Airflow RBAC does not have admin panel access permissions, causing the 403 error.
🔀 Workflow
expert3:00remaining
Sequence to Add a New RBAC Role with Custom Permissions
What is the correct order of steps to add a new custom role with specific permissions in Airflow RBAC?
Attempts:
2 left
💡 Hint
Think about the logical UI navigation flow.
✗ Incorrect
You must first log in as Admin, then go to the roles list, add a new role, and finally assign permissions before saving.