Databricks Certified Data Engineer Associate Exam
Certified Data Engineer Associate (Page 6 )

Updated On: 19-Jan-2026

A data engineer needs to apply custom logic to string column city in table stores for a specific use case. In order to apply this custom logic at scale, the data engineer wants to create a SQL user- defined function (UDF).

Which of the following code blocks creates this SQL UDF?






Answer(s): A


Reference:

https://www.databricks.com/blog/2021/10/20/introducing-sql-user-defined-functions.html



A data analyst has a series of queries in a SQL program. The data analyst wants this program to run every day. They only want the final query in the program to run on Sundays. They ask for help from the data engineering team to complete this task.

Which of the following approaches could be used by the data engineering team to complete this task?

  1. They could submit a feature request with Databricks to add this functionality.
  2. They could wrap the queries using PySpark and use Python’s control flow system to determine when to run the final query.
  3. They could only run the entire program on Sundays.
  4. They could automatically restrict access to the source table in the final query so that it is only accessible on Sundays.
  5. They could redesign the data model to separate the data used in the final query into a new table.

Answer(s): B



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?

  1. The format of the files to be copied were not included with the FORMAT_OPTIONS keyword.
  2. The names of the files to be copied were not included with the FILES keyword.
  3. The previous day’s file has already been copied into the table.
  4. The PARQUET file format does not support COPY INTO.
  5. The COPY INTO statement requires the table to be refreshed to view the copied rows.

Answer(s): C



A data engineer needs to create a table in Databricks using data from their organization’s existing SQLite database.

They run the following command:


Which of the following lines of code fills in the above blank to successfully complete the task?

  1. org.apache.spark.sql.jdbc
  2. autoloader
  3. DELTA
  4. sqlite
  5. org.apache.spark.sql.sqlite

Answer(s): A

Explanation:

CREATE TABLE new_employees_table
USING JDBC
OPTIONS (
url "<jdbc_url>",
dbtable "<table_name>",
user '<username>',
password '<password>'
) AS
SELECT * FROM employees_table_vw



Viewing page 6 of 36
Viewing questions 21 - 24 out of 198 questions



Post your Comments and Discuss Databricks Certified Data Engineer Associate exam prep with other Community members:

Join the Certified Data Engineer Associate Discussion