Skip to main content

DATABRICKS-CERTIFIED-DATA-ANALYST-ASSOCIATE Real Exam Questions

Databricks Certified Data Analyst Associate

156 questions available · Page 1 of 16

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Single choice

What does Partner Connect do when connecting Power BI and Tableau?

  1. A

    Creates a Personal Access Token, downloads and installs an ODBC driver, and downloads a configuration file for connection by Power BI or Tableau to a SQL Warehouse (formerly known as a SQL Endpoint).

  2. B

    Creates a Personal Access Token for authentication into Databricks SQL and emails it to you.

  3. C

    Downloads a configuration file for connection by Power BI or Tableau to a SQL Warehouse (formerly known as a SQL Endpoint).

  4. D

    Downloads and installs an ODBC driver.

Show answer and explanation

Correct answer: C

Explanation

For these business intelligence connections, Partner Connect downloads a configuration file containing the connection information used by Power BI or Tableau to reach a SQL Warehouse, formerly a SQL Endpoint. The described action is limited to providing that configuration file; it does not include creating and emailing a personal access token or downloading and installing an ODBC driver.

Question 2 Single choice

A data analyst needs to share a certified dataset containing approved public economic indicators with an external research institution. The institution does not have access to the Databricks workspace. The dataset is managed in Unity Catalog and has already been reviewed and tagged appropriately.

The analyst's requirements are:

Share the dataset securely and read-only Ensure the institution receives only the specified tables Avoid giving access to the full catalog or workspace Maintain auditability and governance using Unity Catalog.

How should the analyst share the dataset?

  1. A

    Grant the external users access to Unity Catalog by adding their emails to the workspace.

  2. B

    Use COPY INTO to export the dataset into a managed Delta table, then use Unity Catalog's GRANT SELECT to provide access to the institution.

  3. C

    Use the GRANT SELECT command to give the external group's principal access to the table.

  4. D

    Create a Delta Share, add the required table, define a recipient, and ensure that a Unity Catalog metastore admin or privileged user in the recipient's workspace grants appropriate access permissions to their users.

Show answer and explanation

Correct answer: D

Explanation

Delta Sharing is designed to provide governed, read-only data access to recipients outside the provider's workspace. The analyst creates a Delta Share, adds only the required tables, and defines the institution as a recipient. Access remains scoped and auditable, while an authorized administrator on the recipient side grants its users appropriate permissions.

Question 3 Single choice

A data analyst is building a parameterized SQL query in Databricks to filter sales data by region and year. The analyst wants to test the query with different parameter values before adding it to a dashboard.

Which approach should the analyst use to allow for dynamic testing of the parameters in the Databricks SQL editor?

  1. A

    Hard-code the region and year values directly into the SQL query and rerun it for each test.

  2. B

    Use parameter markers (e.g.,:region,:year) in the SQL query and enter their values in the input boxes before running the query.

  3. C

    Replace the column names (e.g., region, year) with question marks ("?") and expect Databricks to prompt for values at runtime.

  4. D

    Add the parameters as variables in a Python notebook cell and reference them in the SQL query.

Show answer and explanation

Correct answer: B

Explanation

Named parameter markers such as :region and :year keep the SQL statement reusable while allowing each test run to supply different values. The SQL editor presents input boxes for those markers, so the analyst can enter the desired region and year before running the query instead of editing its text for every test.

Question 4 Single choice

A data analyst runs the following command:

Which table represents the output of this command?

  1. A
  2. B
  3. C
  4. D
Show answer and explanation

Correct answer: D

Explanation

The WHERE clause applies both conditions: age must be at least 75 and country must equal canada. The three qualifying records therefore return ages 80, 75, and 90 with canada, and SELECT age, country limits the output to those two columns. Rows with a NULL age or NULL country do not satisfy the corresponding comparison, matching table D.

Question 5 Single choice

In which circumstance will there be a substantial difference between the variable's mean and median values?

  1. A

    When the variable contains no outliers

  2. B

    When the variable contains a lot of extreme outliers

  3. C

    When the variable is of the categorical type

  4. D

    When the variable is of the boolean type

Show answer and explanation

Correct answer: B

Explanation

A large number of extreme outliers can shift the arithmetic mean because every observation contributes its full magnitude to the calculation. The median is determined by the middle ordered position, so the size of those extreme values has much less influence. This difference in sensitivity can produce a substantial gap between the two measures.

Question 6 Single choice

A data analyst team is working with large datasets stored as Delta tables (Parquet format) in Databricks on Azure Data Lake. The teams want to speed up query performance and reduce repeated computation by leveraging caching. However, they notice that sometimes caching does not improve performance or even slows down queries. The team wants to understand the best practices and limitations of caching in Databricks to optimize their workflows.

What is the limitation when using caching in Databricks to reduce development time and query latency?

  1. A

    Query result caching in Databricks SQL works best with non-deterministic queries that use functions like NOW() or RAND().

  2. B

    Caching CSV or JSON files with Delta Cache is fully supported and recommended for best performance.

  3. C

    Delta Cache (disk cache) automatically caches Parquet files on local SSDs and improves read performance, but only supports Parquet files stored on Azure Blob Storage or Azure Data Lake.

  4. D

    Spark caching always improves performance and should be applied liberally to all dataframes regardless of size or query complexity.

Show answer and explanation

Correct answer: C

Explanation

Delta Cache, also described as disk cache, stores copies of Parquet data on local SSDs so repeated reads can avoid fetching the same remote files. Its limitation here is format and storage scope: it supports Parquet files stored on Azure Blob Storage or Azure Data Lake. CSV and JSON are therefore outside that stated cache support.

Question 7 Single choice

Where in the Databricks SQL workspace can a data analyst configure a refresh schedule for a query when the query is not attached to a dashboard or alert?

  1. A

    Data Explorer

  2. B

    The Visualization Editor

  3. C

    The Query Editor

  4. D

    The Dashboard Editor

Show answer and explanation

Correct answer: C

Explanation

When a saved query is independent of a dashboard or alert, its own execution and scheduling controls are available in the Query Editor. Configuring the refresh there associates the schedule directly with that query. The Visualization and Dashboard editors manage presentation assets, while Data Explorer manages data objects rather than query refresh timing.

Question 8 Single choice

What describes Partner Connect in Databricks?

  1. A

    It allows for free use of Databricks partner tools through a common API.

  2. B

    It allows multi-directional connection between Databricks and Databricks partners easier.

  3. C

    It exposes connection information to third-party tools via Databricks partners.

  4. D

    It is a feature that runs Databricks partner tools on a Databricks SQL Warehouse (formerly known as a SQL Endpoint).

Show answer and explanation

Correct answer: B

Explanation

Partner Connect simplifies establishing integrations between Databricks and supported partner products, including connections used for data flowing in relevant directions between the systems. It facilitates connection setup; it does not make every partner tool free, run those tools inside a SQL warehouse, or merely expose connection details as its purpose.

Question 9 Single choice

A data analyst is working in an organization that utilizes a multi-hop, medallion architecture. They have been tasked with creating a new Gold table from an existing Silver table.

Which query is performing a hop from a Silver table to a Gold table?

  1. A
  2. B
  3. C
  4. D
Show answer and explanation

Correct answer: C

Explanation

The store_sales statement reads cleaned_transactions and groups rows by store_id while calculating SUM(sales). That transformation turns cleaned, detailed Silver data into a business-level aggregate suitable for Gold consumption. Creating cleaned_transactions from raw transactions represents an earlier refinement step instead.

Question 10 Single choice

Which Databricks SQL action is used to audit and view the history of operations performed on a Delta Lake table in Databricks?

  1. A

    Run a SELECT logs FROM table_name query

  2. B

    Use the SHOW TRANSACTIONS table_name command

  3. C

    Execute a VACUUM table_name statement

  4. D

    Use the DESCRIBE HISTORY table_name command

Show answer and explanation

Correct answer: D

Explanation

DESCRIBE HISTORY table_name returns the recorded operation history for a Delta Lake table, allowing prior writes and other table operations to be reviewed. VACUUM removes obsolete data files according to retention rules; it does not display operations. SHOW TRANSACTIONS and selecting a logs column are not the stated history command.