Bird
0
0

Which of the following is the correct syntax to enable failure storage in a dbt test config block?

easy📝 Syntax Q3 of 15
dbt - Advanced Testing
Which of the following is the correct syntax to enable failure storage in a dbt test config block?
Atests: - name: unique_test config: store_failures = true
Btests: - name: unique_test config: store_failures true
Ctests: - name: unique_test config: store_failures: true
Dtests: - name: unique_test config: store_failures: false
Step-by-Step Solution
Solution:
  1. Step 1: Identify correct YAML syntax for config

    YAML uses colon and indentation, so store_failures: true is correct.
  2. Step 2: Check the value to enable storing failures

    The value must be true to enable storing failures.
  3. Final Answer:

    tests: - name: unique_test config: store_failures: true -> Option C
  4. Quick Check:

    YAML config syntax with colon and true value [OK]
Quick Trick: YAML uses colon and indentation, not equals sign [OK]
Common Mistakes:
MISTAKES
  • Using equals sign instead of colon
  • Missing colon after key
  • Setting store_failures to false

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More dbt Quizzes