Databricks DE Associate Exam Questions PDF

Summary

This document contains Databricks Certified Data Engineer Associate exam questions. Topics cover data pipelines, Delta Live Tables, and using Python and SQL. The questions focus on real-world scenarios.

Full Transcript

163 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 163\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified...

163 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 163\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) 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 of the following changes will need to be made to the pipeline when migrating to Delta Live Tables? - A. The pipeline will need to be written entirely in Python - B. The pipeline will need to stop using the medallion-based multi-hop architecture - C. The pipeline will need to be written entirely in SQL - D. The pipeline will need to use a batch source in place of a streaming source **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/152592-exam-certified-data-engineer-associate-topic-1-question-163/) **Suggested Answer:** *A* 161 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 161\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data analyst has developed a query that runs against Delta table. They want help from the data engineering team to implement a series of tests to ensure the data returned by the query is clean. However, the data engineering team uses Python for its tests rather than SQL.\ \ Which of the following operations could the data engineering team use to run the query and operate with the results in PySpark? - A. SELECT \* FROM sales - B. spark.delta.table - C. spark.sql **Most Voted** - D. spark.table [Hide Answer](https://www.examtopics.com/discussions/databricks/view/152591-exam-certified-data-engineer-associate-topic-1-question-161/) **Suggested Answer:** *C* 160 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 160\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data organization leader is upset about the data analysis team's reports being different from the data engineering team's reports. The leader believes the siloed nature of their organization's data engineering and data analysis architectures is to blame.\ \ Which of the following describes how a data lakehouse could alleviate this issue? - A. Both teams would respond more quickly to ad-hoc requests - B. Both teams would use the same source of truth for their work **Most Voted** - C. Both teams would reorganize to report to the same department - D. Both teams would be able to collaborate on projects in real-time [Hide Answer](https://www.examtopics.com/discussions/databricks/view/152590-exam-certified-data-engineer-associate-topic-1-question-160/) **Suggested Answer:** *B* 159 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 159\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which Structured Streaming query is performing a hop from a Silver table to a Gold table? - A. A white background with black text Description automatically generated - B. ![A white background with black text Description automatically generated](media/image2.png) - C. A computer code with black text Description automatically generated - D. ![A computer code with black text Description automatically generated](media/image4.png) **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/152588-exam-certified-data-engineer-associate-topic-1-question-159/) **Suggested Answer:** *B* 153 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 153\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) 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? - A. if day\_of\_week = 1 and review\_period: - B. if day\_of\_week = 1 and review\_period = \"True\": - C. if day\_of\_week = 1 & review\_period: = \"True\": - D. if day\_of\_week == 1 and review\_period: **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/152587-exam-certified-data-engineer-associate-topic-1-question-153/) **Suggested Answer:** *B* 150 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 150\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) 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? - A. A white background with black text Description automatically generated\ **Most Voted** - B. ![A white background with black text Description automatically generated](media/image6.png) - C. A close up of text Description automatically generated - D. ![A white background with black text Description automatically generated](media/image8.png) [Hide Answer](https://www.examtopics.com/discussions/databricks/view/152586-exam-certified-data-engineer-associate-topic-1-question-150/) **Suggested Answer:** *D* 146 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 146\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer needs to access the view created by the sales team, using a shared cluster. The data engineer has been provided usage permissions on the catalog and schema. In order to access the view created by sales team.\ \ What are the minimum permissions the data engineer would require in addition? - A. Needs SELECT permission on the VIEW and the underlying TABLE. - B. Needs SELECT permission only on the VIEW **Most Voted** - C. Needs ALL PRIVILEGES on the VIEW - D. Needs ALL PRIVILEGES at the SCHEMA level [Hide Answer](https://www.examtopics.com/discussions/databricks/view/151417-exam-certified-data-engineer-associate-topic-1-question-146/) **Suggested Answer:** *A* 145 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 145\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which two conditions are applicable for governance in Databricks Unity Catalog? (Choose two.) - A. You can have more than 1 metastore within a databricks account console but only 1 per region. **Most Voted** - B. Both catalog and schema must have a managed location in Unity Catalog provided metastore is not associated with a location - C. You can have multiple catalogs within metastore and 1 catalog can be associated with multiple metastore - D. If catalog is not associated with location, it's mandatory to associate schema with managed locations - E. If metastore is not associated with location, it's mandatory to associate catalog with managed locations **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/150281-exam-certified-data-engineer-associate-topic-1-question-145/) **Suggested Answer:** *AE* 144 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 144\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Identify the impact of ON VIOLATION DROP ROW and ON VIOLATION FAIL UPDATE for a constraint violation.\ \ A data engineer has created an ETL pipeline using Delta Live table to manage their company travel reimbursement detail, they want to ensure that the if the location details has not been provided by the employee, the pipeline needs to be terminated.\ \ How can the scenario be implemented? - A. CONSTRAINT valid\_location EXPECT (location = NULL) - B. CONSTRAINT valid\_location EXPECT (location != NULL) ON VIOLATION FAIL UPDATE **Most Voted** - C. CONSTRAINT valid\_location EXPECT (location != NULL) ON DROP ROW - D. CONSTRAINT valid\_location EXPECT (location != NULL) ON VIOLATION FAIL [Hide Answer](https://www.examtopics.com/discussions/databricks/view/150282-exam-certified-data-engineer-associate-topic-1-question-144/) **Suggested Answer:** *B*  142 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 142\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Data engineer and data analysts 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 of the following changes will need to be made to the pipeline when migrating to Delta Live Tables? - A. The pipeline can have different notebook sources in SQL & Python - B. The pipeline will need to be written entirely in SQL - C. The pipeline will need to use a batch source in place of a streaming source - D. The pipeline will need to be written entirely in Python [Hide Answer](https://www.examtopics.com/discussions/databricks/view/150641-exam-certified-data-engineer-associate-topic-1-question-142/) **Suggested Answer:** *A* 141 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 141\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) 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 code block used by the data engineer is below:\ \ A screenshot of a computer code Description automatically generated\ \ The data engineer only wants the query to process all of the available data in as many batches as required.\ \ Which line of code should the data engineer use to fill in the blank? - A. trigger(availableNow=True) **Most Voted** - B. trigger(processingTime= "once") - C. trigger(continuous= "once") - D. trigger(once=True) [Hide Answer](https://www.examtopics.com/discussions/databricks/view/150350-exam-certified-data-engineer-associate-topic-1-question-141/) **Suggested Answer:** *A* 140 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 140\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) What can be used to simplify and unify siloed data architectures that are specialized for specific use cases? - A. Delta Lake - B. Data lake - C. Data warehouse - D. Data lakehouse **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/152428-exam-certified-data-engineer-associate-topic-1-question-140/) **Suggested Answer:** *D* 139 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 139\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) In a healthcare provider organization using Delta Lake to store electronic health records (EHRs), a data analyst needs to analyze a snapshot of the patient\_records table from two weeks ago before some recent data corrections were applied.\ \ What approach should the Data Engineer take to allow the analyst to query that specific prior version? - A. Truncate the table to remove all data, then reload the data from two weeks ago into the truncated table for the analyst to query. - B. Identify the version number corresponding to two weeks ago from the Delta transaction log, share that version number with the analyst to query using VERSION AS OF syntax, or export that version to a new Delta table for the analyst to query. - C. Restore the table to the version from two weeks ago using the RESTORE command, and have the analyst query the restored table. - D. Use the VACUUM command to remove all versions of the table older than two weeks, then the analyst can query the remaining version. [Hide Answer](https://www.examtopics.com/discussions/databricks/view/149954-exam-certified-data-engineer-associate-topic-1-question-139/) **Suggested Answer:** *B* 138 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 138\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which two components function in the DB platform architecture's control plane? (Choose two.) - A. Virtual Machines - B. Compute Orchestration - C. Serverless Compute - D. Compute - E. Unity Catalog [Hide Answer](https://www.examtopics.com/discussions/databricks/view/149799-exam-certified-data-engineer-associate-topic-1-question-138/) **Suggested Answer:** *BE* 137 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 137\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Identify how the count\_if function and the count where x is null can be used\ \ Consider a table random\_values with below data.\ \ What would be the output of below query?\ select count\_if(col \> 1) as count\_a. count(\*) as count\_b.count(col1) as count\_c from random\_values col1\ 0\ 1\ 2\ \ NULL -\ 2\ 3 - A. 3 6 5 - B. 4 6 5 - C. 3 6 6 - D. 4 6 6 [Hide Answer](https://www.examtopics.com/discussions/databricks/view/149798-exam-certified-data-engineer-associate-topic-1-question-137/) **Suggested Answer:** *A*  136 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 136\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Differentiate between all-purpose clusters and jobs clusters.\ \ A data engineering team has created a python notebook to load data from cloud storage, this job has been tested and now needs to be scheduled in production.\ \ Which would be the best cluster to be used in this case? - A. All purpose cluster - B. Any Unity Catalog-enabled cluster - C. Jobs Cluster **Most Voted** - D. Serverless SQL warehouse [Hide Answer](https://www.examtopics.com/discussions/databricks/view/152427-exam-certified-data-engineer-associate-topic-1-question-136/) **Suggested Answer:** *C* 135 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 135\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A new data engineering team team has been assigned to an ELT project. The new data engineering team will need full privileges on the table sales to fully manage the project.\ \ Which command can be used to grant full permissions on the database to the new data engineering team? - A. GRANT ALL PRIVILEGES ON TABLE sales TO team; **Most Voted** - B. GRANT SELECT CREATE MODIFY ON TABLE sales TO team; - C. GRANT SELECT ON TABLE sales TO team; - D. GRANT ALL PRIVILEGES ON TABLE team TO sales; [Hide Answer](https://www.examtopics.com/discussions/databricks/view/146471-exam-certified-data-engineer-associate-topic-1-question-135/) **Suggested Answer:** *A* 133 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 133\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) 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 approach 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? - A. They can set a limit to the number of DBUs that are consumed by the SQL Endpoint. - B. They can set the query's refresh schedule to end after a certain number of refreshes. - C. They can set the query's refresh schedule to end on a certain date in the query scheduler. **Most Voted** - D. They can set a limit to the number of individuals that are able to manage the query's refresh schedule. [Hide Answer](https://www.examtopics.com/discussions/databricks/view/146474-exam-certified-data-engineer-associate-topic-1-question-133/) **Suggested Answer:** *C* 129 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 129\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A single Job runs two notebooks as two separate tasks. A data engineer has noticed that one of the notebooks is running slowly in the Job's current run. The data engineer asks a tech lead for help in identifying why this might be the case.\ \ Which approach can the tech lead use to identify why the notebook is running slowly as part of the Job? - A. They can navigate to the Runs tab in the Jobs UI to immediately review the processing notebook. - B. They can navigate to the Tasks tab in the Jobs UI and click on the active run to review the processing notebook. - C. They can navigate to the Runs tab in the Jobs UI and click on the active run to review the processing notebook. **Most Voted** - D. They can navigate to the Tasks tab in the Jobs UI to immediately review the processing notebook. [Hide Answer](https://www.examtopics.com/discussions/databricks/view/146477-exam-certified-data-engineer-associate-topic-1-question-129/) **Suggested Answer:** *C* 128 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 128\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) 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 approach can the data engineer use to set up the new task? - A. They can clone the existing task in the existing Job and update it to run the new notebook. - B. They can create a new task in the existing Job and then add it as a dependency of the original task. **Most Voted** - C. They can create a new task in the existing Job and then add the original task as a dependency of the new task. - D. They can create a new job from scratch and add both tasks to run concurrently. [Hide Answer](https://www.examtopics.com/discussions/databricks/view/140290-exam-certified-data-engineer-associate-topic-1-question-128/) **Suggested Answer:** *B* 127 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 127\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer has a Job with multiple tasks that runs nightly. Each of the tasks runs slowly because the clusters take a long time to start.\ \ Which action can the data engineer perform to improve the start up time for the clusters used for the Job? - A. They can use endpoints available in Databricks SQL - B. They can use jobs clusters instead of all-purpose clusters - C. They can configure the clusters to autoscale for larger data sizes - D. They can use clusters that are from a cluster pool [Hide Answer](https://www.examtopics.com/discussions/databricks/view/146479-exam-certified-data-engineer-associate-topic-1-question-127/) **Suggested Answer:** *D*  126 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 126\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) 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? - A. Records that violate the expectation cause the job to fail. - B. Records that violate the expectation are added to the target dataset and flagged as invalid in a field added to the target dataset. - C. Records that violate the expectation are dropped from the target dataset and recorded as invalid in the event log. **Most Voted** - D. Records that violate the expectation are added to the target dataset and recorded as invalid in the event log. [Hide Answer](https://www.examtopics.com/discussions/databricks/view/141060-exam-certified-data-engineer-associate-topic-1-question-126/) **Suggested Answer:** *C* 125 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 125\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which query is performing a streaming hop from raw data to a Bronze table? - A. ![A screenshot of a computer code Description automatically generated](media/image10.png) - B. A white background with black text Description automatically generated - C. ![A white screen with black text Description automatically generated](media/image12.png) - D. A screenshot of a computer program Description automatically generated **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/147427-exam-certified-data-engineer-associate-topic-1-question-125/) **Suggested Answer:** *D* 124 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 124\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which statement regarding the relationship between Silver tables and Bronze tables is always true? - A. Silver tables contain a less refined, less clean view of data than Bronze data. - B. Silver tables contain aggregates while Bronze data is unaggregated. - C. Silver tables contain more data than Bronze tables. - D. Silver tables contain less data than Bronze tables. **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/140248-exam-certified-data-engineer-associate-topic-1-question-124/) **Suggested Answer:** *D* 123 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 123\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer has developed a data pipeline to ingest data from a JSON source using Auto Loader, but the engineer has not provided any type inference or schema hints in their pipeline. Upon reviewing the data, the data engineer has noticed that all of the columns in the target table are of the string type despite some of the fields only including float or boolean values.\ \ Why has Auto Loader inferred all of the columns to be of the string type? - A. Auto Loader cannot infer the schema of ingested data - B. JSON data is a text-based format **Most Voted** - C. Auto Loader only works with string data - D. All of the fields had at least one null value [Hide Answer](https://www.examtopics.com/discussions/databricks/view/144151-exam-certified-data-engineer-associate-topic-1-question-123/) **Suggested Answer:** *B* 122 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 122\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which type of workloads are compatible with Auto Loader? - A. Streaming workloads - B. Machine learning workloads - C. Serverless workloads - D. Batch workloads [Hide Answer](https://www.examtopics.com/discussions/databricks/view/149736-exam-certified-data-engineer-associate-topic-1-question-122/) **Suggested Answer:** *A*  121 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 121\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) 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.\ \ What is the expected outcome after clicking Start to update the pipeline assuming previously unprocessed data exists and all definitions are valid? - A. All datasets will be updated at set intervals until the pipeline is shut down. The compute resources will persist to allow for additional testing. - B. All datasets will be updated once and the pipeline will shut down. The compute resources will persist to allow for additional testing. - C. All 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** - D. All datasets will be updated once and the pipeline will shut down. The compute resources will be terminated. [Hide Answer](https://www.examtopics.com/discussions/databricks/view/146535-exam-certified-data-engineer-associate-topic-1-question-121/) **Suggested Answer:** *C* 120 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 120\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) What 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? - A. CREATE STREAMING LIVE TABLE should be used when the subsequent step in the DLT pipeline is static. - B. CREATE STREAMING LIVE TABLE should be used when data needs to be processed incrementally. - C. CREATE STREAMING LIVE TABLE should be used when data needs to be processed through complicated aggregations. - D. CREATE STREAMING LIVE TABLE should be used when the previous step in the DLT pipeline is static. [Hide Answer](https://www.examtopics.com/discussions/databricks/view/146533-exam-certified-data-engineer-associate-topic-1-question-120/) **Suggested Answer:** *B*  119 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 119\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) What describes the relationship between Gold tables and Silver tables? - A. Gold tables are more likely to contain aggregations than Silver tables. - B. Gold tables are more likely to contain valuable data than Silver tables. - C. Gold tables are more likely to contain a less refined view of data than Silver tables. - D. Gold tables are more likely to contain truthful data than Silver tables. [Hide Answer](https://www.examtopics.com/discussions/databricks/view/146532-exam-certified-data-engineer-associate-topic-1-question-119/) **Suggested Answer:** *A* 118 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 118\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) What is used by Spark to record the offset range of the data being processed in each trigger 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? - A. Checkpointing and Write-ahead Logs - B. Replayable Sources and Idempotent Sinks - C. Write-ahead Logs and Idempotent Sinks - D. Checkpointing and Idempotent Sinks [Hide Answer](https://www.examtopics.com/discussions/databricks/view/146534-exam-certified-data-engineer-associate-topic-1-question-118/) **Suggested Answer:** *A* 117 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 117\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) 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 approach can the data engineer take to identify the table that is dropping the records? - A. They can set up separate expectations for each table when developing their DLT pipeline. - B. They can navigate to the DLT pipeline page, click on the "Error" button, and review the present errors. - C. They can set up DLT to notify them via email when records are dropped. - D. They can navigate to the DLT pipeline page, click on each table, and view the data quality statistics. [Hide Answer](https://www.examtopics.com/discussions/databricks/view/146531-exam-certified-data-engineer-associate-topic-1-question-117/) **Suggested Answer:** *D*  116 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 116\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) 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? - A. Auto Loader - B. Unity Catalog - C. Delta Lake - D. Delta Live Tables **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/151779-exam-certified-data-engineer-associate-topic-1-question-116/) **Suggested Answer:** *D* 115 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 115\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) 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 code block used by the data engineer is below:\ \ ![A white background with black text Description automatically generated](media/image14.png)\ \ Which line of code should the data engineer use to fill in the blank if the data engineer only wants the query to execute a micro-batch to process data every 5 seconds? - A. trigger(\"5 seconds\") - B. trigger(continuous=\"5 seconds\") - C. trigger(once=\"5 seconds\") - D. trigger(processingTime=\"5 seconds\") **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/146490-exam-certified-data-engineer-associate-topic-1-question-115/) **Suggested Answer:** *D* 114 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 114\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer that is new to using Python needs to create a Python function to add two integers together and return the sum?\ \ Which code block can the data engineer use to complete this task? - A.  - B. ![A black and white text Description automatically generated](media/image16.png) - C.  - D. ![](media/image18.png) **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/140234-exam-certified-data-engineer-associate-topic-1-question-114/) **Suggested Answer:** *D* 113 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 113\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer needs to apply custom logic to identify employees with more than 5 years of experience in array column employees in table stores. The custom logic should create a new column exp\_employees that is an array of all of the employees with more than 5 years of experience for each row. In order to apply this custom logic at scale, the data engineer wants to use the FILTER higher-order function.\ \ Which code block successfully completes this task? - A. A close-up of a computer code Description automatically generated\ **Most Voted** - B. ![A close-up of a number Description automatically generated](media/image20.png) - C. A white background with black text Description automatically generated - D. ![A white background with black text Description automatically generated](media/image22.png) [Hide Answer](https://www.examtopics.com/discussions/databricks/view/147418-exam-certified-data-engineer-associate-topic-1-question-113/) **Suggested Answer:** *A*  112 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 112\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer is working with two tables. Each of these tables is displayed below in its entirety.\ \ A screenshot of a computer Description automatically generated\ \ The data engineer runs the following query to join these tables together:\ \ ![A white background with black text Description automatically generated](media/image24.png) - A. A close up of numbers Description automatically generated - B. ![A number with black text Description automatically generated with medium confidence](media/image26.png) - C. A close-up of numbers Description automatically generated\ **Most Voted** - D. ![A close-up of numbers Description automatically generated](media/image28.png) [Hide Answer](https://www.examtopics.com/discussions/databricks/view/141061-exam-certified-data-engineer-associate-topic-1-question-112/) **Suggested Answer:** *C* 111 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 111\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer has a Python variable table\_name that they would like to use in a SQL query. They want to construct a Python code block that will run the query using table\_name.\ \ They have the following incomplete code block:\ \ \_\_\_\_(f\"SELECT customer\_id, spend FROM {table\_name}\")\ \ What can be used to fill in the blank to successfully complete the task? - A. spark.delta.sql - B. spark.sql **Most Voted** - C. spark.table - D. dbutils.sql [Hide Answer](https://www.examtopics.com/discussions/databricks/view/147887-exam-certified-data-engineer-associate-topic-1-question-111/) **Suggested Answer:** *B* 110 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 110\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which SQL keyword can be used to convert a table from a long format to a wide format? - A. TRANSFORM - B. PIVOT - C. SUM - D. CONVERT [Hide Answer](https://www.examtopics.com/discussions/databricks/view/146487-exam-certified-data-engineer-associate-topic-1-question-110/) **Suggested Answer:** *B* 109 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 109\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) What is a benefit of creating an external table from Parquet rather than CSV when using a CREATE TABLE AS SELECT statement? - A. Parquet files can be partitioned - B. Parquet files will become Delta tables - C. Parquet files have a well-defined schema **Most Voted** - D. Parquet files have the ability to be optimized [Hide Answer](https://www.examtopics.com/discussions/databricks/view/140622-exam-certified-data-engineer-associate-topic-1-question-109/) **Suggested Answer:** *C* 108 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 108\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer needs to create a table in Databricks using data from a CSV file at location /path/to/csv.\ \ They run the following command:\ \ A white background with black text Description automatically generated\ \ Which of the following lines of code fills in the above blank to successfully complete the task? - A. FROM \"path/to/csv\" - B. USING CSV **Most Voted** - C. FROM CSV - D. USING DELTA [Hide Answer](https://www.examtopics.com/discussions/databricks/view/147416-exam-certified-data-engineer-associate-topic-1-question-108/) **Suggested Answer:** *B* 107 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 107\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer is attempting to drop a Spark SQL table my\_table and runs the following command:\ \ DROP TABLE IF EXISTS my\_table;\ \ After running this command, the engineer notices that the data files and metadata files have been deleted from the file system.\ \ What is the reason behind the deletion of all these files? - A. The table was managed **Most Voted** - B. The table\'s data was smaller than 10 GB - C. The table did not have a location - D. The table was external [Hide Answer](https://www.examtopics.com/discussions/databricks/view/140233-exam-certified-data-engineer-associate-topic-1-question-107/) **Suggested Answer:** *A*  106 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 106\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer has created a new database using the following command:\ \ CREATE DATABASE IF NOT EXISTS customer360;\ \ In which location will the customer360 database be located? - A. dbfs:/user/hive/database/customer360 - B. dbfs:/user/hive/warehouse **Most Voted** - C. dbfs:/user/hive/customer360 - D. dbfs:/user/hive/database [Hide Answer](https://www.examtopics.com/discussions/databricks/view/141237-exam-certified-data-engineer-associate-topic-1-question-106/) **Suggested Answer:** *B* 105 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 105\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data analyst has created a Delta table sales that is used by the entire data analysis team. They want help from the data engineering team to implement a series of tests to ensure the data is clean. However, the data engineering team uses Python for its tests rather than SQL.\ \ Which command could the data engineering team use to access sales in PySpark? - A. SELECT \* FROM sales - B. spark.table(\"sales\") - C. spark.sql(\"sales\") - D. spark.delta.table(\"sales\") [Hide Answer](https://www.examtopics.com/discussions/databricks/view/141236-exam-certified-data-engineer-associate-topic-1-question-105/) **Suggested Answer:** *B* 104 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 104\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which command can be used to write data into a Delta table while avoiding the writing of duplicate records? - A. DROP - B. INSERT - C. MERGE **Most Voted** - D. APPEND [Hide Answer](https://www.examtopics.com/discussions/databricks/view/141234-exam-certified-data-engineer-associate-topic-1-question-104/) **Suggested Answer:** *C* 103 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 103\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) 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:\ \ ![A black text on a white background Description automatically generated](media/image30.png)\ \ After running the command today, the data engineer notices that the number of records in table transactions has not changed.\ \ What explains why the statement might not have copied any new records into the table? - A. The format of the files to be copied were not included with the FORMAT\_OPTIONS keyword. - B. The COPY INTO statement requires the table to be refreshed to view the copied rows. - C. The previous day's file has already been copied into the table. - D. The PARQUET file format does not support COPY INTO. [Hide Answer](https://www.examtopics.com/discussions/databricks/view/141235-exam-certified-data-engineer-associate-topic-1-question-103/) **Suggested Answer:** *C* 102 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 102\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) 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? - A. Table - B. Function - C. View - D. Temporary view [Hide Answer](https://www.examtopics.com/discussions/databricks/view/142913-exam-certified-data-engineer-associate-topic-1-question-102/) **Suggested Answer:** *A*  100 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 100\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer has been given a new record of data:\ \ id STRING = \'a1\'\ rank INTEGER = 6\ rating FLOAT = 9.4\ \ Which SQL commands can be used to append the new record to an existing Delta table my\_table? - A. INSERT INTO my\_table VALUES (\'a1\', 6, 9.4) - B. INSERT VALUES (\'a1\', 6, 9.4) INTO my\_table - C. UPDATE my\_table VALUES (\'a1\', 6, 9.4) - D. UPDATE VALUES (\'a1\', 6, 9.4) my\_table [Hide Answer](https://www.examtopics.com/discussions/databricks/view/141232-exam-certified-data-engineer-associate-topic-1-question-100/) **Suggested Answer:** *A*  99 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 99\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data architect has determined that a table of the following format is necessary:\ \ A close-up of a number Description automatically generated\ \ Which code block is used by SQL DDL command to create an empty Delta table in the above format regardless of whether a table already exists with this name? - A. CREATE OR REPLACE TABLE table\_name ( employeeId STRING, startDate DATE, avgRating FLOAT ) **Most Voted** - B. CREATE OR REPLACE TABLE table\_name WITH COLUMNS ( employeeId STRING, startDate DATE, avgRating FLOAT ) USING DELTA - C. CREATE TABLE IF NOT EXISTS table\_name ( employeeId STRING, startDate DATE, avgRating FLOAT ) - D. CREATE TABLE table\_name AS SELECT employeeId STRING, startDate DATE, avgRating FLOAT [Hide Answer](https://www.examtopics.com/discussions/databricks/view/141231-exam-certified-data-engineer-associate-topic-1-question-99/) **Suggested Answer:** *A*  98 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 98\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which file format is used for storing Delta Lake Table? - A. CSV - B. Parquet - C. JSON - D. Delta [Hide Answer](https://www.examtopics.com/discussions/databricks/view/140894-exam-certified-data-engineer-associate-topic-1-question-98/) **Suggested Answer:** *B* 97 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 97\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer is running code in a Databricks Repo that is cloned from a central Git repository. A colleague of the data engineer informs them that changes have been made and synced to the central Git repository. The data engineer now needs to sync their Databricks Repo to get the changes from the central Git repository.\ \ Which Git operation does the data engineer need to run to accomplish this task? - A. Clone - B. Pull **Most Voted** - C. Merge - D. Push [Hide Answer](https://www.examtopics.com/discussions/databricks/view/141230-exam-certified-data-engineer-associate-topic-1-question-97/) **Suggested Answer:** *B* 96 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 96\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer needs to use a Delta table as part of a data pipeline, but they do not know if they have the appropriate permissions.\ \ In which location can the data engineer review their permissions on the table? - A. Jobs - B. Dashboards - C. Catalog Explorer **Most Voted** - D. Repos [Hide Answer](https://www.examtopics.com/discussions/databricks/view/145566-exam-certified-data-engineer-associate-topic-1-question-96/) **Suggested Answer:** *C* 95 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 95\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) What is a benefit of the Databricks Lakehouse Architecture embracing open source technologies? - A. Avoiding vendor lock-in **Most Voted** - B. Simplified governance - C. Ability to scale workloads - D. Cloud-specific integrations [Hide Answer](https://www.examtopics.com/discussions/databricks/view/145564-exam-certified-data-engineer-associate-topic-1-question-95/) **Suggested Answer:** *A* 94 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 94\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer needs to determine whether to use the built-in Databricks Notebooks versioning or version their project using Databricks Repos.\ \ What is an advantage of using Databricks Repos over the Databricks Notebooks versioning? - A. Databricks Repos allows users to revert to previous versions of a notebook - B. Databricks Repos is wholly housed within the Databricks Data Intelligence Platform - C. Databricks Repos provides the ability to comment on specific changes - D. Databricks Repos supports the use of multiple branches **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/147886-exam-certified-data-engineer-associate-topic-1-question-94/) **Suggested Answer:** *D*  93 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 93\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) What is hosted completely in the control plane of the classic Databricks architecture? - A. Worker node - B. Databricks web application **Most Voted** - C. Driver node - D. Databricks Filesystem [Hide Answer](https://www.examtopics.com/discussions/databricks/view/145563-exam-certified-data-engineer-associate-topic-1-question-93/) **Suggested Answer:** *B* 92 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 92\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) In which scenario will a data team want to utilize cluster pools? - A. An automated report needs to be version-controlled across multiple collaborators. - B. An automated report needs to be runnable by all stakeholders. - C. An automated report needs to be refreshed as quickly as possible. **Most Voted** - D. An automated report needs to be made reproducible. [Hide Answer](https://www.examtopics.com/discussions/databricks/view/141229-exam-certified-data-engineer-associate-topic-1-question-92/) **Suggested Answer:** *C*  91 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 91\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which data lakehouse feature results in improved data quality over a traditional data lake? - A. A data lakehouse stores data in open formats. - B. A data lakehouse allows the use of SQL queries to examine data. - C. A data lakehouse provides storage solutions for structured and unstructured data. - D. A data lakehouse supports ACID-compliant transactions. **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/142524-exam-certified-data-engineer-associate-topic-1-question-91/) **Suggested Answer:** *D* 90 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 90\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A new data engineering team team has been assigned to an ELT project. The new data engineering team will need full privileges on the table sales to fully manage the project.\ \ Which of the following commands can be used to grant full permissions on the database to the new data engineering team? - A. GRANT ALL PRIVILEGES ON TABLE sales TO team; **Most Voted** - B. GRANT SELECT CREATE MODIFY ON TABLE sales TO team; - C. GRANT SELECT ON TABLE sales TO team; - D. GRANT USAGE ON TABLE sales TO team; - E. GRANT ALL PRIVILEGES ON TABLE team TO sales; [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124373-exam-certified-data-engineer-associate-topic-1-question-90/) **Suggested Answer:** *A* 89 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 89\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer needs access to a table new\_table, but they do not have the correct permissions. They can ask the table owner for permission, but they do not know who the table owner is.\ \ Which of the following approaches can be used to identify the owner of new\_table? - A. Review the Permissions tab in the table\'s page in Data Explorer - B. All of these options can be used to identify the owner of the table - C. Review the Owner field in the table\'s page in Data Explorer **Most Voted** - D. Review the Owner field in the table\'s page in the cloud storage solution - E. There is no way to identify the owner of the table [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124362-exam-certified-data-engineer-associate-topic-1-question-89/) **Suggested Answer:** *C*  88 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 88\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer wants to schedule their Databricks SQL dashboard to refresh every hour, but they only want the associated SQL endpoint to be running when it is necessary. The dashboard has multiple queries on multiple datasets associated with it. The data that feeds the dashboard is automatically processed using a Databricks Job.\ \ 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? - A. They can turn on the Auto Stop feature for the SQL endpoint. **Most Voted** - B. They can ensure the dashboard\'s SQL endpoint is not one of the included query\'s SQL endpoint. - C. They can reduce the cluster size of the SQL endpoint. - D. They can ensure the dashboard\'s SQL endpoint matches each of the queries\' SQL endpoints. - E. They can set up the dashboard\'s SQL endpoint to be serverless. **Suggested Answer:** *A*  87 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 87\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer has been using a Databricks SQL dashboard to monitor the cleanliness of the input data to a data analytics dashboard for a retail use case. The job has a Databricks SQL query that returns the number of store-level records where sales is equal to zero. The data engineer wants their entire team to be notified via a messaging webhook whenever this value is greater than 0.\ \ Which of the following approaches can the data engineer use to notify their entire team via a messaging webhook whenever the number of stores with \$0 in sales is greater than zero? - A. They can set up an Alert with a custom template. - B. They can set up an Alert with a new email alert destination. - C. They can set up an Alert with one-time notifications. - D. They can set up an Alert with a new webhook alert destination. **Most Voted** - E. They can set up an Alert without notifications. [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124346-exam-certified-data-engineer-associate-topic-1-question-87/) **Suggested Answer:** *D* 86 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 86\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) In which of the following scenarios should a data engineer select a Task in the Depends On field of a new Databricks Job Task? - A. When another task needs to be replaced by the new task - B. When another task needs to fail before the new task begins - C. When another task has the same dependency libraries as the new task - D. When another task needs to use as little compute resources as possible - E. When another task needs to successfully complete before the new task begins **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124345-exam-certified-data-engineer-associate-topic-1-question-86/) **Suggested Answer:** *E* 84 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 84\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which of the following approaches should be used to send the Databricks Job owner an email in the case that the Job fails? - A. Manually programming in an alert system in each cell of the Notebook - B. Setting up an Alert in the Job page **Most Voted** - C. Setting up an Alert in the Notebook - D. There is no way to notify the Job owner in the case of Job failure - E. MLflow Model Registry Webhooks [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124312-exam-certified-data-engineer-associate-topic-1-question-84/) **Suggested Answer:** *B* 83 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 83\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer has a Job that has a complex run schedule, and they want to transfer that schedule to other Jobs.\ \ Rather than manually selecting each value in the scheduling form in Databricks, which of the following tools can the data engineer use to represent and submit the schedule programmatically? - A. pyspark.sql.types.DateType - B. datetime - C. pyspark.sql.types.TimestampType - D. Cron syntax **Most Voted** - E. There is no way to represent and submit this information programmatically [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124311-exam-certified-data-engineer-associate-topic-1-question-83/) **Suggested Answer:** *D* 82 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 82\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineering team has noticed that their Databricks SQL queries are running too slowly when they are submitted to a non-running SQL endpoint. The data engineering team wants this issue to be resolved.\ \ Which of the following approaches can the team use to reduce the time it takes to return results in this scenario? - A. They can turn on the Serverless feature for the SQL endpoint and change the Spot Instance Policy to \"Reliability Optimized.\" - B. They can turn on the Auto Stop feature for the SQL endpoint. - C. They can increase the cluster size of the SQL endpoint. - D. They can turn on the Serverless feature for the SQL endpoint. **Most Voted** - E. They can increase the maximum bound of the SQL endpoint\'s scaling range. [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124310-exam-certified-data-engineer-associate-topic-1-question-82/) **Suggested Answer:** *D* 81 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 81\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which of the following statements regarding the relationship between Silver tables and Bronze tables is always true? - A. Silver tables contain a less refined, less clean view of data than Bronze data. - B. Silver tables contain aggregates while Bronze data is unaggregated. - C. Silver tables contain more data than Bronze tables. - D. Silver tables contain a more refined and cleaner view of data than Bronze tables. **Most Voted** - E. Silver tables contain less data than Bronze tables. [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124309-exam-certified-data-engineer-associate-topic-1-question-81/) **Suggested Answer:** *D*  80 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 80\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A dataset has been defined using Delta Live Tables and includes an expectations clause:\ \ CONSTRAINT valid\_timestamp EXPECT (timestamp \> \'2020-01-01\') ON VIOLATION FAIL UPDATE\ \ What is the expected behavior when a batch of data containing data that violates these constraints is processed? - A. Records that violate the expectation are dropped from the target dataset and recorded as invalid in the event log. - B. Records that violate the expectation cause the job to fail. **Most Voted** - C. Records that violate the expectation are dropped from the target dataset and loaded into a quarantine table. - D. Records that violate the expectation are added to the target dataset and recorded as invalid in the event log. - E. Records that violate the expectation are added to the target dataset and flagged as invalid in a field added to the target dataset. [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124308-exam-certified-data-engineer-associate-topic-1-question-80/) **Suggested Answer:** *B* 79 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 79\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which of the following queries is performing a streaming hop from raw data to a Bronze table? - A. ![A screenshot of a computer code Description automatically generated](media/image10.png) - B. A white background with black text Description automatically generated - C. ![A white screen with black text Description automatically generated](media/image12.png) - D. A white background with black text Description automatically generated - E. ![A screenshot of a computer program Description automatically generated](media/image13.png) **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/125329-exam-certified-data-engineer-associate-topic-1-question-79/) **Suggested Answer:** *E* 78 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 78\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer is using the following code block as part of a batch ingestion pipeline to read from a composable table:\ \ A white background with black text Description automatically generated\ \ Which of the following changes needs to be made so this code block will work when the transactions table is a stream source? - A. Replace predict with a stream-friendly prediction function - B. Replace schema(schema) with option (\"maxFilesPerTrigger\", 1) - C. Replace \"transactions\" with the path to the location of the Delta table - D. Replace format(\"delta\") with format(\"stream\") - E. Replace spark.read with spark.readStream **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124307-exam-certified-data-engineer-associate-topic-1-question-78/) **Suggested Answer:** *E*  77 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 77\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) 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 of the following changes will need to be made to the pipeline when migrating to Delta Live Tables? - A. None of these changes will need to be made - B. The pipeline will need to stop using the medallion-based multi-hop architecture - C. The pipeline will need to be written entirely in SQL - D. The pipeline will need to use a batch source in place of a streaming source **Most Voted** - E. The pipeline will need to be written entirely in Python [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124306-exam-certified-data-engineer-associate-topic-1-question-77/) **Suggested Answer:** *D* 76 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 76\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which of the following describes the type of workloads that are always compatible with Auto Loader? - A. Streaming workloads **Most Voted** - B. Machine learning workloads - C. Serverless workloads - D. Batch workloads - E. Dashboard workloads [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124305-exam-certified-data-engineer-associate-topic-1-question-76/) **Suggested Answer:** *A*  75 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 75\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer has joined an existing project and they see the following query in the project repository:\ \ CREATE STREAMING LIVE TABLE loyal\_customers AS\ \ SELECT customer\_id -\ FROM STREAM(LIVE.customers)\ WHERE loyalty\_level = \'high\';\ \ Which of the following describes why the STREAM function is included in the query? - A. The STREAM function is not needed and will cause an error. - B. The table being created is a live table. - C. The customers table is a streaming live table. **Most Voted** - D. The customers table is a reference to a Structured Streaming query on a PySpark DataFrame. - E. The data in the customers table has been updated since its last run. [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124304-exam-certified-data-engineer-associate-topic-1-question-75/) **Suggested Answer:** *C* 74 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 74\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which of the following must be specified when creating a new Delta Live Tables pipeline? - A. A key-value pair configuration - B. The preferred DBU/hour cost - C. A path to cloud storage location for the written data - D. A location of a target database for the written data - E. At least one notebook library to be executed **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124135-exam-certified-data-engineer-associate-topic-1-question-74/) **Suggested Answer:** *E*  73 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 73\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which of the following data workloads will utilize a Gold table as its source? - A. A job that enriches data by parsing its timestamps into a human-readable format - B. A job that aggregates uncleaned data to create standard summary statistics - C. A job that cleans data by removing malformatted records - D. A job that queries aggregated data designed to feed into a dashboard **Most Voted** - E. A job that ingests raw data from a streaming source into the Lakehouse [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124301-exam-certified-data-engineer-associate-topic-1-question-73/) **Suggested Answer:** *D* 72 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 72\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) 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 Development 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? - A. All datasets will be updated once and the pipeline will shut down. The compute resources will be terminated. - B. All datasets will be updated at set intervals until the pipeline is shut down. The compute resources will persist until the pipeline is shut down. - C. All datasets will be updated once and the pipeline will persist without any processing. The compute resources will persist but go unused. - D. All datasets will be updated once and the pipeline will shut down. The compute resources will persist to allow for additional testing. - E. All datasets will be updated at set intervals until the pipeline is shut down. The compute resources will persist to allow for additional testing. **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124177-exam-certified-data-engineer-associate-topic-1-question-72/) **Suggested Answer:** *E* 71 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 71\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer has developed a data pipeline to ingest data from a JSON source using Auto Loader, but the engineer has not provided any type inference or schema hints in their pipeline. Upon reviewing the data, the data engineer has noticed that all of the columns in the target table are of the string type despite some of the fields only including float or boolean values.\ \ Which of the following describes why Auto Loader inferred all of the columns to be of the string type? - A. There was a type mismatch between the specific schema and the inferred schema - B. JSON data is a text-based format **Most Voted** - C. Auto Loader only works with string data - D. All of the fields had at least one null value - E. Auto Loader cannot infer the schema of ingested data [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124300-exam-certified-data-engineer-associate-topic-1-question-71/) **Suggested Answer:** *B* 70 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 70\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) 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 code block used by the data engineer is below:\ \ ![A screenshot of a computer program Description automatically generated](media/image34.png)\ \ If the data engineer only wants the query to process all of the available data in as many batches as required, which of the following lines of code should the data engineer use to fill in the blank? - A. processingTime(1) - B. trigger(availableNow=True) **Most Voted** - C. trigger(parallelBatch=True) - D. trigger(processingTime=\"once\") - E. trigger(continuous=\"once\") [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124299-exam-certified-data-engineer-associate-topic-1-question-70/) **Suggested Answer:** *B* 69 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 69\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer needs to create a table in Databricks using data from a CSV file at location /path/to/csv.\ \ They run the following command:\ \ A white background with black text Description automatically generated\ \ Which of the following lines of code fills in the above blank to successfully complete the task? - A. None of these lines of code are needed to successfully complete the task - B. USING CSV **Most Voted** - C. FROM CSV - D. USING DELTA - E. FROM \"path/to/csv\" [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124133-exam-certified-data-engineer-associate-topic-1-question-69/) **Suggested Answer:** *B* 68 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 68\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer is working with two tables. Each of these tables is displayed below in its entirety.\ \ ![A screenshot of a table Description automatically generated](media/image35.png)\ \ The data engineer runs the following query to join these tables together:\ \ A white background with black text Description automatically generated\ \ Which of the following will be returned by the above query? - A. ![A table with numbers and text Description automatically generated](media/image36.png) - B. A screenshot of a calculator Description automatically generated - C. ![A table with numbers and text Description automatically generated](media/image38.png)\ **Most Voted** - D. A table with numbers and a few words Description automatically generated with medium confidence - E. ![A table with numbers and a few words Description automatically generated with medium confidence](media/image40.png) [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124091-exam-certified-data-engineer-associate-topic-1-question-68/) **Suggested Answer:** *C* 67 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 67\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) In which of the following scenarios should a data engineer use the MERGE INTO command instead of the INSERT INTO command? - A. When the location of the data needs to be changed - B. When the target table is an external table - C. When the source table can be deleted - D. When the target table cannot contain duplicate records **Most Voted** - E. When the source is not a Delta table [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124298-exam-certified-data-engineer-associate-topic-1-question-67/) **Suggested Answer:** *D*  66 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 66\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer that is new to using Python needs to create a Python function to add two integers together and return the sum?\ \ Which of the following code blocks can the data engineer use to complete this task? - A.  - B. ![](media/image41.png) - C. A black and white text Description automatically generated - D. ![](media/image18.png)\ **Most Voted** - E.  [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124297-exam-certified-data-engineer-associate-topic-1-question-66/) **Suggested Answer:** *D* 65 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 65\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer is attempting to drop a Spark SQL table my\_table and runs the following command:\ \ DROP TABLE IF EXISTS my\_table;\ \ After running this command, the engineer notices that the data files and metadata files have been deleted from the file system.\ \ Which of the following describes why all of these files were deleted? - A. The table was managed **Most Voted** - B. The table\'s data was smaller than 10 GB - C. The table\'s data was larger than 10 GB - D. The table was external - E. The table did not have a location [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124296-exam-certified-data-engineer-associate-topic-1-question-65/) **Suggested Answer:** *A* 64 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 64\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer has created a new database using the following command:\ \ CREATE DATABASE IF NOT EXISTS customer360;\ \ In which of the following locations will the customer360 database be located? - A. dbfs:/user/hive/database/customer360 - B. dbfs:/user/hive/warehouse **Most Voted** - C. dbfs:/user/hive/customer360 - D. More information is needed to determine the correct response - E. dbfs:/user/hive/database [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124130-exam-certified-data-engineer-associate-topic-1-question-64/) **Suggested Answer:** *B* 63 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 63\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer has a Python variable table\_name that they would like to use in a SQL query. They want to construct a Python code block that will run the query using table\_name.\ \ They have the following incomplete code block:\ \ \_\_\_\_(f\"SELECT customer\_id, spend FROM {table\_name}\")\ \ Which of the following can be used to fill in the blank to successfully complete the task? - A. spark.delta.sql - B. spark.delta.table - C. spark.table - D. dbutils.sql - E. spark.sql **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124295-exam-certified-data-engineer-associate-topic-1-question-63/) **Suggested Answer:** *E* 62 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 62\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer needs to apply custom logic to identify employees with more than 5 years of experience in array column employees in table stores. The custom logic should create a new column exp\_employees that is an array of all of the employees with more than 5 years of experience for each row. In order to apply this custom logic at scale, the data engineer wants to use the FILTER higher-order function.\ \ Which of the following code blocks successfully completes this task? - A. ![A close-up of a computer code Description automatically generated](media/image19.png)\ **Most Voted** - B. A close-up of a text Description automatically generated - C. ![A white background with black text Description automatically generated](media/image21.png) - D. A white background with black text Description automatically generated - E. ![A close-up of a number Description automatically generated](media/image20.png) [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124294-exam-certified-data-engineer-associate-topic-1-question-62/) **Suggested Answer:** *A*  61 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 61\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which of the following commands will return the number of null values in the member\_id column? - A. SELECT count(member\_id) FROM my\_table; - B. SELECT count(member\_id) - count\_null(member\_id) FROM my\_table; - C. SELECT count\_if(member\_id IS NULL) FROM my\_table; **Most Voted** - D. SELECT null(member\_id) FROM my\_table; - E. SELECT count\_null(member\_id) FROM my\_table; [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124129-exam-certified-data-engineer-associate-topic-1-question-61/) **Suggested Answer:** *C* 60 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 60\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data analyst has developed a query that runs against Delta table. They want help from the data engineering team to implement a series of tests to ensure the data returned by the query is clean. However, the data engineering team uses Python for its tests rather than SQL.\ \ Which of the following operations could the data engineering team use to run the query and operate with the results in PySpark? - A. SELECT \* FROM sales - B. spark.delta.table - C. spark.sql **Most Voted** - D. There is no way to share data between PySpark and SQL. - E. spark.table [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124128-exam-certified-data-engineer-associate-topic-1-question-60/) **Suggested Answer:** *C* 59 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 59\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) 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? - A. Spark SQL Table - B. View - C. Database - D. Temporary view **Most Voted** - E. Delta Table [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124293-exam-certified-data-engineer-associate-topic-1-question-59/) **Suggested Answer:** *D* 58 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 58\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which of the following describes a benefit of creating an external table from Parquet rather than CSV when using a CREATE TABLE AS SELECT statement? - A. Parquet files can be partitioned - B. CREATE TABLE AS SELECT statements cannot be used on files - C. Parquet files have a well-defined schema **Most Voted** - D. Parquet files have the ability to be optimized - E. Parquet files will become Delta tables [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124209-exam-certified-data-engineer-associate-topic-1-question-58/) **Suggested Answer:** *C*  57 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 57\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which of the following SQL keywords can be used to convert a table from a long format to a wide format? - A. TRANSFORM - B. PIVOT **Most Voted** - C. SUM - D. CONVERT - E. WHERE [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124289-exam-certified-data-engineer-associate-topic-1-question-57/) **Suggested Answer:** *B* 56 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 56\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer has a Python notebook in Databricks, but they need to use SQL to accomplish a specific task within a cell. They still want all of the other cells to use Python without making any changes to those cells.\ \ Which of the following describes how the data engineer can use SQL within a cell of their Python notebook? - A. It is not possible to use SQL in a Python notebook - B. They can attach the cell to a SQL endpoint rather than a Databricks cluster - C. They can simply write SQL syntax in the cell - D. They can add %sql to the first line of the cell **Most Voted** - E. They can change the default language of the notebook to SQL [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124290-exam-certified-data-engineer-associate-topic-1-question-56/) **Suggested Answer:** *D*  55 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 55\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data architect has determined that a table of the following format is necessary:\ \ A close-up of a calendar Description automatically generated\ \ Which of the following code blocks uses SQL DDL commands to create an empty Delta table in the above format regardless of whether a table already exists with this name? - A. ![A close-up of a computer screen Description automatically generated](media/image44.png) - B. A white background with black text Description automatically generated - C. ![A close-up of a table Description automatically generated](media/image46.png) - D. A close-up of a computer screen Description automatically generated - E. ![A close-up of a computer code Description automatically generated](media/image48.png) **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124291-exam-certified-data-engineer-associate-topic-1-question-55/) **Suggested Answer:** *E*  54 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 54\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which of the following can be used to simplify and unify siloed data architectures that are specialized for specific use cases? - A. None of these - B. Data lake - C. Data warehouse - D. All of these - E. Data lakehouse **Most Voted** [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124127-exam-certified-data-engineer-associate-topic-1-question-54/) **Suggested Answer:** *E* 53 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 53\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Which of the following is stored in the Databricks customer\'s cloud account? - A. Databricks web application - B. Cluster management metadata - C. Repos - D. Data **Most Voted** - E. Notebooks [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124286-exam-certified-data-engineer-associate-topic-1-question-53/) **Suggested Answer:** *D*  52 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 52\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) In which of the following file formats is data from Delta Lake tables primarily stored? - A. Delta - B. CSV - C. Parquet **Most Voted** - D. JSON - E. A proprietary, optimized format specific to Databricks [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124287-exam-certified-data-engineer-associate-topic-1-question-52/) **Suggested Answer:** *C* 51 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 51\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer has realized that the data files associated with a Delta table are incredibly small. They want to compact the small files to form larger files to improve performance.\ \ Which of the following keywords can be used to compact the small files? - A. REDUCE - B. OPTIMIZE **Most Voted** - C. COMPACTION - D. REPARTITION - E. VACUUM [Hide Answer](https://www.examtopics.com/discussions/databricks/view/124126-exam-certified-data-engineer-associate-topic-1-question-51/) **Suggested Answer:** *B* 50 Actual exam question from Databricks\'s [Certified Data Engineer Associate](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) Question \#: 50\ Topic \#: 1 [\[All Certified Data Engineer Associate Questions\]](https://www.examtopics.com/exams/databricks/certified-data-engineer-associate/) A data engineer has been given a new record of data:\ \ id STRING = \'a1\'\ rank INTEGER = 6\ rating F

Use Quizgecko on...
Browser
Browser