×

Special Offer! November Sale at DumpsCity! Get 20% Off on All Certification Exam Questions. Use Code: DC20OFF

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: Nov 14, 2024
  • Rated: 4.9 |
  • Online Users: 840
Page No. 1 of 84
Add To Cart
  • Question 1
    • The code block shown below should return a DataFrame with two columns, itemId and col. In this DataFrame,
      for each element in column attributes of DataFrame itemDf there should be a separate
      row in which the column itemId contains the associated itemId from DataFrame itemsDf. The new DataFrame
      should only contain rows for rows in DataFrame itemsDf in which the column attributes
      contains the element cozy.
      A sample of DataFrame itemsDf is below.
      Code block:
      itemsDf.__1__(__2__).__3__(__4__, __5__(__6__))

      Answer: A
  • Question 2
    • The code block shown below should return a column that indicates through boolean variables whether rows in DataFrame transactionsDf have values greater or equal to 20 and smaller or equal to 30 in column storeId and have the value 2 in column productId. Choose the answer that correctly fills the
      blanks in the code block to accomplish this.
      transactionsDf.__1__((__2__.__3__) __4__ (__5__))

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

      Answer: C
  • Question 4
    • Which of the following code blocks reads in the JSON file stored at filePath, enforcing the schema expressed
      in JSON format in variable json_schema, shown in the code block below?
      Code block:
      1.json_schema = """
      2.{"type": "struct",
      3. "fields": [
      4. {
      5. "name": "itemId",
      6. "type": "integer",
      7. "nullable": true,
      8. "metadata": {}
      9. },
      10. {
      11. "name": "supplier",
      12. "type": "string",
      13. "nullable": true,
      14. "metadata": {}
      15. }
      16. ]
      17.}
      18."""

      Answer: B
  • Question 5
    • Which of the following code blocks reads from a csv file where values are separated with ‘;’ ?

      Answer: C
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.