DBT Interview Questions
DBT Interview Questions
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
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