Summer Certification 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 7 pages
Viewing questions 41-50 out of questions
Questions # 41:

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

Options:

A.

PIVOT


B.

CONVERT


C.

WHERE


D.

TRANSFORM


E.

SUM


Expert Solution
Questions # 42:

A data engineer is designing a cost-optimized, event-driven pipeline. They configure a Lakeflow Job with a File Arrival trigger to watch an Amazon S3 bucket. The job runs a notebook that uses Auto Loader with trigger(availableNow=True) to ingest data into a Bronze table.

What is the technical relationship between the File Arrival trigger and Auto Loader in this integration pattern?

Options:

A.

The File Arrival trigger starts the job run, while Auto Loader uses its internal checkpoint to independently identify and process only the new files that have arrived since the last successful commit.


B.

Auto Loader must be configured in File Notification mode to work with a Lakeflow Job File Arrival trigger.


C.

Using a File Arrival trigger requires the engineer to disable Auto Loader checkpointing to prevent the job from processing the same file multiple times.


D.

The File Arrival trigger automatically passes the specific file path of the new arrival to Auto Loader, allowing the engineer to omit the source-path configuration from the code.


Expert Solution
Questions # 43:

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 # 44:

A data engineer is inspecting an ETL pipeline based on a Pyspark job that consistently encounters performance bottlenecks. Based on developer feedback, the data engineer assumes the job is low on compute resources. To pinpoint the issue, the data engineer observes the Spark Ul and finds out the job has a high CPU time vs Task time.

Which course of action should the data engineer take?

Options:

A.

High CPU time vs Task time means an under-utilized cluster. The data engineer may need to repartition data to spread the jobs more evenly throughout the cluster.


B.

High CPU time vs Task time means efficient use of cluster and no change needed


C.

High CPU time vs Task time means over-utilized memory and the need to increase parallelism


D.

High CPU time vs Task time means a CPU over-utilized job. The data engineer may need to consider executor and core tuning or resizing the cluster


Expert Solution
Questions # 45:

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 # 46:

A Python file is ready to go into production and the client wants to use the cheapest but most efficient type of cluster possible. The workload is quite small, only processing 10GBs of data with only simple joins and no complex aggregations or wide transformations.

Which cluster meets the requirement?

Options:

A.

Job cluster with Photon enabled


B.

Interactive cluster


C.

Job cluster with spot instances disabled


D.

Job cluster with spot instances enabled


Expert Solution
Questions # 47:

A data engineer only wants to execute the final block of a Python program if the Python variable day_of_week is equal to 1 and the Python variable review_period is True.

Which of the following control flow statements should the data engineer use to begin this conditionally executed code block?

Options:

A.

if day_of_week = 1 and review_period:


B.

if day_of_week = 1 and review_period = " True " :


C.

if day_of_week == 1 and review_period == " True " :


D.

if day_of_week == 1 and review_period:


E.

if day_of_week = 1 & review_period: = " True " :


Expert Solution
Questions # 48:

A data engineer and data analyst are working together on a data pipeline. The data engineer is working on the raw, bronze, and silver layers of the pipeline using Python, and the data analyst is working on the gold layer of the pipeline using SQL The raw source of the pipeline is a streaming input. They now want to migrate their pipeline to use Delta Live Tables.

Which change will need to be made to the pipeline when migrating to Delta Live Tables?

Options:

A.

The pipeline can have different notebook sources in SQL & Python.


B.

The pipeline will need to be written entirely in SQL.


C.

The pipeline will need to be written entirely in Python.


D.

The pipeline will need to use a batch source in place of a streaming source.


Expert Solution
Questions # 49:

Which of the following approaches should be used to send the Databricks Job owner an email in the case that the Job fails?

Options:

A.

Manually programming in an alert system in each cell of the Notebook


B.

Setting up an Alert in the Job page


C.

Setting up an Alert in the Notebook


D.

There is no way to notify the Job owner in the case of Job failure


E.

MLflow Model Registry Webhooks


Expert Solution
Questions # 50:

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


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