Bird
0
0

Given this CI/CD pipeline snippet:

medium📝 Predict Output Q4 of 15
dbt - Production Deployment
Given this CI/CD pipeline snippet:
dbt deps
 dbt seed
 dbt run --models my_model
 dbt test --models my_model

What will happen if 'my_model' has a failing test?
Adbt will skip the failing test automatically
BThe pipeline will continue without errors
CThe pipeline will stop and report failure
DThe model will be rebuilt ignoring the test
Step-by-Step Solution
Solution:
  1. Step 1: Understand dbt test behavior in CI/CD

    dbt test fails the pipeline if any test fails.
  2. Step 2: Analyze pipeline flow with failing test

    Since 'dbt test' runs last and tests 'my_model', failure stops pipeline and reports error.
  3. Final Answer:

    The pipeline will stop and report failure -> Option C
  4. Quick Check:

    Failing dbt test = pipeline stops [OK]
Quick Trick: Failing dbt tests stop CI/CD pipeline [OK]
Common Mistakes:
MISTAKES
  • Assuming pipeline continues despite test failure
  • Thinking dbt skips failing tests automatically
  • Believing model rebuild ignores test results

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More dbt Quizzes