Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Databricks Certified Associate Developer for Apache Spark · Databricks
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
- A 7-day trailing window per user: partition by user_id, order by date, frame 6 rows before the current row (rowsBetween(-6, 0)). Use with F.avg over that window. Option B misses partitioning. Option C partitions by date (wrong). Option D is invalid syntax.