Skip to main content
InterviewHubPRO
Section Overview
Q30

Question 30 of 50

Part 3: Enterprise Scale, Performance & CI/CD Pipelines (Senior / Staff)

60%
dbt Analytics Engineering (50 Qs)•Part 3: Enterprise Scale, Performance & CI/CD Pipelines (Senior / Staff)

How do you orchestrate dbt with Apache Airflow using Astronomer Cosmos?

senior LevelMost AskedFormsPerformancePipes

In Simple Words: Running BashOperator(bash_command='dbt run') treats dbt as a black box—if one model fails, the entire Airflow task fails without showing which model broke. Cosmos parses your dbt manifest.json and dynamically translates every individual dbt model into a native Airflow Task:

  • Full visual task graph in Airflow UI.
  • Retry only the single failed model without restarting the entire pipeline.