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

Become Databricks Certified with updated Databricks-Certified-Associate-Developer-for-Apache-Spark-3.0 exam questions and correct answers

Page:    1 / 84      
Total 420 Questions | Updated On: Apr 18, 2025
Add To Cart
Question 1

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 2

Which of the following is true for driver ? 


Answer: C
Question 3

You have a need to transform a column named ‘date’ to a timestamp format. Assume that the column ‘date’ is timestamp compatible. You have written the code block
down below, but it contains an error. Identify and fix it.
df.select(to_timestamp("yyyy-dd-MM", col("date"))).show()


Answer: D
Question 4

What are the possible strategies in order to decrease garbage collection time ? 


Answer: A,B,C
Question 5

Choose the correct code block to unpersist a table named ‘table’. 


Answer: C
Page:    1 / 84      
Total 420 Questions | Updated On: Apr 18, 2025
Add To Cart

© Copyrights DumpsCertify 2025. All Rights Reserved

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