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. min()
B. avg()
โœ“
C. row_number()
D. count()
Answer
โœ… C. row_number()
Answered: 0 / 20
Question Navigator (Test 09)0% Answered