dbt Analytics Engineering (50 Qs)•Part 1: dbt Core Concepts & Fundamentals (Junior / Entry-Level)
Explain the standard anatomy of a dbt project.
junior Leveldbtdbt Core Concepts
In Simple Words:
A dbt project is a directory of SQL, YAML, and Jinja files governed by dbt_project.yml:
dbt_project.yml: The central configuration file specifying project name, version, materializations, and model configurations.models/: The core directory containing SQL transformation models (often organized intostaging/,intermediate/, andmarts/).seeds/: CSV files containing static lookup data (e.g. country codes, tax brackets) loaded withdbt seed.snapshots/: SQL files defining Slowly Changing Dimensions (SCD Type 2) history tracking.tests/: Custom SQL queries verifying data integrity rules.macros/: Reusable Jinja functions (like custom functions in code).analyses/: Ad-hoc SQL queries that dbt compiles but does not materialize in the warehouse.