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 13 of 20.

  1. Question 138: Which of the following code blocks uses SQL to return a new DataFrame containing column storeId and column managerName from a table created from DataFrame stor…
  2. Question 139: The code block shown below should adjust the number of partitions used in wide transformations like join() to 32. Choose the response that correctly fills in t…
  3. Question 140: Which of the following code blocks returns a new DataFrame that is the result of a cross join between DataFrame storesDF and DataFrame employeesDF?
  4. Question 141: Which of the following code blocks returns a new DataFrame that is the result of a position-wise union between DataFrame storesDF and DataFrame acquiredStoresD…
  5. Question 142: In what order should the below lines of code be run in order to read a parquet at the file path filePath into a DataFrame? Lines of code: 1. storesDF 2. .load(…
  6. Question 143: Which of the following describes slots?
  7. Question 144: Which of the following operations is least likely to result in a shuffle?
  8. Question 147: The code block shown below should return a new DataFrame where rows in DataFrame storesDF containing at least one missing value have been dropped. Choose the r…
  9. Question 148: The code block shown below should return a 25 percent sample of rows from DataFrame storesDF with reproducible results. Choose the response that correctly fill…
  10. Question 149: Which of the following code blocks creates a Python UDF assessPerformanceUDF() using the integer-returning Python function assessPerformance() and applies it t…