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

  1. Question 70: The code block shown below should extract the integer value for column sqft from the first row of DataFrame storesDF. Choose the response that correctly fills…
  2. Question 71: The code block shown below should print the schema of DataFrame storesDF. Choose the response that correctly fills in the numbered blanks within the code block…
  3. Question 72: The code block shown below contains an error. The code block intended to return a new DataFrame that is the result of an inner join between DataFrame storesDF…
  4. Question 73: Which of the following describes the difference between DataFrame.repartition(n) and DataFrame.coalesce(n)?
  5. Question 74: Which of the following code blocks returns a new DataFrame with a new column customerSatisfactionAbs that is the absolute value of column customerSatisfaction…
  6. Question 75: Which of the following statements about the Spark driver is true?
  7. Question 76: Which of the following code blocks returns a DataFrame containing only the rows from DataFrame storesDF where the value in column sqft is less than or equal to…
  8. Question 77: The code block shown below contains an error. The code block is intended to adjust the number of partitions used in wide transformations like join() to 32. Ide…
  9. Question 78: The code block shown below contains an error. The code block is intended to return the exact number of distinct values in column division in DataFrame storesDF…
  10. Question 79: Which of the following operations can be used to return a new DataFrame from DataFrame storesDF without columns that are specified by name?