Skip to main content
๐Ÿ“˜ Complete PDF

PySpark Certification Practice Test 02

DataFrame Operations and Transformations

Question 1 of 20
๐Ÿ“‹ Multiple Choice
Question 21
A newly joined Data Engineer at an e-commerce company receives a customer dataset containing more than 50 columns. Business users only need: - customer_id - customer_name - country The engineer wants to reduce unnecessary data processing as early as possible. Which PySpark operation should be used?
A. distinct()
B. filter()
C. union()
โœ“
D. select()
Answer
โœ… D. select()
Explanation
### Explanation select() allows engineers to choose only required columns.
Answered: 0 / 20
Question Navigator (Test 02)0% Answered