Data Build Tool dbt Analytics Engineer Certification

Data Build Tool DBT-Analytics-Engineering Practice Test & Study Guide

dbt Analytics Engineering Certification Exam

Exam code
DBT-Analytics-Engineering
Questions
65
Updated
25 Nov 2026

What's in the DBT-Analytics-Engineering study guide

  • 65practice questions with answers
  • PDFread and print on any device
  • Test enginepractice and exam modes online
  • 90 daysof free updates
  • Instant access from My Account after payment
  • 90 days of free updates
  • Money-back guarantee – see conditions
  • Help by live chat or email

Price$45

Choose a format

Prices in USD. Downloads appear in My Account once your order is complete.

  • Instant access from My Account after payment
  • 90 days of free updates
  • Money-back guarantee – see conditions
  • Help by live chat or email
Free demo

DBT-Analytics-Engineering sample questions

Check the style and quality of the material before you buy.

Question 1

You have just executed dbt run on this model:select * from {{ source("{{ env_var('input') }}", 'table_name') }}and received this error:Compilation Error in model my_modelexpected token ':', got '}'line 14{{ source({{ env_var('input') }}, 'table_name') }}How can you debug this?

  • A. Incorporate a log function into your macro.  
  • B. Check your SQL to see if you quoted something incorrectly.  
  • C. Check your Jinja and see if you nested your curly brackets.  
  • D. Take a look at the compiled code.  

Answer: C

Question 2

Consider these SQL and YAML files for the model model_a:models/staging/model_a.sql{{ config(materialized = "view") }}with customers as (...)dbt_project.ymlmodels:my_new_project:+materialized: tablestaging:+materialized: ephemeralWhich is true about model_a? Choose 1 option.Options:

  • A.Select statements made from the database on top of model_a and transformationprocessing within model_a will be quicker, but the data will only be as up to date as the lastdbt run.
  • B.Select statements made from the database on top of model_a will result in an error
  • C.Select statements made from the database on top of model_a will be slower, but the datawill always be up to date.
  • D.Select statements made from the database on top of model_a will be quicker, but the datawill only be as up to date as the last dbt run.(Note: A and D are duplicates — typical exam formatting.) 

Answer: C

Question 3

You want to run and test the models, tests, and snapshots you have added ormodified in development.Which will you invoke? Choose 1 option.Options:

  • A.dbt build --select state:modified --defer <path/to/artifacts> 
  • B.dbt run --select state:modified --defer --state <path/to/artifacts>dbt test --select state:modified --defer --state <path/to/artifacts>
  • C.dbt build --select state:modified --defer --state <path/to/artifacts> 
  • D. dbt run --select state:modified --state <path/to/artifacts>dbt test --select state:modified --state <path/to/artifacts>
  • E.dbt build --select state:modified --state <path/to/artifacts>

Answer: C

Question 4

Your model has a contract on it.When renaming a field, you get this error:This model has an enforced contract that failed.Please ensure the name, data_type, and number of columns in your contract matchthe columns in your model's definition.| column_name | definition_type | contract_type | mismatch_reason ||-------------|------------------|----------------|-----------------------|| ORDER_ID | TEXT | TEXT | missing in definition || ORDER_KEY | TEXT | | missing in contract |Which two will fix the error? Choose 2 options. 

  • A. Remove order_id from the contract.  
  • B. Remove order_key from the contract.  
  • C. Remove order_id from the model SQL.  
  • D. Add order_key to the contract.  
  • E. Add order_key to the model SQL.  

Answer: A,D

Question 5

Which two dbt commands work with dbt retry?Choose 2 options.

  • A. run-operation  
  • B. parse  
  • C. debug  
  • D. deps  
  • E. snapshot  

Answer: A,E

Question 6

You work at an e-commerce company and a vendor provides their inventory data viaCSV file uploads to an S3 bucket.How do you prep the data for dbt transformations?Choose 1 option.

  • A. Create a dbt model with a view querying the external table directly.  
  • B. Run a pre-hook to create a temporary table and query from it in a staging model.  
  • C. Use dbt seed to stage the data in your data platform.  
  • D. Declare the external table as a source using the external configuration.  

Answer: D

Question 7

You have written this new agg_completed_tasks dbt model:with tasks as (select * from {{ ref('stg_tasks') }})selectuser_id,{% for task in tasks %}sum(casewhen task_name = '{{ task }}' and state = 'completed'then 1else 0end) as {{ task }}_completed{% endfor %}from tasksgroup by 1The dbt model compiles to:with tasks as (select * from analytics.dbt_user.stg_tasks)selectuser_id,from tasksgroup by 1The case when statement did not populate in the compiled SQL. Why?

  • A. Because there is not a {% if not loop.last %}{% endif %} to compile a valid case when statement.  
  • B. Because the Jinja for-loop should be written with {{ }} instead of {% %}.  
  • C. Because there is no {% set tasks %} statement in the model defining the tasks variable.  
  • D. Because there is not a task_name column in stg_tasks.  

Answer: C

Question 8

An analyst on your team has informed you that the business logic creating theis_active column of your stg_users model is incorrect.You update the column logic to:casewhen state = 'Active'then trueelse falseend as is_activeWhich test can you add on the state column to support your expectations of thesource data? Choose 1 option.

  • A.- name: statetests:- accepted_values:values: ['active', 'churned', 'trial']- not_null 
  • B.- name: is_activetests:- accepted_values:values: ['active', 'churned', 'trial']- not_null
  • C.- name: statetests:- not_null- unique 
  • D.- name: is_activetests:- not_null- unique 

Answer: A

Question 9

You are working on a complex dbt model with many Common Table Expressions (CTEs)and decide to move some of those CTEs into their own model to make your code moremodular.Is this a benefit of this approach?The new model can be documented to explain its purpose and the logic it contains

  • A. Yes  
  • B. No  

Answer: A

Question 10

You are creating a fct_tasks model with this CTE:with tasks as (select * from {{ ref('stg_tasks') }})You receive this compilation error in dbt:Compilation Error in model fct_tasks (models/marts/fct_tasks.sql)Model 'model.dbt_project.fct_tasks' (models/marts/fct_tasks.sql) depends on a nodenamed 'stg_tasks' which was not foundWhich is correct? Choose 1 option.Options:

  • A. stg_tasks is configured as ephemeral.  
  • B. There is no dbt model called stg_tasks.  
  • C. There is no stg_tasks in the data warehouse.  
  • D. A stg_tasks has not been defined in schema.yml.  

Answer: B

Why RealExamCollection is the best choice for Data Build Tool DBT-Analytics-Engineering exam preparation

Secure your position in a competitive IT industry

The Data Build Tool DBT-Analytics-Engineering certification is a strong way to demonstrate your understanding and ability. Our DBT-Analytics-Engineering questions & answers help you prepare for it, so you can secure your current position and move your career forward.

Reviewed by IT professionals

We keep our DBT-Analytics-Engineering practice questions up to date, with explanations. The questions and answers on RealExamCollection are reviewed by people with professional experience of Data Build Tool technologies.

One place to prepare

RealExamCollection brings together the material you need for the Data Build Tool DBT-Analytics-Engineering exam. Explanations are added to the questions to help you understand the logic behind them and prepare for other Data Build Tool exams.

Updated DBT-Analytics-Engineering questions & answers

We update the exam files regularly to add new questions. The date of the latest update is shown at the top of this page.

Free DBT-Analytics-Engineering demo before you buy

You can view sample DBT-Analytics-Engineering questions on this page before buying, to see the format and pattern of the material.

90 days of free updates

You are eligible for 90 days of free updates after buying the DBT-Analytics-Engineering exam. If the file is updated in that time, you can download the latest version from your account.

Ready to prepare?

Data Build Tool DBT-Analytics-Engineering · 65 questions

Choose a format