Databricks · DA-ASSOC

databricks DA-ASSOC Practice Questions

Practice for the Data Analyst Associate Databricks certification exam. Review available chapters with published question counts.

200 questions across 9 chapters with published questions.

Start free practice

Exam chapters

Practice questions

Sample questions with answers and explanations

Question 1

An analyst writes: SELECT * FROM finance.reporting.invoices. What do the three parts of this name represent in Unity Catalog?

  1. schema.catalog.view
  2. workspace.database.table
  3. metastore.catalog.table
  4. catalog.schema.table — Correct

Correct answer

catalog.schema.table

Explanation

Unity Catalog uses a three-level namespace: catalog.schema.object (table, view, volume, function or model). The metastore sits above catalogs and is not part of the name.

Question 2

A data analyst needs to store a set of PDF reports and CSV extracts next to governed tables so that access to the files is controlled by Unity Catalog. Which object should be used?

  1. A temporary view
  2. A Unity Catalog volume — Correct
  3. The DBFS root
  4. A managed table with a BINARY column

Correct answer

A Unity Catalog volume

Explanation

Volumes are Unity Catalog objects for non-tabular files. Access is governed with privileges such as READ VOLUME and WRITE VOLUME, and files are addressed as /Volumes/catalog/schema/volume/path.

Question 3

An auditor asks for the exact contents of a gold table at the time the Q3 board report was produced, which was version 310. VACUUM retention is the default. Version 310 was written 45 days ago. What is the most likely outcome?

  1. The query will succeed only on a classic SQL warehouse
  2. It may fail because VACUUM may have removed the needed files — Correct
  3. The query will always succeed, because time travel keeps every version forever
  4. The query will return the current data with a warning

Correct answer

It may fail because VACUUM may have removed the needed files

Explanation

By default VACUUM removes unreferenced files older than 7 days, so old versions may not be readable. For audit retention, keep snapshots (for example with CTAS or deep clone) or extend retention settings.

Question 4

A retail company shares a curated Delta table with a subsidiary that runs its own Databricks workspace on a different Unity Catalog metastore. Which sharing model is the most direct?

  1. Exporting the table to CSV in a shared volume
  2. Open sharing with a bearer token emailed to the subsidiary
  3. Lakehouse Federation from the subsidiary's workspace into your SQL warehouse
  4. Databricks-to-Databricks Delta Sharing using the recipient's sharing identifier — Correct

Correct answer

Databricks-to-Databricks Delta Sharing using the recipient's sharing identifier

Explanation

Databricks-to-Databricks sharing uses the recipient metastore's sharing identifier; no tokens need to be managed, and the shared data appears as a catalog for the recipient.

Question 5

What does Predictive Optimization do for Unity Catalog managed tables?

  1. Rewrites analysts' SQL queries to use materialized views automatically
  2. Predicts future values of numeric columns and stores them in a separate table
  3. Scales SQL warehouses up before the morning dashboard refresh
  4. Automatically runs OPTIMIZE, VACUUM and ANALYZE when they are likely to help — Correct

Correct answer

Automatically runs OPTIMIZE, VACUUM and ANALYZE when they are likely to help

Explanation

Predictive Optimization identifies managed tables that would benefit from maintenance and runs OPTIMIZE, VACUUM and ANALYZE automatically, removing the need for manual maintenance jobs.

Other Databricks exams