databricks Data Analyst Associate · Practice questions

Section 3: Importing Data Practice Questions

Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.

Sign up free for the full quiz

Question 1

An analyst needs ad hoc access to a small spreadsheet to join with a Unity Catalog table during exploration. The file is on the analyst's laptop. What is the quickest supported way?

  1. Create a Delta Sharing recipient for the laptop
  2. Ask an admin to mount the laptop drive with DBFS
  3. Configure Lakeflow Connect for the laptop
  4. Upload it through the workspace UI — Correct

Correct answer

Upload it through the workspace UI

Explanation

The UI upload lets users create a table from a local file in a few steps; it is meant for small files and quick analysis.

Question 2

A company wants to acquire a third-party weather dataset and make it queryable in its workspace without building an ingestion pipeline. Which Databricks capability supports this?

  1. Lakeflow Connect
  2. Databricks Marketplace — Correct
  3. Auto Loader
  4. Lakehouse Federation

Correct answer

Databricks Marketplace

Explanation

Databricks Marketplace lists data products from providers, delivered via Delta Sharing. Once you get a listing, the data appears as a catalog you can query, with no ingestion pipeline needed.

Question 3

New CSV files arrive continuously in a cloud storage folder. A data team wants incremental ingestion that tracks which files have already been processed. Which feature is designed for this?

  1. Query result cache
  2. Lakehouse Federation
  3. Delta time travel
  4. Auto Loader — Correct

Correct answer

Auto Loader

Explanation

Auto Loader (cloudFiles) incrementally discovers and processes new files in cloud storage, keeping track of processed files in a checkpoint. It also supports schema inference and evolution.

Question 4

Which ingestion method is designed for pulling data from an external REST API, for example from a notebook or job that calls the API and writes the response to a Delta table?

  1. Time travel
  2. Lakehouse Federation
  3. Databricks Marketplace
  4. Code calling the API, scheduled as a job — Correct

Correct answer

Code calling the API, scheduled as a job

Explanation

API-driven ingestion uses code (for example Python requests in a notebook) that calls the API and writes results to Delta, orchestrated by a job. Federation is for querying databases in place.

Question 5

Which statement about querying a foreign catalog created with Lakehouse Federation is correct?

  1. Foreign catalogs bypass Unity Catalog permissions to improve query performance.
  2. The first query automatically copies the full source table into a managed Delta table.
  3. Queries are read-only; data stays in the source system and is queried in place. — Correct
  4. Foreign tables support UPDATE and MERGE but not SELECT statements.

Correct answer

Queries are read-only; data stays in the source system and is queried in place.

Explanation

Federated queries read data from the external system at query time and are read-only. Unity Catalog still governs access to foreign catalogs and records lineage.

Question 6

A data team regularly receives CSV files from a partner through an S3 bucket. Analysts only need the latest files appended to a table once a day, using SQL. Which ingestion approach is simplest and idempotent?

  1. A Genie space connected to the bucket
  2. A file upload in the UI each morning
  3. COPY INTO from the bucket path — Correct
  4. Delta Sharing from the bucket

Correct answer

COPY INTO from the bucket path

Explanation

COPY INTO is a SQL command that loads files from a cloud storage location into a Delta table and skips files that were already loaded, making re-runs safe.

Question 7

Raw clickstream files land continuously in a volume, and an analyst wants a table that ingests only new records incrementally using SQL. Which object best fits this requirement?

  1. A shallow clone
  2. A dynamic view
  3. A streaming table — Correct
  4. A materialized view

Correct answer

A streaming table

Explanation

Streaming tables process append-only sources incrementally, reading only new data each refresh. Materialized views are better suited to aggregations or joins whose full result must be kept correct.

Question 8

Data arrives as JSON from a SaaS application's REST API every hour. Which ingestion approach is the best fit when a managed connector for that SaaS application is available?

  1. Lakeflow Connect managed connector for the application — Correct
  2. A Delta Sharing recipient created for the SaaS vendor
  3. A Lakehouse Federation connection to the SaaS API
  4. A UI file upload performed by an analyst every hour

Correct answer

Lakeflow Connect managed connector for the application

Explanation

Lakeflow Connect managed connectors ingest from supported SaaS applications and databases with managed incremental pipelines. Lakehouse Federation targets databases and warehouses, not arbitrary REST APIs.

Question 9

An analyst creates a table with CREATE TABLE t AS SELECT * FROM read_files('/Volumes/main/raw/files/sales/', format => 'csv', header => true). What is created?

  1. A streaming table that updates automatically
  2. An external CSV table pointing to the volume
  3. A managed Delta table holding the CSV data — Correct
  4. A temporary view over the files

Correct answer

A managed Delta table holding the CSV data

Explanation

CTAS with read_files reads the files once and writes the results into a new managed Delta table. It does not keep reading new files.

Question 10

Which statement about Lakeflow Connect managed connectors is correct?

  1. They are only used to share data with external partners
  2. Managed ingestion pipelines from SaaS apps and databases into tables — Correct
  3. They require writing custom Spark code for each source
  4. They query SaaS applications live at query time without copying data

Correct answer

Managed ingestion pipelines from SaaS apps and databases into tables

Explanation

Managed connectors in Lakeflow Connect handle incremental ingestion from sources such as Salesforce, Workday or SQL Server into Delta tables, with little or no code.

Ready for the full quiz?

Create a free QuizAnalyst account to practice the complete question set and save your progress.

Sign up free for the full quiz