Airflow interview questions
100 Data Engineering practice questions. Read what a strong answer covers, then practise it out loud against the clock.
Practise Airflow questionsBeginner
- Airflow architecture components
- Building a DAG for daily API ingestion
- Catchup and backfill
- Connections and variables
- DAG created hundreds of runs after deployment
- DAG never runs with start_date set to now
- DAG running at the wrong local time
- Default arguments and DAG settings
- Final task always skipped after branching
- Getting Slack alerts on failures
- Idempotent tasks
- Jinja templating in Airflow
- Letting on-call reprocess a specific date
- Logical date and data intervals
- ModuleNotFoundError in a task
- Monitoring DAGs in the Airflow UI
- New DAG not appearing in the UI
- Operators, tasks and hooks
- Passing a DataFrame between tasks
- Rerun created duplicate rows
- Rerunning a single failed task
- Retries and failure handling
- Scheduling DAGs
- Sensors
- Task dependencies and trigger rules
- Task running forever
- TaskFlow API
- Tasks stuck in queued state
- Testing a DAG before deploying
- Too many queries hitting a source database
- Waiting for a daily file in S3
- What is a DAG
- What is Apache Airflow
- XComs
Intermediate
- Assets and data-aware scheduling
- Backfilling a year of data safely
- Bad data published despite successful DAG
- Branching in Airflow
- Callbacks and alerting
- Choosing an executor
- Credentials stored in Airflow Variables
- DAG params and manual triggers
- DAG parsing performance
- Database hammered by Airflow Variable reads
- Deferrable operators and the triggerer
- Dependencies across DAGs
- Downstream team depends on your pipeline
- Dynamic task mapping
- End-to-end ELT DAG with Snowflake and dbt
- Flaky API extraction tasks
- KubernetesPodOperator
- Managed Airflow options
- Orchestrating Databricks jobs from Airflow
- Orchestrating Spark jobs on EMR
- Pools, concurrency and priority
- Processing a variable number of files each day
- Refactoring a 300-task monolithic DAG
- Running dbt from Airflow
- Scheduler slow to start tasks
- Setting up Airflow on AWS with MWAA
- Setup and teardown tasks
- Source data corrected days later
- Task groups
- Task logs and remote logging
- Tasks being OOM-killed on Kubernetes
- Testing Airflow DAGs
- Triggering a DAG from an external system
Experienced
- A DAG change broke production
- Adding lineage across Airflow pipelines
- Airflow infrastructure costs too high
- Airflow outage during critical processing
- Airflow vs other orchestrators
- Auditing who changed and ran pipelines
- CI/CD for Airflow DAGs
- Common Airflow anti-patterns
- Custom timetables
- Data quality checks inside Airflow
- Designing an Airflow platform for 50 teams
- Designing reliable pipelines with Airflow
- Event-driven scheduling in Airflow 3
- Generating DAGs dynamically
- Guaranteeing a 7 AM data SLA
- Maintaining the metadata database
- Migrating 500 DAGs to Airflow 3
- Millions of tiny tasks per day
- Moving cron jobs into Airflow
- Multi-team Airflow deployments
- Observability and lineage in Airflow
- Orchestrating across AWS, GCP and Snowflake
- Orchestrating an ML training pipeline
- Orchestrating jobs in the cloud and on-premises
- Scaling the Airflow scheduler
- Securing an Airflow deployment
- Teams need conflicting Python libraries
- Triggering pipelines from Kafka events
- Upgrading Airflow safely
- Upstream schema change broke many DAGs
- What changed in Airflow 3
- Writing custom operators and providers
- Zombie tasks and lost heartbeats