
Ultimate access to all questions.
Consider a scenario where you need to implement a Delta Lake table to store user activity data. The table should enforce data quality rules such as ensuring that activity timestamps are in the correct format. How would you add constraints to the Delta Lake table to achieve this?
A
Use primary keys and foreign keys to enforce data quality rules.
B
Apply CHECK constraints to the Delta Lake table to ensure activity timestamps are in the correct format.
C
Implement a pre-processing step to filter out invalid activity timestamps before insertion.
D
Use a combination of primary keys and CHECK constraints.