0
0
Apache Airflowdevops~5 mins

Authentication backends (LDAP, OAuth) in Apache Airflow - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is LDAP in the context of authentication backends?
LDAP (Lightweight Directory Access Protocol) is a protocol used to access and manage directory information services. In authentication, it helps verify user credentials against a central directory like Active Directory.
Click to reveal answer
beginner
What does OAuth provide in authentication systems?
OAuth is an open standard for access delegation. It allows users to grant limited access to their resources on one site to another site without sharing their credentials.
Click to reveal answer
intermediate
How does Airflow use LDAP for authentication?
Airflow can be configured to use LDAP to authenticate users by connecting to an LDAP server and verifying user credentials during login.
Click to reveal answer
intermediate
What is a key benefit of using OAuth over traditional username/password authentication?
OAuth allows users to authenticate using third-party providers (like Google or GitHub) without sharing passwords, improving security and user convenience.
Click to reveal answer
beginner
Name two common authentication backends supported by Airflow.
Airflow supports LDAP and OAuth as common authentication backends to manage user access.
Click to reveal answer
What does LDAP stand for?
ALocal Data Access Program
BLinked Data Authentication Process
CLightweight Directory Access Protocol
DLogical Directory Access Path
Which of the following best describes OAuth?
AA file transfer protocol
BA database for storing user credentials
CA programming language
DA protocol for delegating access without sharing passwords
In Airflow, what is the purpose of configuring an LDAP backend?
ATo manage database connections
BTo authenticate users against a directory service
CTo schedule tasks
DTo store workflow logs
Which is a common OAuth provider used for authentication?
AGoogle
BMySQL
CApache
DDocker
What is a main advantage of using OAuth in applications?
AUsers don’t need to share their passwords with the app
BIt stores passwords securely in the app
CIt speeds up database queries
DIt encrypts all network traffic
Explain how LDAP and OAuth differ as authentication backends and give an example of when you might use each in Airflow.
Think about internal vs external user authentication.
You got /4 concepts.
    Describe the steps to configure Airflow to use LDAP for user authentication.
    Focus on configuration settings in Airflow.
    You got /4 concepts.