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

If we want to create a constant integer 1 as a new column ‘new_column’ in a dataframe df, which code block we should select ? 

Options :
Answer: A

Question 2

Given the following statements regarding caching:
1. 1: The default storage level for a DataFrame is StorageLevel.MEMORY
2.
3. 2: The DataFrame class does have an unpersist() operation
4.
5. 3: The persist() method needs an action to load data from its source to materialize the DataFrame in cache
Which one is NOT TRUE ?

Options :
Answer: D

Question 3

Choose the correct code block to unpersist a table named ‘table’. 

Options :
Answer: C

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

The code block shown below should return the number of columns in the CSV file stored at location filePath. From the CSV file, only lines should be read that do not start with a # character. Choose the answer that correctly fills the blanks in the code block to accomplish this

Code block:
__1__(__2__.__3__.csv(filePath, __4__).__5__)

Options :
Answer: A

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.