Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Associate Developer for Apache Spark All Questions

View all questions & answers for the Certified Associate Developer for Apache Spark exam

Exam Certified Associate Developer for Apache Spark topic 1 question 10 discussion

Which of the following DataFrame operations is classified as a wide transformation?

  • A. DataFrame.filter()
  • B. DataFrame.join()
  • C. DataFrame.select()
  • D. DataFrame.drop()
  • E. DataFrame.union()
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
4be8126
Highly Voted 1 year, 6 months ago
Selected Answer: B
B. DataFrame.join() is classified as a wide transformation, as it shuffles the data across the network to perform the join operation.
upvoted 5 times
...
Becida
Most Recent 1 month, 3 weeks ago
Selected Answer: B
Join takes different partitions and combines into single dataframe.
upvoted 1 times
...
TmData
1 year, 5 months ago
Selected Answer: B
The DataFrame operation classified as a wide transformation is: B. DataFrame.join() Explanation: In Spark, transformations are operations on DataFrames that create a new DataFrame from an existing one. Wide transformations involve shuffling or redistributing data across partitions and typically require data movement across the network. Among the options provided, DataFrame.join() is a wide transformation because it involves combining two DataFrames based on a common key column, which often requires shuffling and redistributing the data across partitions.
upvoted 3 times
...
SonicBoom10C9
1 year, 6 months ago
Selected Answer: B
None of the other options are wide transformations, they are narrow (logically, they modify the length of a dataframe). Only a join can force shuffling of data between horizontally scaled partitions.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...