QuestionQ96

VerifiedData Modelling

A junior data engineer is implementing logic for a Lakehouse table called silver_device_recordings. The source data contains 100 distinct fields in a deeply nested JSON structure.

The silver_device_recordings table will be used downstream to support several production monitoring dashboards and a production model. Currently, 45 of the 100 fields are used by at least one of these applications.

The data engineer is determining the best schema-declaration approach given the highly nested data structure and the large number of fields.

Which of the following correctly describes Delta Lake and Databricks information that could affect their decision-making process?

Explanation

Schema inference selects types based on the data it observes and can use permissive types to accommodate varying values; it does not establish that the inferred types are the intended contract for downstream consumers. Defining types explicitly enables Delta Lake schema enforcement on writes, requiring inserted columns and data types to conform to the target table schema and therefore providing stronger data-quality controls.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!