
Ultimate access to all questions.
Question 35 \
A dataset has been defined using Delta Live Tables and includes an expectations clause:
CONSTRAINT valid_timestamp EXPECT (timestamp > '2020-01-01') \
What is the expected behavior when a batch of data containing data that violates these constraints is processed?_
Explanation:
The correct answer is A. Records that violate the expectation are added to the target dataset and recorded as invalid in the event log.
Here's the accurate explanation:
In Delta Live Tables, when you use a basic CONSTRAINT ... EXPECT clause without any additional violation handling, the default behavior is:
This represents DLT's default "track only" behavior for data quality constraints.
The other options represent different behaviors that require explicit configuration:
EXPECT ... ON VIOLATION DROP ROWEXPECT ... ON VIOLATION FAIL UPDATEThank you for the correction. The basic EXPECT clause without additional violation handling simply monitors data quality without altering the data flow, making option A the correct answer.