Databricks-Spark-Assoc • Practice Test 5 — 25 Questions
Free Databricks-Spark-Assoc practice test 5 — 25 questions with explanations. No signup required.
A data engineer has a PySpark DataFrame `events` with columns `user_id`, `event_time` (timestamp), and `payload` (string). They must produce a new DataFrame where each row is enriched with the `payload` value from the user's immediately preceding event, ordered by `event_time`, without collapsing any rows. Which TWO approaches accomplish this? (Choose two.)
Choose an answer to begin — your selection is scored in the full session.
25 questions · instant feedback and full explanations after every question.