Exam Certified Associate Developer for Apache Spark All QuestionsBrowse all questions from this exam
Question 120

Which of the following operations will fail to trigger evaluation?

    Correct Answer: D

    DataFrame.join() is a transformation operation in Spark. It does not trigger an evaluation. Instead, it defines a new DataFrame that will be evaluated later when an action is performed. Transformations like join() are lazy and only build up a plan for the computation, while actions like collect(), count(), first(), and take() trigger the execution of that plan.

Discussion
AnweeeOption: D

Join is a tranformation so it will not throw results, while others are actions, so Join() is correct