Databricks Certified Associate Developer for Apache Spark 3.0 Exam Databricks-Certified-Associate-Developer-for-Apache-Spark-3.0 Question # 41 Topic 5 Discussion

Databricks Certified Associate Developer for Apache Spark 3.0 Exam Databricks-Certified-Associate-Developer-for-Apache-Spark-3.0 Question # 41 Topic 5 Discussion

Databricks-Certified-Associate-Developer-for-Apache-Spark-3.0 Exam Topic 5 Question 41 Discussion:
Question #: 41
Topic #: 5

Which of the following code blocks reads in the JSON file stored at filePath as a DataFrame?


A.

spark.read.json(filePath)


B.

spark.read.path(filePath, source="json")


C.

spark.read().path(filePath)


D.

spark.read().json(filePath)


E.

spark.read.path(filePath)


Get Premium Databricks-Certified-Associate-Developer-for-Apache-Spark-3.0 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.