Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
Consider a scenario where you need to implement a Delta Lake table to store customer data. The table should prevent the insertion of bad data. Which approach would you use to add constraints to the Delta Lake table and why?
A
Use primary keys and foreign keys to enforce data integrity.
B
Apply CHECK constraints to the Delta Lake table to prevent bad data.
C
Implement a pre-processing step to filter out bad data before insertion.
D
Use a combination of primary keys and CHECK constraints.