Pass the Databricks Databricks Certification Databricks-Certified-Data-Engineer-Associate Questions and answers with CertsForce

Viewing page 3 out of 4 pages
Viewing questions 21-30 out of questions
Questions # 21:

A data engineer that is new to using Python needs to create a Python function to add two integers together and return the sum?

Which of the following code blocks can the data engineer use to complete this task?

A)

Question # 21

B)

Question # 21

C)

Question # 21

D)

Question # 21

E)

Question # 21

Options:

A.

Option A


B.

Option B


C.

Option C


D.

Option D


E.

Option E


Expert Solution
Questions # 22:

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.


Expert Solution
Questions # 23:

A data engineer needs access to a table new_uable, but they do not have the correct permissions. They can ask the table owner for permission, but they do not know who the table owner is.

Which approach can be used to identify the owner of new_table?

Options:

A.

There is no way to identify the owner of the table


B.

Review the Owner field in the table's page in the cloud storage solution


C.

Review the Permissions tab in the table's page in Data Explorer


D.

Review the Owner field in the table’s page in Data Explorer


Expert Solution
Questions # 24:

A data engineer needs to use a Delta table as part of a data pipeline, but they do not know if they have the appropriate permissions.

In which of the following locations can the data engineer review their permissions on the table?

Options:

A.

Databricks Filesystem


B.

Jobs


C.

Dashboards


D.

Repos


E.

Data Explorer


Expert Solution
Questions # 25:

A data engineer has a single-task Job that runs each morning before they begin working. After identifying an upstream data issue, they need to set up another task to run a new notebook prior to the original task.

Which of the following approaches can the data engineer use to set up the new task?

Options:

A.

They can clone the existing task in the existing Job and update it to run the new notebook.


B.

They can create a new task in the existing Job and then add it as a dependency of the original task.


C.

They can create a new task in the existing Job and then add the original task as a dependency of the new task.


D.

They can create a new job from scratch and add both tasks to run concurrently.


E.

They can clone the existing task to a new Job and then edit it to run the new notebook.


Expert Solution
Questions # 26:

A data engineer is attempting to drop a Spark SQL table my_table and runs the following command:

DROP TABLE IF EXISTS my_table;

After running this command, the engineer notices that the data files and metadata files have been deleted from the file system.

Which of the following describes why all of these files were deleted?

Options:

A.

The table was managed


B.

The table's data was smaller than 10 GB


C.

The table's data was larger than 10 GB


D.

The table was external


E.

The table did not have a location


Expert Solution
Questions # 27:

A data engineer has been using a Databricks SQL dashboard to monitor the cleanliness of the input data to an ELT job. The ELT job has its Databricks SQL query that returns the number of input records containing unexpected NULL values. The data engineer wants their entire team to be notified via a messaging webhook whenever this value reaches 100.

Which of the following approaches can the data engineer use to notify their entire team via a messaging webhook whenever the number of NULL values reaches 100?

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 a new webhook alert destination.


D.

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


E.

They can set up an Alert without notifications.


Expert Solution
Questions # 28:

A data engineer is attempting to drop a Spark SQL table my_table. The data engineer 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’s data was smaller than 10 GB


C.

The table was external


D.

The table did not have a location


E.

The table was managed


Expert Solution
Questions # 29:

A data engineer is working with two tables. Each of these tables is displayed below in its entirety.

Question # 29

The data engineer runs the following query to join these tables together:

Question # 29

Which of the following will be returned by the above query?

Question # 29

Options:

A.

Option A


B.

Option B


C.

Option C


D.

Option D


E.

Option E


Expert Solution
Questions # 30:

Which of the following tools is used by Auto Loader process data incrementally?

Options:

A.

Checkpointing


B.

Spark Structured Streaming


C.

Data Explorer


D.

Unity Catalog


E.

Databricks SQL


Expert Solution
Viewing page 3 out of 4 pages
Viewing questions 21-30 out of questions