Summer Sale - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 65percent

Welcome To DumpsPedia

Databricks-Certified-Data-Analyst-Associate Sample Questions Answers

Questions 4

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?

Options:

A.

Data bxplorer

B.

The Visualization editor

C.

The Query Editor

D.

The Dashboard Editor

Buy Now
Questions 5

A data analyst has two data sources that are providing similar but complementary information. The analyst wants to combine these sources of data into a single, comprehensive dataset for ongoing use for their team in a variety of different projects.

Which term is used to describe this type of work?

Options:

A.

Last-mile ETL

B.

Ad-hoc improvements

C.

Data testing

D.

Data blending

Buy Now
Questions 6

A data analyst is working with the following table my_table:

customer_name dollars_spent

Hex Sprockets [125.34, 100.15, 9003.99]

Dented Fenders [16.99, 200.85, 33.49, 88.17]

The analyst wants to divide each value in the dollars_spent array by 100 to get the spend in terms of hundreds of dollars using the following code block:

SELECT

customer_name,

_______

FROM my_table;

Which line of code can be used to fill in the blank so that the above code block successfully completes the task?

Options:

A.

TRANSFORM(hundreds_spent, dollars_spent / 100)

B.

TRANSFORM(dollars_spent, value / 100) AS hundreds_spent

C.

TRANSFORM(dollars_spent, value - > value / 100) AS hundreds_spent

D.

TRANSFORM(dollars_spent, dollars_spent / 100) AS hundreds_spent

Buy Now
Questions 7

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 8

A data analyst is working with gold-layer tables to complete an ad-hoc project. A stakeholder has provided the analyst with an additional dataset that can be used to augment the gold-layer tables already in use.

Which of the following terms is used to describe this data augmentation?

Options:

A.

Data testing

B.

Ad-hoc improvements

C.

Last-mile

D.

Last-mile ETL

E.

Data enhancement

Buy Now
Questions 9

A data scientist has asked a data analyst to create histograms for every continuous variable in a data set. The data analyst needs to identify which columns are continuous in the data set.

What describes a continuous variable?

Options:

A.

A quantitative variable that never stops changing

B.

A quantitative variable Chat can take on a finite or countably infinite set of values

C.

A quantitative variable that can take on an uncountable set of values

D.

A categorical variable in which the number of categories continues to increase over time

Buy Now
Questions 10

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 11

Which of the following commands will return the location of database customer360?

Options:

A.

DESCRIBE LOCATION customer360;

B.

DROP DATABASE customer360;

C.

DESCRIBE DATABASE customer360;

D.

ALTER DATABASE customer360 SET DBPROPERTIES ( ' location ' = ' /user ' );

E.

USE DATABASE customer360;

Buy Now
Questions 12

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 13

A data analyst runs the following command:

INSERT INTO stakeholders.suppliers TABLE stakeholders.new_suppliers;

What is the result of running this command?

Options:

A.

The suppliers table now contains both the data it had before the command was run and the data from the new suppliers table, and any duplicate data is deleted.

B.

The command fails because it is written incorrectly.

C.

The suppliers table now contains both the data it had before the command was run and the data from the new suppliers table, including any duplicate data.

D.

The suppliers table now contains the data from the new suppliers table, and the new suppliers table now contains the data from the suppliers table.

E.

The suppliers table now contains only the data from the new suppliers table.

Buy Now
Questions 14

Which of the following approaches can be used to ingest data directly from cloud-based object storage?

Options:

A.

Create an external table while specifying the DBFS storage path to FROM

B.

Create an external table while specifying the DBFS storage path to PATH

C.

It is not possible to directly ingest data from cloud-based object storage

D.

Create an external table while specifying the object storage path to FROM

E.

Create an external table while specifying the object storage path to LOCATION

Buy Now
Questions 15

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 16

In a healthcare provider organization using Delta Lake to store electronic health records, a data analyst needs to analyze a snapshot of the patient_records table from two weeks ago before some recent data corrections were applied.

What approach should the Data Engineer take to allow the analyst to query that specific prior version?

Options:

A.

Truncate the table to remove all data, then reload the data from two weeks ago into the truncated table for the analyst to query.

B.

Identify the version number corresponding to two weeks ago from the Delta transaction log, share that version number with the analyst to query using VERSION AS OF syntax, or export that version to a new Delta table for the analyst to query.

C.

Restore the table to the version from two weeks ago using the RESTORE command, and have the analyst query the restored table.

D.

Use the VACUUM command to remove all versions of the table older than two weeks, then the analyst can query the remaining version.

Buy Now
Questions 17

A data engineer is working with a nested array column products in table transactions. They want to expand the table so each unique item in products for each row has its own row where the transaction_id column is duplicated as necessary.

They are using the following incomplete command:

Which of the following lines of code can they use to fill in the blank in the above code block so that it successfully completes the task?

Options:

A.

array distinct(produces)

B.

explode(produces)

C.

reduce(produces)

D.

array(produces)

E.

flatten(produces)

Buy Now
Questions 18

Which of the following Structured Streaming queries is performing a hop from a Silver table to a Gold table?

Options:

A.

( spark.readStream.load(rawSalesLocation) .writeStream .option( " checkpointLocation " , checkpointPath) .outputMode( " append " ) .table( " newSales " ))

B.

( spark.table( " sales " ) .withColumn( " avgPrice " , col( " sales " ) / col( " units " )) .writeStream .option( " checkpointLocation " , checkpointPath) .outputMode( " append " ) .table( " newSales " ))

C.

( spark.table( " sales " ) .withColumn( " avgPrice " , col( " sales " ) / col( " units " )) .writeStream .option( " checkpointLocation " , checkpointPath) .outputMode( " append " ) .table( " newSales " ))

D.

( spark.table( " sales " ) .filter(col( " units " ) > 0) .writeStream .option( " checkpointLocation " , checkpointPath) .outputMode( " append " ) .table( " newSales " ))

E.

( spark.table( " sales " ) .groupBy( " store " ) .agg(sum( " sales " )) .writeStream .option( " checkpointLocation " , checkpointPath) .outputMode( " complete " ) .table( " newSales " ))

F.

Option A

G.

Option B

Buy Now
Questions 19

The stakeholders.customers table has 15 columns and 3,000 rows of data. The following command is run:

After running SELECT * FROM stakeholders.eur_customers, 15 rows are returned. After the command executes completely, the user logs out of Databricks.

After logging back in two days later, what is the status of the stakeholders.eur_customers view?

Options:

A.

The view remains available and SELECT * FROM stakeholders.eur_customers will execute correctly.

B.

The view has been dropped.

C.

The view is not available in the metastore, but the underlying data can be accessed with SELECT * FROM delta. `stakeholders.eur_customers`.

D.

The view remains available but attempting to SELECT from it results in an empty result set because data in views are automatically deleted after logging out.

E.

The view has been converted into a table.

Buy Now
Questions 20

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 21

Data professionals with varying responsibilities use the Databricks Lakehouse Platform Which role in the Databricks Lakehouse Platform use Databricks SQL as their primary service?

Options:

A.

Data scientist

B.

Data engineer

C.

Platform architect

D.

Business analyst

Buy Now
Questions 22

Which statement about subqueries is correct?

Options:

A.

Subqueries are not available in Databricks SQL

B.

Subqueries can be used like other user-defined functions to transform data into different data types.

C.

Subqueries can retrieve data without requiring the creation of a table or view.

D.

Subqueries can be used like other built-in functions to transform data into different data types.

Buy Now
Questions 23

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
Questions 24

In which of the following situations should a data analyst use higher-order functions?

Options:

A.

When custom logic needs to be applied to simple, unnested data

B.

When custom logic needs to be converted to Python-native code

C.

When custom logic needs to be applied at scale to array data objects

D.

When built-in functions are taking too long to perform tasks

E.

When built-in functions need to run through the Catalyst Optimizer

Buy Now
Questions 25

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 26

Which statement describes descriptive statistics?

Options:

A.

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

B.

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

C.

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

D.

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

Buy Now
Questions 27

An analyst has been asked to combine the data in two tables: suppliers and new_suppliers. It is possible that some of the supplier_id values match in both tables, meaning those suppliers have already been added to the suppliers table. If that is the case, the data should be unchanged.

Which command will combine the two tables without duplicating the rows with the same supplier_id?

Options:

A.

Option AMERGE INTO suppliersUSING new_suppliersON suppliers.supplier_id = new_suppliers.supplier_idWHEN NOT MATCHED THEN INSERT *;

B.

Option BCOPY INTO suppliersUSING new_suppliersON suppliers.supplier_id = new_suppliers.supplier_idWHEN NOT MATCHED THEN INSERT *;

C.

Option CUPDATE suppliersUSING new_suppliersON suppliers.supplier_id = new_suppliers.supplier_idWHEN NOT MATCHED THEN INSERT *;

D.

Option DINSERT INTO suppliersUSING new_suppliersON suppliers.supplier_id = new_suppliers.supplier_idWHEN NOT MATCHED THEN INSERT *;

Buy Now
Questions 28

A data engineer wants to create a relational object by pulling data from two tables. The relational object does not need to be used by other data engineers in other sessions. In order to save on storage costs, the data engineer wants to avoid copying and storing physical data.

Which of the following relational objects should the data engineer create?

Options:

A.

Spark SQL Table

B.

View

C.

Database

D.

Temporary view

E.

Delta Table

Buy Now
Questions 29

In which of the following scenarios should a data engineer select a Task in the Depends On field of a new Databricks Job Task?

Options:

A.

When another task needs to be replaced by the new task.

B.

When another task needs to fail before the new task begins.

C.

When another task has the same dependency libraries as the new task.

D.

When another task needs to use as little compute resources as possible.

E.

When another task needs to successfully complete before the new task begins.

Buy Now
Questions 30

Which of the following is a benefit of Databricks SQL using ANSI SQL as its standard SQL dialect?

Options:

A.

It has increased customization capabilities

B.

It is easy to migrate existing SQL queries to Databricks SQL

C.

It allows for the use of Photon ' s computation optimizations

D.

It is more performant than other SQL dialects

E.

It is more compatible with Spark ' s interpreters

Buy Now
Questions 31

A data analyst has been asked to use the below table sales_table to rank products within region by the sales.

Input table:

region product sales

WEST A 1880.59

EAST A 2045.99

EAST B 4583.23

WEST B 3391.19

The result of the query should look like this:

region product rank

EAST B 1

EAST A 2

WEST B 1

WEST A 2

Which query will accomplish this task?

Options:

A.

SELECT region, product, RANK() OVER ( ORDER BY sales DESC ) AS rankFROM sales_table;

B.

SELECT region, product, RANK() OVER ( PARTITION BY product ORDER BY sales DESC ) AS rankFROM sales_table;

C.

SELECT region, product, RANK() OVER ( PARTITION BY region ) AS rankFROM sales_table;

D.

SELECT region, product, RANK() OVER ( PARTITION BY region ORDER BY sales DESC ) AS rankFROM sales_table;

E.

Option A

F.

Option B

G.

Option C

Buy Now
Questions 32

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

Which query did the analyst execute in order to get this result?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 33

Which of the following is stored in the Databricks customer’s cloud account?

Options:

A.

Databricks web application

B.

Cluster management metadata

C.

Repos

D.

Data

E.

Notebooks

Buy Now
Questions 34

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 35

A data analyst has come across a column in a table that contains personally identifiable information (PII). The data analyst should not have access to this type of PII data.

How should the data analyst proceed?

Options:

A.

Stop working with the data and delete the table and any existing metadata or data files.

B.

Stop working with the data and proceed with the project using other data.

C.

Stop working with the data and notify their supervisor to ensure the data is handled following organizational and legal best practices.

D.

Drop the column containing PII data and continue with the project without notifying anybody.

Buy Now
Exam Code: Databricks-Certified-Data-Analyst-Associate
Exam Name: Databricks Certified Data Analyst Associate Exam
Last Update: Jul 14, 2026
Questions: 118

PDF + Testing Engine

$59.99 $171.4

Testing Engine

$44.99 $128.55

PDF (Q&A)

$49.99 $142.82