Challenge - 5 Problems
dbt CI/CD Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate1:30remaining
dbt run command output in CI
You run
dbt run in a CI pipeline. Which output indicates a successful model build?dbt
dbt run
Attempts:
2 left
💡 Hint
Look for messages indicating no errors and models executed.
✗ Incorrect
A successful dbt run shows the number of models executed with zero errors. Errors or syntax issues indicate failure.
❓ Configuration
intermediate1:30remaining
Configuring dbt test in CI pipeline
Which dbt command configuration is correct to run tests in a CI pipeline?
Attempts:
2 left
💡 Hint
Tests are run with the
dbt test command.✗ Incorrect
The correct command to run tests is
dbt test. Option D runs tests on models tagged 'ci'.🔀 Workflow
advanced2:00remaining
dbt CI/CD pipeline step order
What is the correct order of steps in a dbt CI/CD pipeline?
Attempts:
2 left
💡 Hint
Think about loading data first, then building, testing, and documenting.
✗ Incorrect
First load seed data, then build models, test them, and finally generate docs.
❓ Troubleshoot
advanced2:00remaining
dbt test failure in CI pipeline
A dbt test fails in CI with this error:
Database Error: relation 'stg_customers' does not exist. What is the most likely cause?Attempts:
2 left
💡 Hint
Check if the model exists before testing.
✗ Incorrect
Tests run on models that must exist. If the model was not built, tests fail with relation not found error.
✅ Best Practice
expert2:30remaining
Best practice for dbt artifacts in CI/CD
Which practice is best for handling dbt artifacts (manifest.json, run_results.json) in a CI/CD pipeline?
Attempts:
2 left
💡 Hint
Artifacts help understand pipeline results and failures.
✗ Incorrect
Storing artifacts allows debugging failures and generating docs from CI runs.