Databricks Data Engineer Professional exam dumps

Databricks Data Engineer Professional practice question 79 of 313

Databricks Certified Data Engineer Professional. Professional level, Databricks. Free question with the correct answer and a full explanation.

Databricks Data Engineer Professional Question 79

Single answer

You are working on a streaming pipeline in Databricks that processes real-time user activity data, joining it with a static Delta table containing user profile information. You observe that your stream-static join is causing high latency due to excessive state management. Which approach should you take to optimize the state information while ensuring accurate join results?

  1. A

    Use a watermark on the streaming data to limit the amount of state being stored.

  2. B

    Enable Delta Lake's ZORDER on the static table to optimize file access during the join.

  3. C

    Reduce the checkpoint interval to decrease the size of the state stored on disk.

  4. D

    Filter the static Delta table based on streaming data keys to reduce the size of the join.

Show answer and explanation

Correct answer: D

Explanation

In stream-static joins, the state size and performance can be impacted by the volume of data involved in the join. By filtering the static Delta table to only include relevant keys based on the streaming data, you can significantly reduce the amount of data in the join operation, thereby optimizing state management and improving the latency of the streaming pipeline. Other options like watermarking or ZORDER do not directly address the challenge in this scenario.

  • A. Incorrect.

    Using a watermark is useful for stream-stream joins to limit late data, but it does not optimize state management for a stream-static join.

  • B. Incorrect.

    ZORDER improves query performance on Delta tables by optimizing file access, but it does not directly impact the state size in stream-static joins.

  • C. Incorrect.

    Reducing the checkpoint interval controls how often progress is saved but does not optimize state size or join performance.

  • D. Correct.

    Filtering the static Delta table based on streaming data keys reduces the size of the static data involved in the join, which directly minimizes the state size and improves performance.

Timed practice exam

Take a Databricks Data Engineer Professional practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam