Data Engineering interview question · Most asked

What is dbt, and what problems does it solve?

Summary

dbt manages SQL transformations inside the warehouse as code: each model is a SELECT, dependencies are declared with ref() and source(), and dbt builds a DAG, runs models in order, tests them, supports incremental models and generates documentation with lineage.

Longer Answer

It replaces folders of scripts run in arbitrary order with version-controlled, reviewed, tested models across dev, CI and production environments. A common layering is staging → intermediate → marts. Extraction, loading and scheduling are handled by other tools.

Key Points

  • Transformations as SELECT models.
  • ref()/source() build the DAG.
  • Tests, docs and lineage.
  • Incremental models for large tables.

Deep dive: ETL and Data Pipelines: Managing SQL Transformations with dbt

Explanation

What interviewers look for

DAG and testing benefits, and dbt's scope (transform only).

More most-asked Data Engineering questions

← All Data Engineering questions