Databricks Certified Associate Developer for Apache Spark
Get started today
Ultimate access to all questions.
Comments
Loading comments...
Which of the following operations can be used to create a new DataFrame with 12 partitions from an original DataFrame df that currently has 8 partitions?
Exam-Like
A
df.repartition(12)
93.7%
B
df.cache()
0.0%
C
df.partitionBy(1.5)
3.2%
D
df.coalesce(12)
3.2%
E
df.partitionBy(12)
Powered ByGPT-5.2
Which of the following operations can be used to create a new DataFrame with 12 partitions from an original DataFrame `df` that currently has 8 partitions? | Databricks Certified Associate Developer for Apache Spark Quiz - LeetQuiz