Exam CDP-3002 Topic 1 Question 172 Discussion

Actual exam question for Cloudera's CDP-3002 exam
Question #: 172
Topic #: 1
What is the impact of setting the Spark configuration spark.sql.autoBroadcastJoinThreshold to -1?

Suggested Answer: A Vote an answer

The spark.sql.autoBroadcastJoinThreshold configuration parameter in Spark specifies the maximum size (in bytes) of a table that can be broadcast to all worker nodes for a join. Setting this value to -1 effectively disables the broadcast join optimization, meaning that Spark will not attempt to broadcast any table regardless of its size. As a result, all joins will use the shuffle join mechanism, which can be less efficient for joining small tables. Options B, C, and D misinterpret the effect of setting the parameter to 1 ; it does not set an unlimited threshold, automatically adjust the threshold, or increase it to improve performance, but rather disables the broadcast join feature altogether.

by Aubrey at Sep 11, 2025, 01:22 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
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.

0
0
0
10