Pre-Winter Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

Databricks Databricks-Certified-Data-Analyst-Associate - Databricks Certified Data Analyst Associate Exam

Which of the following data workloads will utilize a Gold table as its source?

A.

A job that enriches data by parsing its timestamps into a human-readable format.

B.

A job that aggregates uncleaned data to create standard summary statistics.

C.

A job that cleans data by removing malformatted records.

D.

A job that queries aggregated data designed to feed into a dashboard.

E.

A job that ingests raw data from a streaming source into the Lakehouse.

A data analyst has been asked to use the below table sales_table to get the percentage rank of products within region by the sales:

The result of the query should look like this:

Which of the following queries will accomplish this task?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

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?

A.

array distinct(produces)

B.

explode(produces)

C.

reduce(produces)

D.

array(produces)

E.

flatten(produces)

A data analyst has a managed table table_name in database database_name. They would now like to remove the table from the database and all of the data files associated with the table. The rest of the tables in the database must continue to exist.

Which of the following commands can the analyst use to complete the task without producing an error?

A.

DROP DATABASE database_name;

B.

DROP TABLE database_name.table_name;

C.

DELETE TABLE database_name.table_name;

D.

DELETE TABLE table_name FROM database_name;

E.

DROP TABLE table_name FROM database_name;

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?

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

A data analyst runs the following command:

SELECT age, country

FROM my_table

WHERE age > = 75 AND country = ' canada ' ;

Which of the following tables represents the output of the above command?

A)

B)

C)

D)

E)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

E.

Option E

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?

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.

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)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

E.

Option E

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

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

A data analyst wants the following output:

Which statement will produce this output?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D