06 December 2026

#Apache Airflow

Key Concepts


S.NoTopicSub Topic
1 Airflow Architecture Scheduler, DAG Processor, Executor, Worker, Metadata Database, Triggerer
2 DAG Development DAG Definition, Start Date, Schedule, Catchup, Tags, Default Arguments
3 Scheduling Cron Expressions, Timetables, Logical Date, Data Interval, Backfill
4 TaskFlow API @dag , @task , Task Dependencies, Return Values, TaskFlow vs Operators
5 Operators PythonOperator, BashOperator, SQL Operators, BranchPythonOperator, ShortCircuitOperator
6 Task Dependencies Upstream, Downstream, Fan-In, Fan-Out, Dependency Chains
7 XCom Push and Pull, Automatic XCom, TaskFlow Return Values, Serialization, XCom Backend
8 Dynamic Task Mapping Runtime Task Expansion, expand() , partial() , Map and Reduce
9 Trigger Rules all_success , all_done , none_failed , one_success , Conditional Execution
10 Sensors FileSensor, ExternalTaskSensor, Poke Mode, Reschedule Mode, Deferrable Sensors
11 Task Groups TaskGroup, Nested Groups, Group Dependencies, Dynamic Task Mapping
12 ETL Pipeline Design Extract, Transform, Load, Incremental Loads, Full Loads, Batch Processing
13 SQL and Database Integration SQL Hooks, Database Connections, Transactions, Upserts, Bulk Loading
14 Java Batch Integration JAR Execution, Bash Integration, Exit Codes, Process Monitoring, Error Handling
15 Idempotency and Recovery Duplicate Prevention, Checkpoints, Atomic Writes, Reruns, Partial Failure Recovery
16 Error Handling and Retries Retry Count, Retry Delay, Exponential Backoff, Execution Timeout, Failure Callbacks
17 Connections and Variables Airflow Connections, Variables, Secrets Backend, Environment Variables, Credential Management
18 Jinja Templates Template Fields, Macros, Logical Date, Data Interval, Dynamic SQL
19 Executors and Workers LocalExecutor, CeleryExecutor, KubernetesExecutor, Worker Queues, Parallel Execution
20 Concurrency and Performance Parallelism, Pools, Task Concurrency, Max Active Runs, Scheduler Performance
21 Monitoring and Alerting Airflow UI, Task Logs, Email Alerts, Callbacks, Prometheus, Grafana
22 Troubleshooting DAG Import Errors, Stuck Tasks, Scheduler Failures, Zombie Tasks, Worker Failures
23 Data Quality Row Count Validation, Null Checks, Schema Validation, Business Rules, Data Reconciliation
24 Testing DAG Import Tests, Pytest, Task Unit Tests, Mocking Hooks, Integration Tests
25 CI/CD and Deployment Git, Automated Testing, Docker Images, Environment Promotion, Rollback
26 Security RBAC, Authentication, Authorization, Secrets Management, TLS, Least Privilege
27 Docker and Kubernetes Docker Compose, KubernetesPodOperator, Helm, Resource Limits, Worker Scaling
28 Airflow REST API Trigger DAG Runs, Monitor Tasks, API Authentication, External System Integration
29 Advanced Integrations Apache Spark, Kafka, dbt, Databricks, Object Storage, OpenLineage
30 Production Architecture High Availability, Disaster Recovery, Capacity Planning, Large-Scale DAGs, Airflow 2.x to 3.x Migration

Interview Question



What is Apache Airflow, and what are its primary features?
What are the main components of Apache Airflow architecture?
What is a DAG in Apache Airflow?
What are the key characteristics of a DAG?
What is an Operator in Apache Airflow?
What are the different types of Operators available in Airflow?
What is the difference between an Operator, Task, and DAG?
What is a Task Instance in Apache Airflow?
What is the role of the Airflow Scheduler?
What is the role of the Airflow Executor?
What is the role of the Airflow Webserver?
What is the purpose of the Airflow Metadata Database?
What is the role of the DAG Processor?
What are the different Executor types in Apache Airflow?
What is the difference between SequentialExecutor and LocalExecutor?
What is the difference between LocalExecutor and CeleryExecutor?
What is KubernetesExecutor in Apache Airflow?
How does Apache Airflow schedule DAG executions?
What is a DAG Run in Apache Airflow?
What is the difference between a DAG Run and a Task Instance?
What is the purpose of the start_date parameter in a DAG?
What is the purpose of the schedule parameter in Apache Airflow?
What is the difference between schedule_interval and timetable?
What is a cron expression, and how is it used in Airflow?
What is the difference between catchup and backfill?
What is the purpose of the catchup parameter?
What is the difference between logical date and execution date?
What is data interval in Apache Airflow?
What are the different task states in Apache Airflow?
What is the difference between success, failed, skipped, and upstream_failed states?
What are task dependencies in Apache Airflow?
How do you define task dependencies in a DAG?
What is the difference between set_upstream() and set_downstream()?
What are trigger rules in Apache Airflow?
What are the different trigger rules available in Airflow?
What is the difference between all_success and all_done trigger rules?
What is BranchPythonOperator, and when would you use it?
What is ShortCircuitOperator in Apache Airflow?
What is the difference between BranchPythonOperator and ShortCircuitOperator?
What is the purpose of DummyOperator or EmptyOperator?
What is PythonOperator, and how do you use it?
What is BashOperator, and when would you use it?
What is the purpose of the EmailOperator?
What is the difference between PythonOperator and BashOperator?
What is a Sensor in Apache Airflow?
What are the different types of Sensors available in Airflow?
What is the difference between a Sensor and an Operator?
What is the difference between poke mode and reschedule mode in Sensors?
What is the purpose of timeout and poke_interval in a Sensor?
What is ExternalTaskSensor, and how does it work?
What is FileSensor, and how do you use it?
What is HttpSensor in Apache Airflow?
What is the purpose of the PythonSensor?
What are TaskFlow API decorators in Apache Airflow?
What is the purpose of the @dag decorator?
What is the purpose of the @task decorator?
What is the difference between TaskFlow API and traditional Operators?
How do you pass data between tasks in Apache Airflow?
What is XCom in Apache Airflow?
How do you push and pull XCom values?
What are the limitations of XCom?
What is the difference between XCom and Variables?
What is the purpose of Airflow Variables?
What is the purpose of Airflow Connections?
What is the difference between Variables and Connections?
How do you configure database connections in Apache Airflow?
How do you securely store passwords and credentials in Airflow?
What are Airflow Hooks?
What is the difference between Hooks and Operators?
What is Jinja templating in Apache Airflow?
What are template fields in Airflow Operators?
What are macros in Apache Airflow?
How do you pass dynamic parameters to a DAG?
What is the purpose of DAG Params?
What is Dynamic Task Mapping in Apache Airflow?
What is the difference between Dynamic Task Mapping and Task Groups?
What are Task Groups in Apache Airflow?
How do you implement parallel task execution in Airflow?
What is the difference between parallelism, max_active_tasks, and max_active_runs?
How do you control the number of concurrent DAG and task executions?
What are Pools in Apache Airflow?
What is the purpose of task priority_weight?
What are retries and retry_delay in Apache Airflow?
How do you implement error handling and failure notifications in Airflow?
What are on_failure_callback and on_success_callback?
How do you configure task-level and DAG-level timeouts?
What is the difference between retries and rescheduling?
How do you clear and rerun failed tasks in Apache Airflow?
What is backfilling, and how do you execute it?
How do you monitor DAG and task execution in the Airflow UI?
How do you troubleshoot a DAG that is not getting scheduled?
How do you troubleshoot a task stuck in the queued state?
How do you troubleshoot a task stuck in the running state?
How do you manage and rotate Airflow logs?
What is the purpose of the Airflow CLI?
How do you test DAGs and tasks in Apache Airflow?
How do you implement unit testing for Python-based DAGs?
How do you deploy DAGs across development, testing, and production environments?
How do you integrate Apache Airflow with Apache Spark?
How do you orchestrate ETL and ELT pipelines using Apache Airflow?
How do you integrate Apache Airflow with databases such as PostgreSQL, MySQL, and Oracle?
How do you integrate Airflow with cloud platforms such as AWS, Azure, and Google Cloud?
What are the best practices for designing scalable and maintainable Airflow DAGs?
How do you secure, scale, and optimize Apache Airflow in a production environment?