Weekend Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmasmnth

You define a new generic test on model customers in a YAML file:version: 2models:- name:...

You define a new generic test on model customers in a YAML file:

version: 2

models:

- name: customers

columns:

- name: customer_id

tests:

- unique

- not_null

The next time your project compiles you get this error:

Raw Error:

mapping values are not allowed in this context

in "", line 7, column 21

What is the cause of this error?

A.

tests should be a dictionary key, not a list

B.

tests should be wrapped in double quotes (")

C.

unique and not_null should not be elements in a list

D.

unique and not_null should be indented at the same level as tests

dbt Labs dbt-Analytics-Engineering Summary

  • Vendor: dbt Labs
  • Product: dbt-Analytics-Engineering
  • Update on: Feb 8, 2026
  • Questions: 65
Price: $52.5  $149.99
Buy Now dbt-Analytics-Engineering PDF + Testing Engine Pack

Payments We Accept

Your purchase with ExamsVCE is safe and fast. Your products will be available for immediate download after your payment has been received.
The ExamsVCE website is protected by 256-bit SSL from McAfee, the leader in online security.

examsvce payment method