Skip to main content
InterviewHubPRO
Section Overview
Q32

Question 32 of 50

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

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

How do you track and audit query costs generated by dbt?

senior LevelMost AskedFormsPerformancePipes

In Simple Words: Use packages like dbt-artifacts:

  • On on-run-end, dbt automatically writes execution metadata (compilation time, execution duration, rows affected, query ID) into a dedicated auditing table in your warehouse.
  • Join this table with Snowflake's QUERY_HISTORY to accurately attribute cloud compute costs to specific data models and teams.