Databricks Certified Data Engineer Associate Exam Practice Questions (P. 3)
- 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 #21
A data engineering team has two tables. The first table march_transactions is a collection of all retail transactions in the month of March. The second table april_transactions is a collection of all retail transactions in the month of April. There are no duplicate records between the tables.
Which of the following commands should be run to create a new table all_transactions that contains all records from march_transactions and april_transactions without duplicate records?
Which of the following commands should be run to create a new table all_transactions that contains all records from march_transactions and april_transactions without duplicate records?
- ACREATE TABLE all_transactions AS
SELECT * FROM march_transactions
INNER JOIN SELECT * FROM april_transactions; - BCREATE TABLE all_transactions AS
SELECT * FROM march_transactions
UNION SELECT * FROM april_transactions;Most Voted - CCREATE TABLE all_transactions AS
SELECT * FROM march_transactions
OUTER JOIN SELECT * FROM april_transactions; - DCREATE TABLE all_transactions AS
SELECT * FROM march_transactions
INTERSECT SELECT * from april_transactions; - ECREATE TABLE all_transactions AS
SELECT * FROM march_transactions
MERGE SELECT * FROM april_transactions;
Correct Answer:
B
B
send
light_mode
delete
Question #22
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?
Which of the following control flow statements should the data engineer use to begin this conditionally executed code block?
- Aif day_of_week = 1 and review_period:
- Bif day_of_week = 1 and review_period = "True":
- Cif day_of_week == 1 and review_period == "True":
- Dif day_of_week == 1 and review_period:Most Voted
- Eif day_of_week = 1 & review_period: = "True":
Correct Answer:
D
D
send
light_mode
delete
Question #23
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?
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?
- AThe table’s data was larger than 10 GB
- BThe table’s data was smaller than 10 GB
- CThe table was externalMost Voted
- DThe table did not have a location
- EThe table was managed
Correct Answer:
C
C
send
light_mode
delete
Question #24
A data engineer wants to create a data entity from a couple of tables. The data entity must be used by other data engineers in other sessions. It also must be saved to a physical location.
Which of the following data entities should the data engineer create?
Which of the following data entities should the data engineer create?
send
light_mode
delete
Question #25
A data engineer is maintaining a data pipeline. Upon data ingestion, the data engineer notices that the source data is starting to have a lower level of quality. The data engineer would like to automate the process of monitoring the quality level.
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
- BData Explorer
- CDelta Lake
- DDelta Live TablesMost Voted
- EAuto Loader
Correct Answer:
D
D
send
light_mode
delete
Question #26
A Delta Live Table pipeline includes two datasets defined using STREAMING LIVE TABLE. Three datasets are defined against Delta Lake table sources using LIVE TABLE.
The table is configured to run in Production mode using the Continuous Pipeline Mode.
Assuming previously unprocessed data exists and all definitions are valid, what is the expected outcome after clicking Start to update the pipeline?
The table is configured to run in Production mode using the Continuous Pipeline Mode.
Assuming previously unprocessed data exists and all definitions are valid, what is the expected outcome after clicking Start to update the pipeline?
- AAll datasets will be updated at set intervals until the pipeline is shut down. The compute resources will persist to allow for additional testing.
- BAll datasets will be updated once and the pipeline will persist without any processing. The compute resources will persist but go unused.
- CAll datasets will be updated at set intervals until the pipeline is shut down. The compute resources will be deployed for the update and terminated when the pipeline is stopped.Most Voted
- DAll datasets will be updated once and the pipeline will shut down. The compute resources will be terminated.
- EAll datasets will be updated once and the pipeline will shut down. The compute resources will persist to allow for additional testing.
Correct Answer:
C
C
send
light_mode
delete
Question #27
In order for Structured Streaming to reliably track the exact progress of the processing so that it can handle any kind of failure by restarting and/or reprocessing, which of the following two approaches is used by Spark to record the offset range of the data being processed in each trigger?
- ACheckpointing and Write-ahead LogsMost Voted
- BStructured Streaming cannot record the offset range of the data being processed in each trigger.
- CReplayable Sources and Idempotent Sinks
- DWrite-ahead Logs and Idempotent Sinks
- ECheckpointing and Idempotent Sinks
Correct Answer:
A
A
send
light_mode
delete
Question #28
Which of the following describes the relationship between Gold tables and Silver tables?
- AGold tables are more likely to contain aggregations than Silver tables.Most Voted
- BGold tables are more likely to contain valuable data than Silver tables.
- CGold tables are more likely to contain a less refined view of data than Silver tables.
- DGold tables are more likely to contain more data than Silver tables.
- EGold tables are more likely to contain truthful data than Silver tables.
Correct Answer:
A
A
send
light_mode
delete
Question #29
Which of the following describes the relationship between Bronze tables and raw data?
- ABronze tables contain less data than raw data files.
- BBronze tables contain more truthful data than raw data.
- CBronze tables contain aggregates while raw data is unaggregated.
- DBronze tables contain a less refined view of data than raw data.
- EBronze tables contain raw data with a schema applied.Most Voted
Correct Answer:
E
E
send
light_mode
delete
Question #30
Which of the following tools is used by Auto Loader process data incrementally?
- ACheckpointing
- BSpark Structured StreamingMost Voted
- CData Explorer
- DUnity Catalog
- EDatabricks SQL
Correct Answer:
B
B
send
light_mode
delete
All Pages
