Databricks-Certified-Professional-Data-Engineer Exam Question 1

A junior data engineer is working to implement logic for a Lakehouse table named silver_device_recordings. The source data contains 100 unique fields in a highly nested JSON structure.
The silver_device_recordings table will be used downstream to power several production monitoring dashboards and a production model. At present, 45 of the 100 fields are being used in at least one of these applications.
The data engineer is trying to determine the best approach for dealing with schema declaration given the highly-nested structure of the data and the numerous fields.
Which of the following accurately presents information about Delta Lake and Databricks that may impact their decision-making process?
  • Databricks-Certified-Professional-Data-Engineer Exam Question 2

    A data engineer is designing a Lakeflow Declarative Pipeline to process streaming order data. The pipeline uses Auto Loader to ingest data and must enforce data quality by ensuring customer_id and amount are greater than zero. Invalid records should be dropped.
    Which Lakeflow Declarative Pipelines configurations implement this requirement using Python?
  • Databricks-Certified-Professional-Data-Engineer Exam Question 3

    The data engineering team has configured a Databricks SQL query and alert to monitor the values in a Delta Lake table. The recent_sensor_recordings table contains an identifying sensor_id alongside the timestamp and temperature for the most recent 5 minutes of recordings.
    The below query is used to create the alert:

    The query is set to refresh each minute and always completes in less than 10 seconds. The alert is set to trigger when mean (temperature) > 120. Notifications are triggered to be sent at most every 1 minute.
    If this alert raises notifications for 3 consecutive minutes and then stops, which statement must be true?
  • Databricks-Certified-Professional-Data-Engineer Exam Question 4

    A Delta table of weather records is partitioned by date and has the below schema:
    date DATE, device_id INT, temp FLOAT, latitude FLOAT, longitude FLOAT
    To find all the records from within the Arctic Circle, you execute a query with the below filter:
    latitude > 66.3
    Which statement describes how the Delta engine identifies which files to load?
  • Databricks-Certified-Professional-Data-Engineer Exam Question 5

    An upstream system has been configured to pass the date for a given batch of data to the Databricks Jobs API as a parameter. The notebook to be scheduled will use this parameter to load data with the following code:
    df = spark.read.format("parquet").load(f"/mnt/source/(date)")
    Which code block should be used to create the date Python variable used in the above code block?