DATABRICKS-CERTIFIED-ASSOCIATE-DEVELOPER-FOR-APACHE-SPARK-3-0 practice question 3 of 25

Which of the following code blocks reads the parquet file stored at filePath into DataFrame itemsDf, using a valid schema for the sample of itemsDf…

Choose your answer, then check it against the explanation.

Which of the following code blocks reads the parquet file stored at filePath into DataFrame itemsDf, using a valid schema for the sample of itemsDf shown below? Sample of itemsDf: 1. +------+-----------------------------+-------------------+ 2. |itemId|attributes |supplier | 3. +------+-----------------------------+-------------------+ 4. |1 |[blue, winter, cozy] |Sports Company Inc.| 5. |2 |[red, summer, fresh, cooling]|YetiX | 6. |3 |[green, summer, travel] |Sports Company Inc.| 7. +------+-----------------------------+-------------------+
Answer options
Question 3 of 25

Keep practicing

Take the free DATABRICKS-CERTIFIED-ASSOCIATE-DEVELOPER-FOR-APACHE-SPARK-3-0 practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other DATABRICKS-CERTIFIED-ASSOCIATE-DEVELOPER-FOR-APACHE-SPARK-3-0 practice questions

Scroll to Top