Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
68 views

DBT Interview Questions

The document lists the top 50 interview questions related to DBT (Data Build Tool), covering topics such as handling dependencies, materializations, schema changes, data quality checks, and snapshot strategies. It provides specific answers to each question, including examples of SQL commands and macros. The content is aimed at preparing candidates for DBT-related interviews.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views

DBT Interview Questions

The document lists the top 50 interview questions related to DBT (Data Build Tool), covering topics such as handling dependencies, materializations, schema changes, data quality checks, and snapshot strategies. It provides specific answers to each question, including examples of SQL commands and macros. The content is aimed at preparing candidates for DBT-related interviews.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Top 50

DBT
Interview Questions
Question 1
How to handle dependencies
in DBT
Ref
Praveen Snowflake & DBT Training - 9703180969
Question 2
What are 4 materializations
• Table
• View
• Incremental
• Ephemeral
Question 3
What is the Default Materialization

View
Question 4
How to handle Schema changes
in Seeds
--full-refresh
Praveen Snowflake & DBT Training - 9703180969
Question 5
How you handle data quality checks
in dbt
DBT Test
Question 6
How to implement SCDs in Dbt

DBT Snapshot
Question 7
Can I store my models in another
directory other than the default
Yes
Question 8
What are the Snapshot strategies
• Check
• Timestamp
Praveen Snowflake & DBT Training - 9703180969
Question 9
Generate DBT Documentation

dbt docs generate


Question 10
What is DBT Model
Tables
DBT Models
SQL Select DBT run
Statements

Views
Question 11
What are Snapshot Columns
 DBT_SCD_ID
 DBT_UPDATED_AT
 DBT_VALID_FROM
 DBT_VALID_TO
Question 12
Addition of 2 numbers Macro
{% macro add_2_nums(num1, num2) %}
{{num1}} + {{num2}}
{% endmacro %}
Question 13
How to call a DBT Macro
dbt run-operation
Question 14
How to refer a DBT Seed
Select *
from {{ ref('seed_name') }}
Praveen Snowflake & DBT Training - 9703180969
Question 15
What are the 2 types of Test
• Singular
• Generic
Praveen Snowflake & DBT Training - 9703180969

You might also like