Question 51

The downstream consumers of a Delta Lake table have been complaining about data quality issues impacting performance in their applications. Specifically, they have complained that invalidlatitudeandlongitudevalues in theactivity_detailstable have been breaking their ability to use other geolocation processes.
A junior engineer has written the following code to addCHECKconstraints to the Delta Lake table:

A senior engineer has confirmed the above logic is correct and the valid ranges for latitude and longitude are provided, but the code fails when executed.
Which statement explains the cause of this failure?
  • Question 52

    A junior data engineer has been asked to develop a streaming data pipeline with a grouped aggregation using DataFramedf. The pipeline needs to calculate the average humidity and average temperature for each non- overlapping five-minute interval. Events are recorded once per minute per device.
    Streaming DataFramedfhas the following schema:
    "device_id INT, event_time TIMESTAMP, temp FLOAT, humidity FLOAT"
    Code block:

    Choose the response that correctly fills in the blank within the code block to complete this task.
  • Question 53

    A Delta Lake table was created with the below query:
    Consider the following query:
    DROP TABLE prod.sales_by_store -
    If this statement is executed by a workspace admin, which result will occur?
  • Question 54

    A data engineer is performing a join operating to combine values from a static userlookup table with a streaming DataFrame streamingDF.
    Which code block attempts to perform an invalid stream-static join?
  • Question 55

    While investigating a performance issue, you realized that you have too many small files for a given table, which command are you going to run to fix this issue