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. select()
B. filter()
C. distinct()
D. union()
Answer
✅ A. select()
Explanation
### Explanation select() allows engineers to choose only required columns.
Answered: 0 / 20
Question Navigator (Test 02)0% Answered