nerdexam
Databricks

DATABRICKS-CERTIFIED-ASSOCIATE-DEVELOPER-FOR-APACHE-SPARK · Question #134

The code block shown below should return a new 12-partition DataFrame from DataFrame storesDF. Choose the response that correctly fills in the numbered blanks within the code block to complete this…

The correct answer is D. 1. storesDF. See the full explanation below for the reasoning.

Working with Spark DataFrames

Question

The code block shown below should return a new 12-partition DataFrame from DataFrame storesDF. Choose the response that correctly fills in the numbered blanks within the code block to complete this task. Code block:

1.2(3)

Options

  • A
    1. storesDF
  • B
    1. storesDF
  • C
    1. storesDF
  • D
    1. storesDF
  • E
    1. storesDF

How the community answered

(35 responses)
  • A
    6% (2)
  • C
    3% (1)
  • D
    89% (31)
  • E
    3% (1)

Topics

#Spark DataFrame API#Data Partitioning#Spark Transformations

Community Discussion

No community discussion yet for this question.

Full DATABRICKS-CERTIFIED-ASSOCIATE-DEVELOPER-FOR-APACHE-SPARK Practice