A data analyst needs to quickly upload a small CSV file from their local machine into Databricks to explore its contents. They want to avoid writing code and prefer a graphical interface. Which Databricks feature should they use?
The Add Data UI in Databricks provides a point-and-click interface for uploading files from a local machine. It supports CSV, JSON, and other formats, automatically infers schema, and creates a table. This is ideal for quick, one-time uploads without coding. It also allows previewing and editing column types before creating the table, making it suitable for analysts who prefer a visual approach.
Why this answer
The Add Data UI is specifically designed for uploading local files through a graphical interface, automatically creating tables and inferring schema. It requires no coding and is perfect for quick exploration. Other options involve command-line or programmatic interfaces, which are not as user-friendly for ad-hoc uploads.
Exam trap
The trap here is confusing the Add Data UI with command-line tools like the Databricks CLI or DBFS CLI, which also allow file uploads but require coding or terminal commands.