Explain the concept of data contracts or schema validation in maintaining data quality and consistency.
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks what data contracts and schema validation are and how they keep data quality and consistency between producers and consumers. Tests knowledge of contract contents, where validation runs, schema evolution and compatibility, and the limits of structural checks.