Certified Associate Developer for Apache Spark Practice Test
Certified Associate Developer for Apache Spark Practice Test practice questions, page 13 of 14, with answer review and explanations.
Question 61
Which of the following storage levels should be used to store as much data as possible in memory on two cluster nodes while storing any data that does not fit in memory on disk to be read in when needed?
MEMORY_ONLY_2
MEMORY_AND_DISK_SER
MEMORY_AND_DISK
MEMORY_AND_DISK_2
MEMORY_ONLY
Question 62
Which of the following Spark properties is used to configure the maximum size of an automatically broadcasted DataFrame when performing a join?
spark.sql.broadcastTimeout
spark.sql.autoBroadcastJoinThreshold
spark.sql.shuffle.partitions
spark.sql.inMemoryColumnarStorage.batchSize
spark.sql.adaptive.skewedJoin.enabled
Question 63
Which of the following Spark properties is used to configure whether skewed partitions are automatically detected and subdivided into smaller partitions when joining two DataFrames together?
spark.sql.adaptive.skewedJoin.enabled
spark.sql.adaptive.coalescePartitions.enable
spark.sql.adaptive.skewHints.enabled
spark.sql.shuffle.partitions
spark.sql.shuffle.skewHints.enabled
Question 64
Which of the following statements about the Spark DataFrame is true?
Spark DataFrames are mutable unless they've been collected to the driver.
A Spark DataFrame is rarely used aside from the import and export of data.
Spark DataFrames cannot be distributed into partitions.
A Spark DataFrame is a tabular data structure that is the most common Structured API in Spark.
A Spark DataFrame is exactly the same as a data frame in Python or R.
Question 65
Which of the following operations can be used to return a new DataFrame from DataFrame storesDF without columns that are specified by name?