Free Databricks Databricks-Certified-Associate-Developer-for-Apache-Spark-3.0 Exam Questions

Try our Free Demo Practice Tests for Comprehensive Databricks-Certified-Associate-Developer-for-Apache-Spark-3.0 Exam Preparation

  • Databricks Databricks-Certified-Associate-Developer-for-Apache-Spark-3.0 Exam Questions
  • Provided By: Databricks
  • Exam: Databricks Certified Associate Developer for Apache Spark 3.0
  • Certification: Apache Spark Associate Developer
  • Total Questions: 420
  • Updated On: Sep 26, 2024
  • Rated: 4.9 |
  • Online Users: 840
Page No. 1 of 84
Add To Cart
  • Question 1
    • Which of the following is true for driver ? 

      Answer: C
  • Question 2
    • Given an instance of SparkSession named spark, reviewing the following code what's the output ?
      1. from pyspark.sql.types import IntegerType
      2. from pyspark.sql.functions import col
      3. import pyspark.sql.functions as f
      4.
      5.
      6. a = [1002, 3001, 4002, 2003, 2002, 3004, 1003, 4006]
      7. b = spark
      8. .createDataFrame(a, IntegerType())
      9. .withColumn("x", col("value") 00)
      10.
      11. c = b
      12. .groupBy(col("x"))
      13. .agg(f.count("x"), f.sum("value"))
      14. .drop("x")
      15. .toDF("count", "total")
      16. .orderBy(col("count").desc(), col("total"))
      17. .limit(1)
      18. .show()


      Answer: B
  • Question 3
    • Which of the following code blocks immediately removes the previously cached DataFrame transactionsDf from memory and disk? 

      Answer: B
  • Question 4
    • Choose the correct code block to unpersist a table named ‘table’. 

      Answer: C
  • Question 5
    • 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 ?


      Answer: D
PAGE: 1 - 84
Add To Cart

© Copyrights Dumpscity 2024. All Rights Reserved

We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the Dumpscity.