Databricks Certified Data Engineer Associate Exam Practice Questions (P. 4)
- Full Access (322 questions)
- One Year of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #31
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:

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?
The cade block used by the data engineer is below:

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?
- Atrigger("5 seconds")
- Btrigger()
- Ctrigger(once="5 seconds")
- Dtrigger(processingTime="5 seconds")Most Voted
- Etrigger(continuous="5 seconds")
Correct Answer:
D
D
send
light_mode
delete
Question #32
A dataset has been defined using Delta Live Tables and includes an expectations clause:
CONSTRAINT valid_timestamp EXPECT (timestamp > '2020-01-01') ON VIOLATION DROP ROW
What is the expected behavior when a batch of data containing data that violates these constraints is processed?
CONSTRAINT valid_timestamp EXPECT (timestamp > '2020-01-01') ON VIOLATION DROP ROW
What is the expected behavior when a batch of data containing data that violates these constraints is processed?
- ARecords that violate the expectation are dropped from the target dataset and loaded into a quarantine table.
- BRecords that violate the expectation are added to the target dataset and flagged as invalid in a field added to the target dataset.
- CRecords that violate the expectation are dropped from the target dataset and recorded as invalid in the event log.Most Voted
- DRecords that violate the expectation are added to the target dataset and recorded as invalid in the event log.
- ERecords that violate the expectation cause the job to fail.
Correct Answer:
C
C
send
light_mode
delete
Question #33
Which of the following describes when to use the CREATE STREAMING LIVE TABLE (formerly CREATE INCREMENTAL LIVE TABLE) syntax over the CREATE LIVE TABLE syntax when creating Delta Live Tables (DLT) tables using SQL?
- ACREATE STREAMING LIVE TABLE should be used when the subsequent step in the DLT pipeline is static.
- BCREATE STREAMING LIVE TABLE should be used when data needs to be processed incrementally.Most Voted
- CCREATE STREAMING LIVE TABLE is redundant for DLT and it does not need to be used.
- DCREATE STREAMING LIVE TABLE should be used when data needs to be processed through complicated aggregations.
- ECREATE STREAMING LIVE TABLE should be used when the previous step in the DLT pipeline is static.
Correct Answer:
B
B
send
light_mode
delete
Question #34
A data engineer is designing a data pipeline. The source system generates files in a shared directory that is also used by other processes. As a result, the files should be kept as is and will accumulate in the directory. The data engineer needs to identify which files are new since the previous run in the pipeline, and set up the pipeline to only ingest those new files with each run.
Which of the following tools can the data engineer use to solve this problem?
Which of the following tools can the data engineer use to solve this problem?
- AUnity Catalog
- BDelta Lake
- CDatabricks SQL
- DData Explorer
- EAuto LoaderMost Voted
Correct Answer:
E
E
send
light_mode
delete
Question #35
Which of the following Structured Streaming queries is performing a hop from a Silver table to a Gold table?
send
light_mode
delete
Question #36
A data engineer has three tables in a Delta Live Tables (DLT) pipeline. They have configured the pipeline to drop invalid records at each table. They notice that some data is being dropped due to quality concerns at some point in the DLT pipeline. They would like to determine at which table in their pipeline the data is being dropped.
Which of the following approaches can the data engineer take to identify the table that is dropping the records?
Which of the following approaches can the data engineer take to identify the table that is dropping the records?
- AThey can set up separate expectations for each table when developing their DLT pipeline.
- BThey cannot determine which table is dropping the records.
- CThey can set up DLT to notify them via email when records are dropped.
- DThey can navigate to the DLT pipeline page, click on each table, and view the data quality statistics.Most Voted
- EThey can navigate to the DLT pipeline page, click on the “Error” button, and review the present errors.
Correct Answer:
D
D
send
light_mode
delete
Question #37
A data engineer has a single-task Job that runs each morning before they begin working. After identifying an upstream data issue, they need to set up another task to run a new notebook prior to the original task.
Which of the following approaches can the data engineer use to set up the new task?
Which of the following approaches can the data engineer use to set up the new task?
- AThey can clone the existing task in the existing Job and update it to run the new notebook.
- BThey can create a new task in the existing Job and then add it as a dependency of the original task.Most Voted
- CThey can create a new task in the existing Job and then add the original task as a dependency of the new task.
- DThey can create a new job from scratch and add both tasks to run concurrently.
- EThey can clone the existing task to a new Job and then edit it to run the new notebook.
Correct Answer:
B
B
send
light_mode
delete
Question #38
An engineering manager wants to monitor the performance of a recent project using a Databricks SQL query. For the first week following the project’s release, the manager wants the query results to be updated every minute. However, the manager is concerned that the compute resources used for the query will be left running and cost the organization a lot of money beyond the first week of the project’s release.
Which of the following approaches can the engineering team use to ensure the query does not cost the organization any money beyond the first week of the project’s release?
Which of the following approaches can the engineering team use to ensure the query does not cost the organization any money beyond the first week of the project’s release?
- AThey can set a limit to the number of DBUs that are consumed by the SQL Endpoint.
- BThey can set the query’s refresh schedule to end after a certain number of refreshes.
- CThey cannot ensure the query does not cost the organization money beyond the first week of the project’s release.
- DThey can set a limit to the number of individuals that are able to manage the query’s refresh schedule.
- EThey can set the query’s refresh schedule to end on a certain date in the query scheduler.Most Voted
Correct Answer:
E
E
send
light_mode
delete
Question #39
A data analysis team has noticed that their Databricks SQL queries are running too slowly when connected to their always-on SQL endpoint. They claim that this issue is present when many members of the team are running small queries simultaneously. They ask the data engineering team for help. The data engineering team notices that each of the team’s queries uses the same SQL endpoint.
Which of the following approaches can the data engineering team use to improve the latency of the team’s queries?
Which of the following approaches can the data engineering team use to improve the latency of the team’s queries?
- AThey can increase the cluster size of the SQL endpoint.
- BThey can increase the maximum bound of the SQL endpoint’s scaling range.Most Voted
- CThey can turn on the Auto Stop feature for the SQL endpoint.
- DThey can turn on the Serverless feature for the SQL endpoint.
- EThey can turn on the Serverless feature for the SQL endpoint and change the Spot Instance Policy to “Reliability Optimized.”
Correct Answer:
B
B
send
light_mode
delete
Question #40
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?
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?
- AThey can ensure the dashboard’s SQL endpoint matches each of the queries’ SQL endpoints.
- BThey can set up the dashboard’s SQL endpoint to be serverless.
- CThey can turn on the Auto Stop feature for the SQL endpoint.Most Voted
- DThey can reduce the cluster size of the SQL endpoint.
- EThey can ensure the dashboard’s SQL endpoint is not one of the included query’s SQL endpoint.
Correct Answer:
C
C
send
light_mode
delete
All Pages





