Exam Code: Databricks-Certified-Associate-Developer-for-Apache-Spark-3.0
Exam Questions: 420
Databricks Certified Associate Developer for Apache Spark 3.0
Updated: 15 Jul, 2026
Viewing Page : 1 - 42
Practicing : 1 - 5 of 420 Questions
Question 1

Which of the following code blocks immediately removes the previously cached DataFrame transactionsDf from memory and disk? 

Options :
Answer: B

Question 2

Which of the following is correct for the cluster manager ? 

Options :
Answer: B

Question 3

How to make sure that dataframe df has 12 partitions given that df has 4 partitions ? 

Options :
Answer: A

Question 4

The code block displayed below contains an error. The code block should return DataFrame transactionsDf,
but with the column storeId renamed to storeNumber. Find the error.
Code block:
transactionsDf.withColumn("storeNumber", "storeId")

Options :
Answer: A

Question 5

Which of the following code blocks creates a new DataFrame with 3 columns, productId, highest, and lowest,
that shows the biggest and smallest values of column value per value in column
productId from DataFrame transactionsDf?
Sample of DataFrame transactionsDf:
1.+-------------+---------+-----+-------+---------+----+
2.|transactionId|predError|value|storeId|productId| f|
3.+-------------+---------+-----+-------+---------+----+
4.| 1| 3| 4| 25| 1|null|
5.| 2| 6| 7| 2| 2|null|
6.| 3| 3| null| 25| 3|null|
7.| 4| null| null| 3| 2|null|
8.| 5| null| null| null| 2|null|
9.| 6| 3| 2| 25| 2|null|
10.+-------------+---------+-----+-------+---------+----+

Options :
Answer: D

Viewing Page : 1 - 42
Practicing : 1 - 5 of 420 Questions

© Copyrights FreePDFQuestions 2026. All Rights Reserved

We use cookies to ensure that we give you the best experience on our website (FreePDFQuestions). If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the FreePDFQuestions.