DATABRICKS-DATA-ANALYST-ASSOCIATE practice question 9 of 15
A stakeholder has provided a data analyst with a lookup dataset in the form of a 50-row CSV file. The data analyst needs to upload this dataset for use as a table in Databricks SQL. Which approach should the data analyst use to quickly upload the file into a table for use in Databricks SOL?
Full set: 117 questionsThe most direct and efficient method for a data analyst to quickly upload a small CSV file and create a table in Databricks SQL is by using the built-in "Add data" UI. This feature is specifically designed for this use case, allowing users to upload files from their local machine directly through the web interface. The UI guides the user through the process, automatically inferring the schema and creating a managed Delta table, which is immediately available for querying in Databricks SQL. This single, streamlined workflow is significantly faster than multi-step alternatives.
B: Partner Connect is used to establish integrations with third-party data tools and services (like Fivetran or Power BI), not for direct file uploads from a user's desktop. C: While functional, this method is less efficient. It requires the analyst to first access and upload the file to an external cloud storage location before creating the table in Databricks. D: Manually copying and pasting data is highly impractical, error-prone, and not a standard or recommended procedure for data ingestion, even for a small number of rows.
1. Databricks Documentation, "Load data using the add data UI": This document explicitly describes the feature mentioned in option A. It states, "You can use the add data UI to load data from your local machine... Databricks stores these files as managed tables." This confirms it is the intended method for this scenario.
2. Databricks Documentation, "Ingest data into a Databricks lakehouse": This guide provides an overview of data ingestion methods. It positions the "Add data UI" as the simplest way to get started by loading local files, contrasting it with more advanced, scalable methods like Auto Loader which would be used for files already in cloud storage (as described in option C).
3. Databricks Documentation, "What is Databricks Partner Connect?": This source clarifies the purpose of Partner Connect, stating it "lets you create connections to our software and data partners from the Databricks UI." This confirms it is not a tool for direct file ingestion from a local machine.
Keep practicing
Take the free DATABRICKS-DATA-ANALYST-ASSOCIATE practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other DATABRICKS-DATA-ANALYST-ASSOCIATE practice questions
- Question 1Which of the following statements about a refresh schedule is incorrect?
- Question 2A data analyst has been asked to produce a visualization that shows the flow of users thr…
- Question 3A data team has been given a series of projects by a consultant that need to be implement…
- Question 4A data analyst is attempting to drop a table my_table. The analyst wants to delete all ta…
- Question 5In which of the following situations will the mean value and median value of variable be …
- Question 6Which of the following benefits of using Databricks SQL is provided by Data Explorer?
