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

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

Viewing page 5 out of 6 pages
Viewing questions 41-50 out of questions
Questions # 41:

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.


Expert Solution
Questions # 42:

A data engineer at a company that uses Databricks with Unity Catalog needs to share a collection of tables with an external partner who also uses a Databricks workspace enabled for Unity Catalog. The data engineer decides to use Delta Sharing to accomplish this.

What is the first piece of information the data engineer should request from the external partner to set up Delta Sharing?

Options:

A.

Their Databricks account password


B.

The name of their Databricks cluster


C.

The IP address of their Databricks workspace


D.

The sharing identifier of their Unity Catalog metastore


Expert Solution
Questions # 43:

A data engineer has configured a Structured Streaming job to read from a table, manipulate the data, and then perform a streaming write into a new table.

The cade block used by the data engineer is below:

Question # 43

If the data engineer only wants the query to execute a micro-batch to process data every 5 seconds, which of the following lines of code should the data engineer use to fill in the blank?

Options:

A.

trigger( " 5 seconds " )


B.

trigger()


C.

trigger(once= " 5 seconds " )


D.

trigger(processingTime= " 5 seconds " )


E.

trigger(continuous= " 5 seconds " )


Expert Solution
Questions # 44:

A data engineer has been given a new record of data:

id STRING = ' a1 '

rank INTEGER = 6

rating FLOAT = 9.4

Which of the following SQL commands can be used to append the new record to an existing Delta table my_table?

Options:

A.

INSERT INTO my_table VALUES ( ' a1 ' , 6, 9.4)


B.

my_table UNION VALUES ( ' a1 ' , 6, 9.4)


C.

INSERT VALUES ( ' a1 ' , 6, 9.4) INTO my_table


D.

UPDATE my_table VALUES ( ' a1 ' , 6, 9.4)


E.

UPDATE VALUES ( ' a1 ' , 6, 9.4) my_table


Expert Solution
Questions # 45:

A new data engineering team team has been assigned to an ELT project. The new data engineering team will need full privileges on the table sales to fully manage the project.

Which of the following commands can be used to grant full permissions on the database to the new data engineering team?

Options:

A.

GRANT ALL PRIVILEGES ON TABLE sales TO team;


B.

GRANT SELECT CREATE MODIFY ON TABLE sales TO team;


C.

GRANT SELECT ON TABLE sales TO team;


D.

GRANT USAGE ON TABLE sales TO team;


E.

GRANT ALL PRIVILEGES ON TABLE team TO sales;


Expert Solution
Questions # 46:

A data engineer is onboarding a new Bronze ingestion pipeline in Databricks with Unity Catalog. The team wants Databricks to handle storage layout, apply platform optimizations over time, and simplify lifecycle management so that when a table is dropped, its underlying data is also cleaned up according to Databricks-managed retention policies.

Which table type should the data engineer create for these ingestion tables?

Options:

A.

Managed tables so that Unity Catalog manages both metadata and underlying data lifecycle


B.

External tables with a LOCATION pointing to an external volume for full control of file layout


C.

Foreign tables federated from an external catalog to delegate optimization to the source system


D.

Temporary views over files to avoid table-level governance and lifecycle coupling


Expert Solution
Questions # 47:

A company is collaborating with a partner that does not use Databricks but needs access to a large historical dataset stored in Delta format. The data engineer needs to ensure that the partner can access the data securely, without the need for them to set up an account, and with read-only access.

How should the data be shared?

Options:

A.

Share the dataset using Delta Sharing, which allows your partner to access the data using a secure, read-only URL without requiring a Databricks account, ensuring that they cannot modify the data.


B.

Share the dataset using Unity Catalog, ensuring that both teams have full write access to the data within the same organization.


C.

Share the dataset by exporting it to a CSV file and manually transferring the file to the partner ' s system.


D.

Grant your partner access to your Databricks workspace and assign them full write permissions to the Delta table, enabling them to modify the dataset.


Expert Solution
Questions # 48:

A data engineer is configuring Unity Catalog in Databricks and needs to assign a role to a user who should have the ability to grant and revoke privileges on various data objects within a specific schema but should not have read/write access over the schema or its objects.

Which role should the data engineer assign to this user?

Options:

A.

USE CATALOG / USE SCHEMA privilege on the schema


B.

Catalog Owner


C.

Table Owner


D.

Schema Owner


Expert Solution
Questions # 49:

A new data engineering team team has been assigned to an ELT project. The new data engineering team will need full privileges on the table sales to fully manage the project.

Which command can be used to grant full permissions on the database to the new data engineering team?

Options:

A.

grant all privileges on table sales TO team;


B.

GRANT SELECT ON TABLE sales TO team;


C.

GRANT SELECT CREATE MODIFY ON TABLE sales TO team;


D.

GRANT ALL PRIVILEGES ON TABLE team TO sales;


Expert Solution
Questions # 50:

A data engineer needs to parse only png files in a directory that contains files with different suffixes. Which code should the data engineer use to achieve this task?

A)

Question # 50

B)

Question # 50

C)

Question # 50

D)

Question # 50

Options:

A.

Option A


B.

Option B


C.

Option C


D.

Option D


Expert Solution
Viewing page 5 out of 6 pages
Viewing questions 41-50 out of questions