Airflow

20 questions

DAG design, operators, XComs, scheduling, and troubleshooting. The Airflow questions you'll face in every DE interview.

1JuniorDAG DesignAirbnbSpotifyShopify

Why Idempotent DAGs Matter

Why is idempotency critical in Airflow DAGs? Give an example of a non-idempotent task and how you would fix it.

🔒
2JuniorXComs & VariablesMetaNetflix

TaskFlow API and XCom

Explain the TaskFlow API (`@task` decorator). How does it simplify XCom usage compared to the traditional approach?

🔒
3JuniorOperators & HooksUberLyft

BranchPythonOperator

How does `BranchPythonOperator` work? What happens to the tasks in branches that are not selected?

🔒
4JuniorScheduling & TriggersSpotifyPinterest

Execution Date vs Logical Date

What is the difference between `execution_date` and `logical_date` in Airflow? Why was the naming changed?

🔒
5SeniorScheduling & TriggersAirbnbStripe

Schedule Interval vs Timetable

Compare `schedule_interval` with the timetable API. When would you use a custom timetable instead of a cron expression?

🔒
🔒 15 more premium questions
Upgrade to PRO — ₹1,499/month
6SeniorDAG DesignShopifyNetflixDatabricks🔒 Premium

Dynamic DAGs

What are the common approaches for generating dynamic DAGs? What are the trade-offs of each?

🧠 What they're really testing
🔒
7SeniorXComs & VariablesMetaAirbnb🔒 Premium

XCom Push/Pull Under the Hood

How does XCom work under the hood? What are its limitations, and how do you handle large data transfers between tasks?

🧠 What they're really testing
🔒
8JuniorXComs & VariablesLyftStripe🔒 Premium

Variables vs Connections

What is the difference between Airflow Variables and Connections? When would you use each?

🧠 What they're really testing
🔒
9SeniorOperators & HooksDAG DesignAirbnbUber🔒 Premium

TriggerDagRunOperator and Cross-DAG Dependencies

How do you handle cross-DAG dependencies in Airflow? Compare `TriggerDagRunOperator`, `ExternalTaskSensor`, and dataset-driven scheduling.

🧠 What they're really testing
🔒
10SeniorTroubleshootingDAG DesignNetflixSpotifyDatadog🔒 Premium

Executor Types

Compare LocalExecutor, CeleryExecutor, and KubernetesExecutor. When would you choose each?

🧠 What they're really testing
🔒
11JuniorScheduling & TriggersSpotifyPinterest🔒 Premium

Backfill and Catchup

What is backfill in Airflow? How does the `catchup` parameter affect it?

🧠 What they're really testing
🔒
12SeniorOperators & HooksAirbnbDatadogSpotify🔒 Premium

KubernetesPodOperator

When would you use `KubernetesPodOperator` instead of `PythonOperator`? What are the key configuration options?

🧠 What they're really testing
🔒
13SeniorDAG DesignTroubleshootingUberNetflix🔒 Premium

Pools for Resource Management

What are Airflow pools and when would you use them? How do they differ from concurrency settings?

🧠 What they're really testing
🔒
14JuniorTroubleshootingShopifyStripeLyft🔒 Premium

Debugging Failed Tasks

A task in production has failed. Walk me through your debugging process in Airflow.

🧠 What they're really testing
🔒
15SeniorOperators & HooksMetaAirbnb🔒 Premium

Custom Operators

When should you write a custom operator? Walk through the design of one.

🧠 What they're really testing
🔒
16SeniorScheduling & TriggersTroubleshootingUberDatadog🔒 Premium

SLA Monitoring

How do you implement SLA monitoring in Airflow? What are the limitations?

🧠 What they're really testing
🔒
17JuniorDAG DesignSpotifyNetflix🔒 Premium

TaskGroup for DAG Organization

What is a TaskGroup and how does it differ from SubDAGs? Why were SubDAGs deprecated?

🧠 What they're really testing
🔒
18SeniorOperators & HooksTroubleshootingUberAirbnb🔒 Premium

ExternalTaskSensor Pitfalls

What are common pitfalls when using `ExternalTaskSensor` and how do you mitigate them?

🧠 What they're really testing
🔒
19LeadDAG DesignNetflixDatabricksStripe🔒 Premium

Airflow vs Prefect

Compare Airflow and Prefect. In what scenarios would you recommend one over the other?

🧠 What they're really testing
🔒
20LeadDAG DesignTroubleshootingAirbnbNetflixUberMeta🔒 Premium

Production Airflow Architecture

Design a production-grade Airflow deployment for a platform team serving 50+ data engineers writing 500+ DAGs. Cover architecture, scaling, CI/CD, and governance.

🧠 What they're really testing
🔒