Databricks Certified Data Engineer Associate Practice Exams - 1
Databricks Certified Data Engineer Associate Practice Exams - 1
Simulado 1
You were asked to create a table that can store the below data, orderTime is
a timestamp but the finance team when they query this data normally prefer
the orderTime in date format, you would like to create a calculated column
that can convert the orderTime column timestamp datatype to date and
store it, fill in the blank to complete the DDL.
(1 Ponto)
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlNU… 1/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
AS (CAST(orderTime as DATE))
Delta lake does not support calculated columns, value should be inserted into the table as
part of the ingestion process
The data engineering team noticed that one of the job fails randomly as a
result of using spot instances, what feature in Jobs/Tasks can be used to
address this issue so the job is more stable when using spot instances?
(1 Ponto)
Use Jobs runs, active runs UI section to monitor and restart the job
Add second task and add a check condition to rerun the first task if it fails
What is the main difference between AUTO LOADER and COPY INTO?
(1 Ponto)
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlNU… 2/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
AUTO LOADER does not require schema location, because its supports Schema evolution
Schema location is used to identify the schema of target table and source table
Supports ACID
Support for diverse data types that can store both structured and unstructured
You are designing a data model that works for both machine learning using
images and Batch ETL/ELT workloads. Which of the following features of data
lakehouse can help you meet the needs of both workloads? (1 Ponto)
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlNU… 3/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
Data lakehouse can store unstructured data and support ACID transactions.
Data plane
Control plane
Databricks Filesystem
10
You are currently working on a notebook that will populate a reporting table
for downstream process consumption, this process needs to run on a
schedule every hour. what type of cluster are you going to use to set up this
job? (1 Ponto)
Since it’s just a single job and we need to run every hour, we can use an all-purpose
cluster
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlNU… 4/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
11
Trigger Databricks Repos API to pull the latest version of code into production folder
Delete a branch
12
You are currently working with the second team and both teams are looking
to modify the same notebook, you noticed that the second member is
copying the notebooks to the personal folder to edit and replace the
collaboration notebook, which notebook feature do you recommend to
make the process easier to collaborate. (1 Ponto)
Databricks notebooks should be copied to a local machine and setup source control
locally to version the notebooks
Databricks notebooks can be exported into dbc archive files and stored in data lake
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlNU… 5/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
13
You are currently working on a project that requires the use of SQL and
Python in a given notebook, what would be your approach (1 Ponto)
Create two separate notebooks, one for SQL and the second for Python
A single notebook can support multiple languages, use the magic command to switch
between the two.
Use job cluster to run python and SQL Endpoint for SQL
14
Which of the following statements are correct on how Delta Lake implements
a lake house? (1 Ponto)
Delta lake uses a proprietary format to write data, optimized for cloud storage
Delta lake uses open source, open format, optimized cloud storage and scalable meta
data
15
You were asked to create or overwrite an existing delta table to store the
below transaction data.
(1 Ponto)
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlNU… 6/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
a) b)
c) d)
16
if you run the command VACUUM transactions retain 0 hours? What is the
outcome of this command? (1 Ponto)
Command will fail, you cannot run the command with retentionDurationcheck enabled
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlNU… 7/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
Command runs successful and compacts all of the data in the table
17
You noticed a colleague is manually copying the data to the backup folder
prior to running an update command, incase if the update command did not
provide the expected outcome so he can use the backup copy to replace
table, which Delta Lake feature would you recommend simplifying the
process? (1 Ponto)
Use time travel feature to refer old data instead of manually copying
Use DEEP CLONE to clone the table prior to update to make a backup copy
18
Tables
Views
Database/Schemas
Catalog
Functions
Stored Procedures
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlNU… 8/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
19
What type of table is created when you create delta table with below
command? (1 Ponto)
External table
Managed table
Temp table
20
Which of the following command can be used to drop a managed delta table
and the underlying files in the storage? (1 Ponto)
Use DROP TABLE table_name command and manually delete files using command
dbutils.fs.rm("/path",True)
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlNU… 9/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
21
Temporary views are lost once the notebook is detached and re-attached
Temporary views can be still accessed even if the notebook is detached and attached
22
Which of the following is correct for the global temporary view? (1 Ponto)
global temporary views cannot be accessed once the notebook is detached and attached
global temporary views can be still accessed even if the notebook is detached and
attached
global temporary views can be still accessed even if the cluster is restarted
23
After you ran the above command, the Marketing team quickly wanted to
review the old data that was in the table. How does
INSERT OVERWRITE impact the data in the customer_sales table if you want
to see the previous version of the data prior to running the above statement?
(1 Ponto)
Overwrites the data in the table, all historical versions of the data, you can not time travel
to previous versions
Overwrites the data in the table but preserves all historical versions of the data, you can
time travel to previous versions
Overwrites the current version of the data but clears all historical versions of the data, so
you can not time travel to previous versions.
Appends the data to the current version, you can time travel to previous versions
By default, overwrites the data and schema, you cannot perform time travel
24
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlN… 11/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
25
Which of the below SQL Statements can be used to create a SQL UDF to
convert Celsius to Fahrenheit and vice versa, you need to pass two
parameters to this function one, actual temperature, and the second that
identifies if its needs to be converted to Fahrenheit or Celcius with a one-
word letter F or C?
(1 Ponto)
a) b)
c) d)
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlN… 12/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
26
You are trying to calculate total sales made by all the employees by parsing a
complex struct data type that stores employee and sales data, how would
you approach this in SQL
Table definition,
1. [
2. { "employeeId":1234
3. "sales" : 10000},
4.
5. { "employeeId":3232
6. "sales" : 30000}
7. ]
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlN… 13/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
(1 Ponto)
a) b)
c) d)
e)
27
(1 Ponto)
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlN… 14/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
28
How do you handle failures gracefully when writing code in Pyspark, fill in
the blanks to complete the below statement
(1 Ponto)
try: failure:
try: catch:
try: except:
try: fail:
try: error:
29
You are working on a process to query the table based on batch date, and
batch date is an input parameter and expected to change every time the
program runs, what is the best way to we can parameterize the query to run
without manually changing the batch date? (1 Ponto)
Create a notebook parameter for batch date and assign the value to a python variable
and use a spark data frame to filter the data based on the python variable
Create a dynamic view that can calculate the batch date automatically and use the view to
query the data
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlN… 15/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
Store the batch date in the spark configuration and use a spark data frame to filter the
data based on the spark configuration.
30
a) b)
c) d)
e)
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlN… 16/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
31
32
Which of the following two options are supported in identifying the arrival of
new files, and incremental data from Cloud object storage using Auto
Loader? (1 Ponto)
33
Which of the following data workloads will utilize a Bronze table as its
destination? (1 Ponto)
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlN… 17/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
A job that queries aggregated data to publish key insights into a dashboard
A job that ingests raw data from a streaming source into the Lakehouse
A job that enriches data by parsing its timestamps into a human-readable format
34
Which of the following data workloads will utilize a silver table as its source?
(1 Ponto)
A job that enriches data by parsing its timestamps into a human-readable format
A job that queries aggregated data that already feeds into a dashboard
A job that ingests raw data from a streaming source into the Lakehouse
35
Which of the following data workloads will utilize a gold table as its source?
(1 Ponto)
A job that enriches data by parsing its timestamps into a human-readable format
A job that queries aggregated data that already feeds into a dashboard
A job that ingests raw data from a streaming source into the Lakehouse
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlN… 18/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
36
You are currently asked to work on building a data pipeline, you have noticed
that you are currently working with a data source that has a lot of data
quality issues and you need to monitor data quality and enforce it as part of
the data ingestion process, which of the following tools can be used to
address this problem? (1 Ponto)
AUTO LOADER
37
When building a DLT s pipeline you have two options to create a live tables,
what is the main difference between CREATE STREAMING LIVE
TABLE vs CREATE LIVE TABLE? (1 Ponto)
CREATE LIVE TABLE is used when working with Streaming data sources and Incremental
data
CREATE STREAMING LIVE TABLE is used when working with Streaming data sources and
Incremental data
There is no difference both are the same, CREATE STRAMING LIVE will be deprecated
soon
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlN… 19/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
CREATE LIVE TABLE is used in DELTA LIVE TABLES, CREATE STREAMING LIVE can only
used in Structured Streaming applications
38
A particular job seems to be performing slower and slower over time, the
team thinks this started to happen when a recent production change was
implemented, you were asked to take look at the job history and see if we
can identify trends and root cause, where in the workspace UI can you
perform this analysis? (1 Ponto)
Under jobs UI select the job you are interested, under runs we can see current active runs
and last 60 days historical run
Under jobs UI select the job cluster, under spark UI select the application job logs, then
you can access last 60 day historical runs
Under Workspace logs, select job logs and select the job you want to monitor to view the
last 60 day historical runs
Under Compute UI, select Job cluster and select the job cluster to see last 60 day historical
runs
39
What are the different ways you can schedule a job in Databricks workspace?
(1 Ponto)
Continuous, Incremental
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlN… 20/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
Once, Continuous
40
You have noticed that Databricks SQL queries are running slow, you are
asked to look reason why queries are running slow and identify steps to
improve the performance, when you looked at the issue you noticed all the
queries are running in parallel and using a SQL endpoint(SQL Warehouse)
with a single cluster. Which of the following steps can be taken to improve
the performance/response times of the queries?
They can turn on the Serverless feature for the SQL endpoint(SQL warehouse).
They can increase the maximum bound of the SQL endpoint(SQL warehouse)’s scaling
range
They can increase the warehouse size from 2X-Smal to 4XLarge of the SQL endpoint(SQL
warehouse).
They can turn on the Auto Stop feature for the SQL endpoint(SQL warehouse).
They can turn on the Serverless feature for the SQL endpoint(SQL warehouse) and change
the Spot Instance Policy to “Reliability Optimized.”
41
You currently working with the marketing team to setup a dashboard for ad
campaign analysis, since the team is not sure how often the dashboard
should be refreshed they have decided to do a manual refresh on an as
needed basis. Which of the following steps can be taken to reduce the
overall cost of the compute when the team is not using the compute?
*Please note that Databricks recently change the name of SQL Endpoint to
SQL Warehouses. (1 Ponto)
They can turn on the Serverless feature for the SQL endpoint(SQL Warehouse).
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlN… 21/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
They can decrease the maximum bound of the SQL endpoint(SQL Warehouse) scaling
range.
They can decrease the cluster size of the SQL endpoint(SQL Warehouse).
They can turn on the Auto Stop feature for the SQL endpoint(SQL Warehouse).
They can turn on the Serverless feature for the SQL endpoint(SQL Warehouse) and change
the Spot Instance Policy from “Reliability Optimized” to “Cost optimized”
42
You had worked with the Data analysts team to set up a SQL
Endpoint(SQL warehouse) point so they can easily query and analyze data in
the gold layer, but once they started consuming the SQL
Endpoint(SQL warehouse) you noticed that during the peak hours as the
number of users increase you are seeing queries taking longer to finish,
which of the following steps can be taken to resolve the issue?
They can turn on the Serverless feature for the SQL endpoint(SQL warehouse).
They can increase the maximum bound of the SQL endpoint(SQL warehouse) ’s scaling
range.
They can increase the cluster size from 2X-Small to 4X-Large of the SQL endpoint(SQL wa‐
rehouse) .
They can turn on the Auto Stop feature for the SQL endpoint(SQL warehouse) .
They can turn on the Serverless feature for the SQL endpoint(SQL warehouse) and change
the Spot Instance Policy from “Cost optimized” to “Reliability Optimized.”
43
The research team has put together a funnel analysis query to monitor the
customer traffic on the e-commerce platform, the query takes about 30 mins
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlN… 22/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
to run on a small SQL endpoint cluster with max scaling set to 1 cluster.
What steps can be taken to improve the performance of the query? (1 Ponto)
They can turn on the Serverless feature for the SQL endpoint.
They can increase the maximum bound of the SQL endpoint’s scaling range anywhere
from between 1 to 100 to review the performance and select the size that meets the re‐
quired SLA.
They can increase the cluster size anywhere from X small to 3XL to review the perfor‐
mance and select the size that meets the required SLA.
They can turn off the Auto Stop feature for the SQL endpoint to more than 30 mins.
They can turn on the Serverless feature for the SQL endpoint and change the Spot Ins‐
tance Policy from “Cost optimized” to “Reliability Optimized.”
44
Workspace
Account
Storage
Data pane
Control pane
45
User Settings
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlN… 23/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
Admin UI
Data Explorer
46
SELECT
MODIFY
DELETE
CREATE TABLE
EXECUTE
47
A team member is leaving the team and he/she is currently the owner of the
few tables, instead of transfering the ownership to a user you have decided
to transfer the ownership to a group so in the future anyone in the group
can manage the permissions rather than a single individual, which of the
following commands help you accomplish this? (1 Ponto)
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlN… 24/25
04/04/2025, 11:38 Databricks Certified Data Engineer Associate Practice Exams - 1
Este conteúdo foi criado pelo proprietário do formulário. Os dados que você enviar serão enviados ao proprietário
do formulário. A Microsoft não é responsável pela privacidade ou práticas de segurança de seus clientes, incluindo
aqueles do proprietário deste formulário. Nunca forneça sua senha.
Microsoft Forms | Pesquisas, questionários e votações com tecnologia de IA Criar meu próprio formulário
O proprietário deste formulário não forneceu uma política de privacidade sobre como usará seus dados de resposta.
Não forneça informações pessoais ou confidenciais. | Condições de uso
https://forms.office.com/pages/responsepage.aspx?id=jTiTfGXygEyBuKHhQcVUb3pCG-Yl6ppJgtYu7zPu6fBUNEhUSkZaWkdINUU3QzlCRFlN… 25/25