Return to course: Analytics Engineering
Analytics Engineering
Previous Lesson
Previous
Next
Next Section
Analytics Engineering
Grades
Resources
Module 1: Welcome to Analytics Engineering!
Module 1: Lesson
Module 2: Data Fundamentals
Module 2: Instructor Lesson
Interactive Lesson: Data Architecture Challenge
Interactive Lesson: Data Detective Challenge
Module 2: Homework - BigQuery Data Structures
Module 2: Homework - Fivetran BigQuery ELT
Module 2 Quiz
Module 3: SQL for Analytics Engineers
Module 3: Lesson
Module 3: Walkthrough - SQL SELECT / DISTINCT
Module 3: Walkthrough - SQL FILTERING / WHERE
Module 3: Walkthrough - SQL ORDER BY / LIMIT
Module 3: Walkthrough - SQL AGGREGATIONS
Module 3: Walkthrough - SQL Aggregations, String Filtering, Having
Module 3: Instructor Walkthrough - SQL Inner, Left, and Complex Joins
Module 3: Instructor Walkthrough - SQL Subqueries in FROM and WHERE
Module 3: Instructor Walkthrough - SQL CASE Statements
Module 3: Instructor Walkthrough - SQL Set Operators & DateTime Functions
Module 3: Instructor Walkthrough - SQL String Functions
Module 3: Instructor Walkthrough - SQL Scalar and Numeric Functions
Module 3: Instructor Walkthrough - SQL Performance Optimizations
Module 3: Instructor Walkthrough - SQL Styling and Formatting
Module 3: Instructor Walkthrough - SQL Interview Questions & Tips
Module 3 Quiz
Interactive Lesson: SQL Rescue Quest
Interactive Lesson: Advanced SQL Space Station
Module 4: Data Modeling and Architecture
Module 4: Lesson
Interactive Lesson: Data Modeling
Interactive Lesson: Normalization Ride Share
Interactive Lesson: Slowly Changing Dimensions
Module 4 Quiz
Module 5: dbt and Github
Module 5: Lesson
Interactive Exercise: Github Workflows
Interactive Exercise: dbt Incremental Materialization
Module 5 Quiz
Module 6: Data Quality and Testing
Module 6: Lesson
Interactive Lesson: Anomaly Detection Bollinger Bands
Interactive Lesson: Data Quality Investigation
Interactive Lesson: Great Expectations
Interactive Lesson: dbt Testing
Module 6 Quiz
Module 7: Programming for Analytics Engineers
Module 7: Lesson
Interactive Lesson: Python Food Delivery
Module 7 Quiz
Module 8: Visualization and Reporting
Module 8: Lesson
Interactive Lesson: Dashboard Design Simulator
Module 8: Homework - Looker Studio Marketing Sales and Spend
Module 8 Quiz
Module 9: AI Tools Mastery
Interactive Lesson: AI Tools for Analytics Engineering
Module 10: Analytics Engineering Capstone Project
Capstone Intro
Accounts and Access
Module 6 Quiz
Question 1: What is the main purpose of testing in dbt?
*
A) To format SQL queries
B) To create dashboards
C) To ensure data quality and catch issues early
D) To run Python scripts
Question 2: Which of the following is a built-in dbt test?
*
A) row_count_matches
B) unique
C) order_amount_check
D) max_value_test
Question 3: Where do you usually define dbt tests for a model?
*
A) In a Google Sheet
B) In the model's schema.yml file
C) In a separate JSON config file
D) Directly in the database
Question 4: What does the not_null test check for?
*
A) That a column has at least one value
B) That a column contains only unique values
C) That no null values exist in a column
D) That a column is a foreign key
Question 5: Which test would best validate that a column only contains values like 'active' and 'inactive'?
*
A) not_null
B) relationships
C) accepted_values
D) contains_only
Question 6: Which directory do custom test SQL files go in?
*
A) /models/
B) /sources/
C) /tests/
D) /scripts/
Question 7: When you run dbt test, what happens?
*
A) All tests are applied to the data models
B) Only unit tests are executed
C) dbt updates your models
D) dbt generates documentation
Question 8: What happens if a dbt test fails?
*
A) dbt stops all processing
B) The test is ignored
C) You get a report showing the rows that failed
D) The entire database is rolled back
Question 9: Which of the following is a best practice when writing tests in dbt?
*
A) Only test one model
B) Treat tests like code: version, review, and document
C) Avoid writing custom tests
D) Only run tests manually
Question 10: What is the benefit of using dbt-utils with testing?
*
A) It offers reusable test macros like expression_is_true
B) It helps format dashboards
C) It runs dbt models faster
D) It improves chart visuals