Databricks Certified Associate Developer for Apache Spark Free Practice Exam Questions

195 real Databricks Certified Associate Developer for Apache Spark exam questions with answers and AI explanations. Databricks certification prep — page 3 of 20.

  1. Question 26: The code block shown below should return a new DataFrame from DataFrame storesDF where column modality is the constant string "PHYSICAL", Assume DataFrame stor…
  2. Question 27: Which of the following code blocks returns a new DataFrame where column division from DataFrame storesDF has been replaced and renamed to column state and colu…
  3. Question 29: The code block shown below contains an error. The code block is intended to return a new DataFrame with the mean of column sqft from DataFrame storesDF in colu…
  4. Question 30: Which of the following code blocks returns a collection of summary statistics for all columns in DataFrame storesDF?
  5. Question 31: Which of the following code blocks returns a 15 percent sample of rows from DataFrame storesDF without replacement?
  6. Question 32: Which of the following code blocks returns all the rows from DataFrame storesDF?
  7. Question 33: Which of the following code blocks applies the function assessPerformance() to each row of DataFrame storesDF?
  8. Question 34: The code block shown below should create and register a SQL UDF named "ASSESS_PERFORMANCE" using the Python function assessPerformance() and apply it to column…
  9. Question 35: The code block shown below contains an error. The code block is intended to create a Python UDF assessPerformanceUDF() using the integer-returning Python funct…
  10. Question 36: The code block shown below contains an error. The code block is intended to use SQL to return a new DataFrame containing column storeId and column managerName…