dbt interview questions

51 real dbt questions from the Data Engineering bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is dbt view materialization?

Junior
  1. A.the dbt macro guarding the filter that selects only newer rows
  2. B.A dbt-managed CSV file loaded into the warehouse as a table, used for small static lookup or reference data versioned in the repo.
  3. C.A dbt configuration enforcing a model's column names, data types, and constraints at build time so schema changes fail fast.
  4. D.a model rebuilt as a database view
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.dbt view materialization — A reusable Jinja function in dbt that templates SQL, reducing repetition and enabling parameterized transformations.
  2. B.dbt view materialization — A dbt resource documenting a downstream consumer (dashboard, app, ML model) of dbt models, surfacing lineage and tying tests to deliverables.
  3. C.dbt view materialization — the dbt macro guarding the filter that selects only newer rows
  4. D.dbt view materialization — a model rebuilt as a database view
Reveal the answer + AI explanation — free account

4. What is dbt incremental materialization?

Junior
  1. A.dbt's implementation of SCD Type 2 history tracking
  2. B.A dbt materialization that is not built as a database object but inlined as a CTE into downstream models, useful for lightweight intermediate logic.
  3. C.a model that only processes new/changed rows
  4. D.A dbt-managed CSV file loaded into the warehouse as a table, used for small static lookup or reference data versioned in the repo.
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.dbt incremental materialization — A reusable Jinja function in dbt that templates SQL, reducing repetition and enabling parameterized transformations.
  2. B.dbt incremental materialization — The June 2025 dbt release on the 1.x line that advanced unit tests, microbatch incremental models, model contracts, and sample-mode features.
  3. C.dbt incremental materialization — A dbt configuration enforcing a model's column names, data types, and constraints at build time so schema changes fail fast.
  4. D.dbt incremental materialization — a model that only processes new/changed rows
Reveal the answer + AI explanation — free account

7. What is is_incremental()?

Mid
  1. A.The June 2025 dbt release on the 1.x line that advanced unit tests, microbatch incremental models, model contracts, and sample-mode features.
  2. B.the dbt function that builds the model dependency graph and lineage
  3. C.the dbt macro guarding the filter that selects only newer rows
  4. D.A dbt materialization that is not built as a database object but inlined as a CTE into downstream models, useful for lightweight intermediate logic.
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.is_incremental() — the dbt macro guarding the filter that selects only newer rows
  2. B.is_incremental() — A dbt check (dbt source freshness) comparing a source table's max loaded_at to thresholds to confirm upstream data is current.
  3. C.is_incremental() — an assertion of data quality (unique, not_null, accepted_values, relationships)
  4. D.is_incremental() — the dbt function that builds the model dependency graph and lineage
Reveal the answer + AI explanation — free account

10. What is dbt snapshot?

Mid
  1. A.a model rebuilt as a database view
  2. B.A dbt test that supplies mocked input rows and asserts expected output of a model's SQL logic, validating transformations without touching warehouse data.
  3. C.dbt's implementation of SCD Type 2 history tracking
  4. D.the dbt macro guarding the filter that selects only newer rows
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.dbt snapshot — A dbt materialization that is not built as a database object but inlined as a CTE into downstream models, useful for lightweight intermediate logic.
  2. B.dbt snapshot — dbt's implementation of SCD Type 2 history tracking
  3. C.dbt snapshot — the dbt macro guarding the filter that selects only newer rows
  4. D.dbt snapshot — a model that only processes new/changed rows
Reveal the answer + AI explanation — free account

13. What is dbt test?

Junior
  1. A.an assertion of data quality (unique, not_null, accepted_values, relationships)
  2. B.A dbt incremental strategy that processes data in time-based batches (event_time and batch_size), simplifying large backfills and reprocessing.
  3. C.a model that only processes new/changed rows
  4. D.A dbt check (dbt source freshness) comparing a source table's max loaded_at to thresholds to confirm upstream data is current.
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Junior
  1. A.dbt test — dbt's implementation of SCD Type 2 history tracking
  2. B.dbt test — an assertion of data quality (unique, not_null, accepted_values, relationships)
  3. C.dbt test — A dbt test that supplies mocked input rows and asserts expected output of a model's SQL logic, validating transformations without touching warehouse data.
  4. D.dbt test — A dbt materialization that is not built as a database object but inlined as a CTE into downstream models, useful for lightweight intermediate logic.
Reveal the answer + AI explanation — free account

16. What is ref()?

Junior
  1. A.A dbt resource documenting a downstream consumer (dashboard, app, ML model) of dbt models, surfacing lineage and tying tests to deliverables.
  2. B.A singular dbt test is a one-off SQL query returning failing rows, while a generic test is a reusable parameterized test (like not_null) applied via YAML.
  3. C.the dbt function that builds the model dependency graph and lineage
  4. D.an assertion of data quality (unique, not_null, accepted_values, relationships)
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Junior
  1. A.ref() — the dbt function that builds the model dependency graph and lineage
  2. B.ref() — A dbt materialization that is not built as a database object but inlined as a CTE into downstream models, useful for lightweight intermediate logic.
  3. C.ref() — A reusable Jinja function in dbt that templates SQL, reducing repetition and enabling parameterized transformations.
  4. D.ref() — a model that only processes new/changed rows
Reveal the answer + AI explanation — free account

19. What is dbt 1.10?

Junior
  1. A.A dbt configuration enforcing a model's column names, data types, and constraints at build time so schema changes fail fast.
  2. B.The June 2025 dbt release on the 1.x line that advanced unit tests, microbatch incremental models, model contracts, and sample-mode features.
  3. C.the dbt macro guarding the filter that selects only newer rows
  4. D.an assertion of data quality (unique, not_null, accepted_values, relationships)
Reveal the answer + AI explanation — free account

20. Which term means: "The June 2025 dbt release on the 1.x line that advanced unit tests, microbatch incremental models, model contracts, and sample-mode features."?

Junior
  1. A.dbt view materialization
  2. B.dbt incremental materialization
  3. C.seed
  4. D.dbt 1.10
Reveal the answer + AI explanation — free account

21. Which statement is correct?

Junior
  1. A.dbt 1.10 — A reusable Jinja function in dbt that templates SQL, reducing repetition and enabling parameterized transformations.
  2. B.dbt 1.10 — A dbt feature letting one model expose multiple versioned definitions so consumers can migrate gradually between breaking changes.
  3. C.dbt 1.10 — A dbt incremental strategy that processes data in time-based batches (event_time and batch_size), simplifying large backfills and reprocessing.
  4. D.dbt 1.10 — The June 2025 dbt release on the 1.x line that advanced unit tests, microbatch incremental models, model contracts, and sample-mode features.
Reveal the answer + AI explanation — free account

22. What is unit test?

Mid
  1. A.a model rebuilt as a database view
  2. B.an assertion of data quality (unique, not_null, accepted_values, relationships)
  3. C.the dbt macro guarding the filter that selects only newer rows
  4. D.A dbt test that supplies mocked input rows and asserts expected output of a model's SQL logic, validating transformations without touching warehouse data.
Reveal the answer + AI explanation — free account

23. Which term means: "A dbt test that supplies mocked input rows and asserts expected output of a model's SQL logic, validating transformations without touching warehouse data."?

Mid
  1. A.dbt 1.10
  2. B.dbt incremental materialization
  3. C.unit test
  4. D.dbt test
Reveal the answer + AI explanation — free account

24. Which statement is correct?

Mid
  1. A.unit test — A dbt test that supplies mocked input rows and asserts expected output of a model's SQL logic, validating transformations without touching warehouse data.
  2. B.unit test — A dbt resource documenting a downstream consumer (dashboard, app, ML model) of dbt models, surfacing lineage and tying tests to deliverables.
  3. C.unit test — The June 2025 dbt release on the 1.x line that advanced unit tests, microbatch incremental models, model contracts, and sample-mode features.
  4. D.unit test — the dbt macro guarding the filter that selects only newer rows
Reveal the answer + AI explanation — free account

25. What is model contract?

Mid
  1. A.A dbt test that supplies mocked input rows and asserts expected output of a model's SQL logic, validating transformations without touching warehouse data.
  2. B.A dbt configuration enforcing a model's column names, data types, and constraints at build time so schema changes fail fast.
  3. C.A dbt feature letting one model expose multiple versioned definitions so consumers can migrate gradually between breaking changes.
  4. D.A singular dbt test is a one-off SQL query returning failing rows, while a generic test is a reusable parameterized test (like not_null) applied via YAML.
Reveal the answer + AI explanation — free account

27. Which statement is correct?

Mid
  1. A.model contract — a model rebuilt as a database view
  2. B.model contract — A dbt check (dbt source freshness) comparing a source table's max loaded_at to thresholds to confirm upstream data is current.
  3. C.model contract — A dbt configuration enforcing a model's column names, data types, and constraints at build time so schema changes fail fast.
  4. D.model contract — the dbt macro guarding the filter that selects only newer rows
Reveal the answer + AI explanation — free account

28. What is model version?

Mid
  1. A.A dbt feature letting one model expose multiple versioned definitions so consumers can migrate gradually between breaking changes.
  2. B.dbt's implementation of SCD Type 2 history tracking
  3. C.the dbt macro guarding the filter that selects only newer rows
  4. D.A dbt-managed CSV file loaded into the warehouse as a table, used for small static lookup or reference data versioned in the repo.
Reveal the answer + AI explanation — free account

29. Which term means: "A dbt feature letting one model expose multiple versioned definitions so consumers can migrate gradually between breaking changes."?

Mid
  1. A.is_incremental()
  2. B.singular vs generic test
  3. C.model version
  4. D.model contract
Reveal the answer + AI explanation — free account

30. Which statement is correct?

Mid
  1. A.model version — A dbt materialization that is not built as a database object but inlined as a CTE into downstream models, useful for lightweight intermediate logic.
  2. B.model version — A dbt feature letting one model expose multiple versioned definitions so consumers can migrate gradually between breaking changes.
  3. C.model version — A dbt configuration enforcing a model's column names, data types, and constraints at build time so schema changes fail fast.
  4. D.model version — an assertion of data quality (unique, not_null, accepted_values, relationships)
Reveal the answer + AI explanation — free account

Showing 30 of 51 dbt questions — the full set, with answers, explanations and an AI tutor on every question, is inside.

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice dbt free