Summer Certification Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: cramtick70

Databricks-Certified-Data-Analyst-Associate Databricks Certified Data Analyst Associate Exam Questions and Answers

Questions 4

A data analyst wants the following output:

Which statement will produce this output?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 5

What describes Partner Connect in Databricks?

Options:

A.

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

B.

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

C.

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

D.

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

Buy Now
Questions 6

A data analyst wants to create a Databricks SQL dashboard with multiple data visualizations and multiple counters. What must be completed before adding the data visualizations and counters to the dashboard?

Options:

A.

All data visualizations and counters must be created using Queries.

B.

A SQL warehouse (formerly known as SQL endpoint) must be turned on and selected.

C.

A markdown-based tile must be added to the top of the dashboard displaying the dashboard ' s name.

D.

The dashboard owner must also be the owner of the queries, data visualizations, and counters.

Buy Now
Questions 7

A table named user_ltv is being used to create a view that will be used by data analysts on various teams. Users in the workspace are configured into groups, which are used for setting up data access using ACLs.

The user_ltv table has the following schema:

email STRING, age INT, ltv INT

The following view definition is executed:

CREATE VIEW user_ltv_no_minors AS

SELECT email, age, ltv

FROM user_ltv

WHERE

CASE

WHEN is_member( " auditing " ) THEN TRUE

ELSE age > = 18

END;

An analyst who is not a member of the auditing group executes the following query:

SELECT * FROM user_ltv_no_minors;

Which statement describes the results returned by this query?

Options:

A.

All columns will be displayed normally for those records that have an age greater than 17; records not meeting this condition will be omitted.

B.

All age values less than 18 will be returned as null values, all other columns will be returned with the values in user_ltv.

C.

All values for the age column will be returned as null values, all other columns will be returned with the values in user_ltv.

D.

All records from all columns will be displayed with the values in user_ltv.

E.

All columns will be displayed normally for those records that have an age greater than 18; records not meeting this condition will be omitted.

Buy Now
Questions 8

A data analyst needs to create an empty managed table table_name in database database_name with a specific schema. The table needs to be recreated and empty, regardless of whether or not the table already exists.

Which command can the analyst use to complete the task?

Options:

A.

CREATE TABLE database_name.table_name USING (width INT, length INT, height INT);

B.

CREATE OR REPLACE TABLE database_name.table_name USING (width INT, length INT, height INT);

C.

CREATE OR REPLACE TABLE database_name.table_name (width INT, length INT, height INT);

D.

CREATE OR REPLACE TABLE table_name FROM database_name USING (width INT, length INT, height INT);

Buy Now
Questions 9

A managed table and an unmanaged external table were both created in Databricks SQL, and data was ingested into each table. Later, both tables were dropped.

What is the status of data for each of those tables?

Options:

A.

The data in both tables were deleted.

B.

The data in the managed table were deleted, and the data in the unmanaged external table were left untouched.

C.

The data in the unmanaged external table were deleted, and the data in the managed table were left untouched.

D.

The data in both tables were left untouched.

Buy Now
Questions 10

Which of the following statements describes descriptive statistics?

Options:

A.

A branch of statistics that uses summary statistics to quantitatively describe and summarize data.

B.

A branch of statistics that uses a variety of data analysis techniques to infer properties of an underlying distribution of probability.

C.

A branch of statistics that uses quantitative variables that must take on a finite or countably infinite set of values.

D.

A branch of statistics that uses summary statistics to categorically describe and summarize data.

E.

A branch of statistics that uses quantitative variables that must take on an uncountable set of values.

Buy Now
Questions 11

A data scientist wants to tune a set of hyperparameters for a machine learning model. They have wrapped a Spark ML model in the objective function objective_function, and they have defined the search space search_space.

As a result, they have the following code block:

num_evals = 100

trials = SparkTrials()

best_hyperparam = fmin(

fn=objective_function,

space=search_space,

algo=tpe.suggest,

max_evals=num_evals,

trials=trials

)

Which of the following changes do they need to make to the above code block in order to accomplish the task?

Options:

A.

Change SparkTrials() to Trials()

B.

Reduce num_evals to be less than 10

C.

Change fmin() to fmax()

D.

Remove the trials=trials argument

E.

Remove the algo=tpe.suggest argument

Buy Now
Questions 12

Which of the following SQL keywords can be used to convert a table from a long format to a wide format?

Options:

A.

TRANSFORM

B.

PIVOT

C.

SUM

D.

CONVERT

E.

WHERE

Buy Now
Questions 13

A data analyst has created a Query in Databricks SQL, and now they want to create two data visualizations from that Query and add both of those data visualizations to the same Databricks SQL Dashboard.

Which of the following steps will they need to take when creating and adding both data visualizations to the Databricks SQL Dashboard?

Options:

A.

They will need to alter the Query to return two separate sets of results.

B.

They will need to add two separate visualizations to the dashboard based on the same Query.

C.

They will need to create two separate dashboards.

D.

They will need to decide on a single data visualization to add to the dashboard.

E.

They will need to copy the Query and create one data visualization per query.

Buy Now
Questions 14

Which of the following statements about adding visual appeal to visualizations in the Visualization Editor is incorrect?

Options:

A.

Visualization scale can be changed.

B.

Data Labels can be formatted.

C.

Colors can be changed.

D.

Borders can be added.

E.

Tooltips can be formatted.

Buy Now
Questions 15

Which location can be used to determine the owner of a managed table?

Options:

A.

Review the Owner field in the table page using Catalog Explorer

B.

Review the Owner field in the database page using Data Explorer

C.

Review the Owner field in the schema page using Data Explorer

D.

Review the Owner field in the table page using the SQL Editor

Buy Now
Questions 16

A data analyst has created a user-defined function using the following line of code:

CREATE FUNCTION price(spend DOUBLE, units DOUBLE)

RETURNS DOUBLE

RETURN spend / units;

Which of the following code blocks can be used to apply this function to the customer_spend and customer_units columns of the table customer_summary to create column customer_price?

Options:

A.

SELECT PRICE customer_spend, customer_units AS customer_price FROM customer_summary

B.

SELECT price FROM customer_summary

C.

SELECT function(price(customer_spend, customer_units)) AS customer_price FROM customer_summary

D.

SELECT double(price(customer_spend, customer_units)) AS customer_price FROM customer_summary

E.

SELECT price(customer_spend, customer_units) AS customer_price FROM customer_summary

Buy Now
Questions 17

A data engineer has been using a Databricks SQL dashboard to monitor the cleanliness of the input data to a data analytics dashboard for a retail use case. The job has a Databricks SQL query that returns the number of store-level records where sales is equal to zero. The data engineer wants their entire team to be notified via a messaging webhook whenever this value is greater than 0.

Which of the following approaches can the data engineer use to notify their entire team via a messaging webhook whenever the number of stores with $0 in sales is greater than zero?

Options:

A.

They can set up an Alert with a custom template.

B.

They can set up an Alert with a new email alert destination.

C.

They can set up an Alert with one-time notifications.

D.

They can set up an Alert with a new webhook alert destination.

E.

They can set up an Alert without notifications.

Buy Now
Questions 18

Consider the following two statements:

Statement 1:

Statement 2:

Which of the following describes how the result sets will differ for each statement when they are run in Databricks SQL?

Options:

A.

The first statement will return all data from the customers table and matching data from the orders table. The second statement will return all data from the orders table and matching data from the customers table. Any missing data will be filled in with NULL.

B.

When the first statement is run, only rows from the customers table that have at least one match with the orders table on customer_id will be returned. When the second statement is run, only those rows in the customers table that do not have at least one match with the orders table on customer_id will be returned.

C.

There is no difference between the result sets for both statements.

D.

Both statements will fail because Databricks SQL does not support those join types.

E.

When the first statement is run, all rows from the customers table will be returned and only the customer_id from the orders table will be returned. When the second statement is run, only those rows in the customers table that do not have at least one match with the orders table on customer_id will be returned.

Buy Now
Questions 19

What is used as a compute resource for Databricks SQL?

Options:

A.

Single-node clusters

B.

Downstream BI tools integrated with Databricks SQL

C.

SQL warehouses

D.

Standard clusters

Buy Now
Questions 20

Query History provides Databricks SQL users with a lot of benefits. A data analyst has been asked to share all of these benefits with their team as part of a training exercise. One of the benefit statements the analyst provided to their team is incorrect.

Which statement about Query History is incorrect?

Options:

A.

It can be used to view the query plan of queries that have run.

B.

It can be used to debug queries.

C.

It can be used to automate query execution on multiple warehouses (formerly endpoints).

D.

It can be used to troubleshoot slow running queries.

Buy Now
Questions 21

A data analyst is working on a DataFrame named dates_df and needs to add a new column, date, derived from the timestamp field.

Which code fragment should be used to extract the date from a timestamp?

Options:

A.

dates_df.withColumn( " date " , f.unix_timestamp( " timestamp " )).show()

B.

dates_df.withColumn( " date " , f.to_date( " timestamp " )).show()

C.

dates_df.withColumn( " date " , f.date_format( " timestamp " , " yyyy-MM-dd " )).show()

D.

dates_df.withColumn( " date " , f.from_unixtime( " timestamp " )).show()

Buy Now
Questions 22

A data analyst is working with a nested array column products in table transactions. The analyst wants to return the first item in the array for each row.

The data analyst is using the following incomplete command:

SELECT

transaction_id,

_____ AS first_product

FROM transactions;

Which line of code should the data analyst use to fill in the blank so that it successfully completes the task?

Options:

A.

products.1

B.

products.0

C.

products[0]

D.

products[1]

Buy Now
Questions 23

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?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 24

A data analyst is attempting to drop a table my_table. The analyst wants to delete all table metadata and data.

They run the following command:

DROP TABLE IF EXISTS my_table;

While the object no longer appears when they run SHOW TABLES, the data files still exist.

Which of the following describes why the data files still exist and the metadata files were deleted?

Options:

A.

The table ' s data was larger than 10 GB

B.

The table did not have a location

C.

The table was external

D.

The table ' s data was smaller than 10 GB

E.

The table was managed

Buy Now
Questions 25

What describes the variance of a set of values?

Options:

A.

Variance is a measure of how far a single observed value is from a set ot va IN

B.

Variance is a measure of how far an observed value is from the variable ' s maximum or minimum value.

C.

Variance is a measure of central tendency of a set of values.

D.

Variance is a measure of how far a set of values is spread out from the sets central value.

Buy Now
Questions 26

Which of the following benefits of using Databricks SQL is provided by Data Explorer?

Options:

A.

It can be used to run UPDATE queries to update any tables in a database.

B.

It can be used to view metadata and data, as well as view/change permissions.

C.

It can be used to produce dashboards that allow data exploration.

D.

It can be used to make visualizations that can be shared with stakeholders.

E.

It can be used to connect to third party Bl cools.

Buy Now
Questions 27

Data professionals with varying titles use the Databricks SQL service as the primary touchpoint with the Databricks Lakehouse Platform. However, some users will use other services like Databricks Machine Learning or Databricks Data Science and Engineering.

Which of the following roles uses Databricks SQL as a secondary service while primarily using one of the other services?

Options:

A.

Business analyst

B.

SQL analyst

C.

Data engineer

D.

Business intelligence analyst

E.

Data analyst

Buy Now
Questions 28

A data analyst has a series of queries in a SQL program. The data analyst wants this program to run every day. They only want the final query in the program to run on Sundays. They ask for help from the data engineering team to complete this task.

Which of the following approaches could be used by the data engineering team to complete this task?

Options:

A.

They could submit a feature request with Databricks to add this functionality.

B.

They could wrap the queries using PySpark and use Python’s control flow system to determine when to run the final query.

C.

They could only run the entire program on Sundays.

D.

They could automatically restrict access to the source table in the final query so that it is only accessible on Sundays.

E.

They could redesign the data model to separate the data used in the final query into a new table.

Buy Now
Questions 29

A data analyst is processing a complex aggregation on a table with zero null values and their query returns the following result:

Which of the following queries did the analyst run to obtain the above result?

A)

B)

C)

D)

E)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

E.

Option E

Buy Now
Questions 30

A data analyst wants to create a dashboard with three main sections: Development, Testing, and Production. They want all three sections on the same dashboard, but they want to clearly designate the sections using text on the dashboard.

Which of the following tools can the data analyst use to designate the Development, Testing, and Production sections using text?

Options:

A.

Separate endpoints for each section

B.

Separate queries for each section

C.

Markdown-based text boxes

D.

Direct text written into the dashboard in editing mode

E.

Separate color palettes for each section

Buy Now
Questions 31

A data engineer wants to schedule their Databricks SQL dashboard to refresh once per day, but they only want the associated SQL endpoint to be running when it is necessary.

Which of the following approaches can the data engineer use to minimize the total running time of the SQL endpoint used in the refresh schedule of their dashboard?

Options:

A.

They can ensure the dashboard’s SQL endpoint matches each of the queries’ SQL endpoints.

B.

They can set up the dashboard’s SQL endpoint to be serverless.

C.

They can turn on the Auto Stop feature for the SQL endpoint.

D.

They can reduce the cluster size of the SQL endpoint.

E.

They can ensure the dashboard’s SQL endpoint is not one of the included query’s SQL endpoint.

Buy Now
Questions 32

Which of the following statements about a refresh schedule is incorrect?

Options:

A.

A query can be refreshed anywhere from 1 minute lo 2 weeks

B.

Refresh schedules can be configured in the Query Editor.

C.

A query being refreshed on a schedule does not use a SQL Warehouse (formerly known as SQL Endpoint).

D.

A refresh schedule is not the same as an alert.

E.

You must have workspace administrator privileges to configure a refresh schedule

Buy Now
Questions 33

A data analyst created and is the owner of the managed table my_ table. They now want to change ownership of the table to a single other user using Data Explorer.

Which of the following approaches can the analyst use to complete the task?

Options:

A.

Edit the Owner field in the table page by removing their own account

B.

Edit the Owner field in the table page by selecting All Users

C.

Edit the Owner field in the table page by selecting the new owner ' s account

D.

Edit the Owner field in the table page by selecting the Admins group

E.

Edit the Owner field in the table page by removing all access

Buy Now
Questions 34

A Data Analyst is working on sensor_df; this DataFrame contains two columns: record_datetime timestamp and record array.

Which code fragment returns a DataFrame that splits the record column into separate columns and has one array item per row?

Options:

A.

Uses withColumn, but selects sensor_id, status, and health as if they are already top-level columns.

B.

Selects nested fields before correctly creating the exploded column.

C.

exploded_df = sensor_df.withColumn( " record_exploded " , explode( " record " ))exploded_df = exploded_df.select( " record_datetime " , " record_exploded.sensor_id " , " record_exploded.status " , " record_exploded.health " )

D.

exploded_df = exploded_df.select( " record_datetime " , " record_exploded " )

Buy Now
Questions 35

A Data Analyst is working on employees_df and needs to add a new column where a 10% tax is calculated on the salary. Additionally, the DataFrame contains the column age, which is not needed.

Which code fragment adds the tax column and removes the age column?

Options:

A.

employees_df = employees_df.withColumn( " tax " , employees_df.salary * 10).dropField( " age " )

B.

employees_df = employees_df.withColumn( " tax " , employees_df.salary * 0.1).drop( " age " )

C.

employees_df = employees_df.withColumn( " tax " , lit(0.1) * col( " salary " )).dropField( " age " )

D.

employees_df = employees_df.withColumn( " tax " , employees_df.salary * 10).drop( " age " )

Buy Now
Exam Name: Databricks Certified Data Analyst Associate Exam
Last Update: Jul 30, 2026
Questions: 65
Databricks-Certified-Data-Analyst-Associate pdf

Databricks-Certified-Data-Analyst-Associate PDF

$25.5  $84.99
Databricks-Certified-Data-Analyst-Associate Engine

Databricks-Certified-Data-Analyst-Associate Testing Engine

$30  $99.99
Databricks-Certified-Data-Analyst-Associate PDF + Engine

Databricks-Certified-Data-Analyst-Associate PDF + Testing Engine

$40.5  $134.99