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

Which of the following code blocks returns a new DataFrame that is the result of a cross join between DataFrame storesDF and DataFrame employeesDF?

    Correct Answer: A

    The correct option is the one that uses the crossJoin method on the storesDF DataFrame. This method is specifically designed to perform a cross join between two DataFrames. Therefore, storesDF.crossJoin(employeesDF) will return a new DataFrame that is the result of a cross join between storesDF and employeesDF.

Discussion
Samir_91Option: A

A is the answer

Sowwy1Option: A

A is correct