Databricks Certified Associate Developer For Apache Spark 30 Exam Questions & Answers

Practice 17 free Databricks Certified Associate Developer For Apache Spark 30 exam questions with answers and community-discussed explanations. Each question has its own page where you can reveal the correct answer and debate it in the comments.

All 17 questions

  1. Q1 Which of the followings are useful use cases of spark ?
  2. Q2 What causes a stage boundary ?
  3. Q3 The code block shown below should return a DataFrame with column only aSquared dropped from DataFrame df. Choose the response that correctly…
  4. Q4 The code block shown below contains an error. Identify the error. def squared(s): return s * s spark.udf.register("square", squared)spark.range(1, 20).createOrReplaceTempView("test")spark.sql(“select id, squared(id) as…
  5. Q5 What command we can use to get the number of partition of a dataframe named df ?
  6. Q6 Which of the following code blocks merges two DataFrames df1 and df2 ?
  7. Q7 Which of the following code blocks concatenates two DataFrames df1 and df2 ?
  8. Q8 You have a need to sort a dataframe df which has some null values on column a. You want the null values…
  9. Q9 Which of the following describes a worker node ?
  10. Q10 What are the possible strategies in order to decrease garbage collection time ?
  11. Q11 If we want to create a constant integer 1 as a new column ‘new_column’ in a dataframe df, which code block we…
  12. Q12 When joining two dataframes, if there is a need to evaluate the keys in both of the DataFrames or tables and include…
  13. Q13 How make sure that dataframe df has 8 partitions given that it has 4 partitions ?
  14. Q14 If we want to store RDD as serialized Java objects in the JVM and if the RDD does not fit in memory,…
  15. Q15 Which of the following operations can be used to create a new DataFrame with a new column and all previously existing columns…
  16. Q16 The code block shown below should return a new DataFrame with 25 percent of random records from dataframe df without replacement. Choose…
  17. Q17 The code block shown below should return a new DataFrame with 25 percent of random records from dataframe df with replacement. Choose…

More Databricks certifications

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need