Databricks Certified Data Engineer Associate - Databricks-Certified-Data-Engineer-Associate Exam Practice Test

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?
Correct Answer: D
Which two components function in the DB platform architecture's control plane? (Choose two.)
Correct Answer: C,E
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?
Correct Answer: D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
A data provider must share a live Delta table with an external partner who uses an open-source Spark environment outside Databricks, without copying the data.
Which feature should be used?
Correct Answer: D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
A data engineer runs a statement every day to copy the previous day's sales into the table transactions. Each day's sales are in their own file in the location "/transactions/raw".
Today, the data engineer runs the following command to complete this task:

After running the command today, the data engineer notices that the number of records in table transactions has not changed.
Which of the following describes why the statement might not have copied any new records into the table?
Correct Answer: A
Which of the following must be specified when creating a new Delta Live Tables pipeline?
Correct Answer: C
Which of the following can be used to simplify and unify siloed data architectures that are specialized for specific use cases?
Correct Answer: A
A team is using a Databricks workspace and needs to continuously ingest JSON files as they arrive. Which code snippet shows a valid Auto Loader source configuration?
Correct Answer: B
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Which of the following benefits is provided by the array functions from Spark SQL?
Correct Answer: D
Which single Databricks CLI command deploys local bundle assets to the target workspace specified in the configuration file?
Correct Answer: C
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
A data engineer is troubleshooting two different pipeline failures:
- Pipeline A fails with a java.lang.OutOfMemoryError is immediately
thrown after the command display(df.collect()) is called on a 100GB
dataset.
- Pipeline B fails during a wide transformation (a join of two large
tables) with an ExecutorLostFailure error message, indicating executor
memory exhaustion during shuffle.
Which action should the data engineer take to fix these two issues?
Correct Answer: D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
A data engineer has been provided a PySpark DataFrame named dfwith columns product and revenue. The data engineer needs to compute complex aggregations to determine each product's total revenue, average revenue, and transaction count. Which code snippet should the data engineer use?
Correct Answer: B
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
A data engineer is working in a Databricks notebook to design and manage a batch ETL pipeline.
The engineer is writing SQL and Python code to clean data, transform it, and join large datasets from different sources. The engineer wants to organize these steps into a structured process that can be run regularly and scheduled as part of a data pipeline. Which Databricks notebook feature is applicable in the use case?
Correct Answer: D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
A Databricks workflow fails at the last stage due to an error in a notebook. This workflow runs daily. The data engineer fixes the mistake and wants to rerun the pipeline. This workflow is very costly and time-intensive to run. Which action should the data engineer do in order to minimise downtime and cost?
Correct Answer: C
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).