Skip to main content
📘 Complete PDF

PySpark Certification Practice Test 09

Complete the Logic / Best Coding Solution

Question 1 of 20
📋 Multiple Choice
Question 161
A retail company wants the latest customer record. Input: customer_id | city | update_date ------------|----------|------------ 1 | Bangalore| 2024-01-01 1 | Chennai | 2024-02-01 2 | Mumbai | 2024-01-15 Which window function is the BEST choice?
A. row_number()
B. count()
C. avg()
D. min()
Answer
✅ A. row_number()
Answered: 0 / 20
Question Navigator (Test 09)0% Answered