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

Which of the following Spark properties is used to configure whether DataFrames found to be below a certain size threshold at runtime will be automatically broadcasted?

    Correct Answer: B

    The correct Spark property to configure whether DataFrames below a certain size will be automatically broadcasted is spark.sql.autoBroadcastJoinThreshold. This property sets the size threshold for broadcasting tables during join operations. If a DataFrame is below this specified size, it will be broadcasted to all executor nodes to enhance the efficiency of the join operation.

Discussion
5cf7aceOption: B

This property is used to configure the threshold for automatically broadcasting small tables in join operations. When the size of a DataFrame is below this threshold, it will be broadcasted to all executor nodes for efficient join operations.

jtu363Option: B

Sorry,its B, can't edit previous answer

jtu363Option: A

spark.conf.set("spark.sql.autoBroadcastJoinThreshold", value)