Databricks Data Analyst Associate · Section 3 · 5% of the exam
Use the Databricks Workspace UI to upload a data file to the platform.
One of the objectives of the Databricks Certified Data Analyst Associate exam, in the section “Importing Data”. Here is what it covers, the points to remember and a question to try.
What it covers
There are several ways to bring data into Databricks. Read cloud storage such as S3 through Unity Catalog, ingest new files incrementally with Auto Loader, receive live shared data through Delta Sharing (OpenSharing) or Marketplace, pull from or push to APIs, and upload small local files through the workspace UI.
Points to remember
- S3 access in Unity Catalog uses a storage credential (IAM role) plus an external location. Analysts get READ FILES or a volume, never keys or mounts.
- Add data UI for S3: + New > Add data > Amazon S3 > external location > Preview table > Create table creates a managed table.
read_files= batch read of every file. COPY INTO = idempotent SQL load. Auto Loader (cloudFiles,STREAM read_files) = incremental, exactly-once and schema-evolving.- Auto Loader keeps discovered files in a RocksDB checkpoint. The default detection mode is directory listing; file notification with file events is recommended.
- Delta Sharing (now OpenSharing): live, read-only, no copies. Databricks recipients mount a share as a catalog; open recipients use a credential file or OIDC.
Try a question
An analyst uploads three CSV files with the same columns in one go through Create or modify a table. Two of the files have a header row and one does not, and First row contains the header stays enabled. What happens?
- AThe three files are joined on their first column to build one wide table with all fields
- BEach file becomes a separate table named after the file it was uploaded from
- CRows append into one table, and the headerless file loses its first row as a header
- DThe page detects headers separately for each file, so every row loads correctly
Show the answer
C. When several files are uploaded together, their rows are appended into one target table, and the header setting applies to every file. A file without a header therefore has its first data row read as a header, and that row is lost. The docs warn that headers must be consistently present or absent across the files to avoid data loss.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Bringing Data into Databricks teaches this objective (about 50 minutes), and 13 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.