Welcome to awslagi.com – Sharing AWS, Anthropic, Google Cloud, Microsoft Azure IT Exams. It's free for all!

Certified Data Engineer Associate

Practice questions for the Certified Data Engineer Associate certification exam.

4.5★★★★★(303 ratings)
16,045 studentsIntermediate
This course covers everything you need to pass the Certified Data Engineer Associate (CERTIFIED-DATA-ENGINEER-ASSOCIATE) exam. Each part of this course contains real exam questions taken from the actual exam pool, with hint answers to guide your study. Practice with these questions to build confidence and master the topics needed for certification success.

What you'll learn

  • Master the core concepts for CERTIFIED-DATA-ENGINEER-ASSOCIATE certification
  • Practice with real exam-style questions
  • Understand platform services and architectures covered in CERTIFIED-DATA-ENGINEER-ASSOCIATE
  • Build confidence through timed practice exams
  • Learn from detailed hint answers and explanations
  • Pass the official CERTIFIED-DATA-ENGINEER-ASSOCIATE certification exam on your first try

CERTIFIED-DATA-ENGINEER-ASSOCIATE

Lectures2
Questions91
Duration30 week
Students16,045

$20.00

Full Free Question Bank (91 Questions)

Certified Data Engineer Associate (CERTIFIED-DATA-ENGINEER-ASSOCIATE) Practice Questions & Verified Answers

Click any option to test your knowledge, or reveal the verified answer and detailed explanation below each question.

Jump to Section:
Question #1Part 1

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?

Adbfs:/user/hive/database/customer360
Bdbfs:/user/hive/warehouse
Cdbfs:/user/hive/customer360
DMore information is needed to determine the correct response
Edbfs:/user/hive/database
Question #2Part 1

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: 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?

AprocessingTime(1)
Btrigger(availableNow=True)
Ctrigger(parallelBatch=True)
Dtrigger(processingTime="once")
Etrigger(continuous="once")
Question #3Part 1

Which of the following describes the relationship between Gold tables and Silver tables?

AGold tables are more likely to contain aggregations than Silver tables.
BGold tables are more likely to contain valuable data than Silver tables.
CGold tables are more likely to contain a less refined view of data than Silver tables.
DGold tables are more likely to contain more data than Silver tables.
EGold tables are more likely to contain truthful data than Silver tables.
Question #4Part 1

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 of the following commands could the data engineering team use to access sales in PySpark?

ASELECT * FROM sales
BThere is no way to share data between PySpark and SQL.
Cspark.sql("sales")D. spark.delta.table("sales")
Espark.table("sales")
Question #5Part 1

A data engineer has left the organization. The data team needs to transfer ownership of the data engineer’s Delta tables to a new data engineer. The new data engineer is the lead engineer on the data team. Assuming the original data engineer no longer has access, which of the following individuals must be the one to transfer ownership of the Delta tables in Data Explorer?

ADatabricks account representative
BThis transfer is not possible
CWorkspace administrator
DNew lead data engineer
EOriginal data engineer
Question #6Part 1

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?

AAuto Loader cannot infer the schema of ingested data
BJSON data is a text-based format
CAuto Loader only works with string data
DAll of the fields had at least one null value
Question #7Part 1

A data engineer needs to create a table in Databricks using data from their organization’s existing SQLite database. They run the following command: Which of the following lines of code fills in the above blank to successfully complete the task?

Aorg.apache.spark.sql.jdbc
Bautoloader
CDELTA
Dsqlite
Eorg.apache.spark.sql.sqlite
Question #8Part 1

Which of the following benefits is provided by the array functions from Spark SQL?

AAn ability to work with data in a variety of types at once
BAn ability to work with data within certain partitions and windows
CAn ability to work with time-related data in specified intervals
DAn ability to work with complex, nested data ingested from JSON files
EAn ability to work with an array of tables for procedural automation
Question #9Part 1

Which of the following data lakehouse features results in improved data quality over a traditional data lake?

AA data lakehouse provides storage solutions for structured and unstructured data.
BA data lakehouse supports ACID-compliant transactions.
CA data lakehouse allows the use of SQL queries to examine data.
DA data lakehouse stores data in open formats.
EA data lakehouse enables machine learning and artificial Intelligence workloads.
Question #10Part 1

A data engineer has realized that they made a mistake when making a daily update to a table. They need to use Delta time travel to restore the table to a version that is 3 days old. However, when the data engineer attempts to time travel to the older version, they are unable to restore the data because the data files have been deleted. Which of the following explains why the data files are no longer present?

AThe VACUUM command was run on the table
BThe TIME TRAVEL command was run on the table
CThe DELETE HISTORY command was run on the table
DThe OPTIMIZE command was nun on the table
EThe HISTORY command was run on the table
Question #11Part 1

Which of the following is hosted completely in the control plane of the classic Databricks architecture?

AWorker node
BJDBC data source
CDatabricks web application
DDatabricks Filesystem
EDriver node
Question #12Part 1

Which of the following queries is performing a streaming hop from raw data to a Bronze table?

AB.
CD.
Question #13Part 1

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?

AParquet files can be partitioned
BCREATE TABLE AS SELECT statements cannot be used on files
CParquet files have a well-defined schema
DParquet files have the ability to be optimized
EParquet files will become Delta tables
Question #14Part 1

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?

AB.
CD.
Question #15Part 1

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?

AThe table was managed
BThe table's data was smaller than 10 GB
CThe table did not have a location
DThe table was external
Question #16Part 1

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?

AAll datasets will be updated once and the pipeline will shut down. The compute resources will
BAll datasets will be updated at set intervals until the pipeline is shut down. The compute
CAll datasets will be updated once and the pipeline will persist without any processing. The
DAll datasets will be updated once and the pipeline will shut down. The compute resources will
EAll datasets will be updated at set intervals until the pipeline is shut down. The compute
Question #17Part 1

An engineering manager wants to monitor the performance of a recent project using a Databricks SQL query. For the first week following the project’s release, the manager wants the query results to be updated every minute. However, the manager is concerned that the compute resources used for the query will be left running and cost the organization a lot of money beyond the first week of the project’s release. Which of the following approaches can the engineering team use to ensure the query does not cost the organization any money beyond the first week of the project’s release?

AThey can set a limit to the number of DBUs that are consumed by the SQL Endpoint.
BThey can set the query’s refresh schedule to end after a certain number of refreshes.
CThey cannot ensure the query does not cost the organization money beyond the first week of
DThey can set a limit to the number of individuals that are able to manage the query’s refresh
EThey can set the query’s refresh schedule to end on a certain date in the query scheduler.
Question #18Part 1

A data engineer has three tables in a Delta Live Tables (DLT) pipeline. They have configured the pipeline to drop invalid records at each table. They notice that some data is being dropped due to quality concerns at some point in the DLT pipeline. They would like to determine at which table in their pipeline the data is being dropped. Which of the following approaches can the data engineer take to identify the table that is dropping the records?

AThey can set up separate expectations for each table when developing their DLT pipeline.
BThey cannot determine which table is dropping the records.
CThey can set up DLT to notify them via email when records are dropped.
DThey can navigate to the DLT pipeline page, click on each table, and view the data quality
EThey can navigate to the DLT pipeline page, click on the “Error” button, and review the
Question #19Part 1

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?

ARecords that violate the expectation are dropped from the target dataset and loaded into a
BRecords that violate the expectation are added to the target dataset and flagged as invalid in
CRecords that violate the expectation are dropped from the target dataset and recorded as
DRecords that violate the expectation are added to the target dataset and recorded as invalid
ERecords that violate the expectation cause the job to fail.
Question #20Part 1

In order for Structured Streaming to reliably track the exact progress of the processing so that it can handle any kind of failure by restarting and/or reprocessing, which of the following two approaches is used by Spark to record the offset range of the data being processed in each trigger?

ACheckpointing and Write-ahead Logs
BStructured Streaming cannot record the offset range of the data being processed in each
CReplayable Sources and Idempotent Sinks
DWrite-ahead Logs and Idempotent Sinks
ECheckpointing and Idempotent Sinks
Question #21Part 1

A Delta Live Table pipeline includes two datasets defined using STREAMING LIVE TABLE. Three datasets are defined against Delta Lake table sources using LIVE TABLE. The table is configured to run in Production mode using the Continuous Pipeline Mode. Assuming previously unprocessed data exists and all definitions are valid, what is the expected outcome after clicking Start to update the pipeline?

AAll datasets will be updated at set intervals until the pipeline is shut down. The compute
BAll datasets will be updated once and the pipeline will persist without any processing. The
CAll datasets will be updated at set intervals until the pipeline is shut down. The compute
DAll datasets will be updated once and the pipeline will shut down. The compute resources will
EAll datasets will be updated once and the pipeline will shut down. The compute resources will
Question #22Part 1

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?

ADatabase
BFunction
CView
DTemporary view
ETable
Question #23Part 1

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?

Aif day_of_week = 1 and review_period:
Bif day_of_week = 1 and review_period = "True":
Cif day_of_week == 1 and review_period == "True":
Dif day_of_week == 1 and review_period:
Eif day_of_week = 1 & review_period: = "True":
Question #24Part 1

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?

AB.
CD.
Question #25Part 1

A data engineer wants to create a new table containing the names of customers that live in France. They have written the following command: A senior data engineer mentions that it is organization policy to include a table property indicating that the new table includes personally identifiable information (PII). Which of the following lines of code fills in the above blank to successfully complete the task?

AThere is no way to indicate whether a table contains PII.
B"COMMENT PII"
CTBLPROPERTIES PII
DCOMMENT "Contains PII"
EPII
Question #26Part 1

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?

ATable
BFunction
CView
DTemporary view
Question #27Part 1

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?

ARecords that violate the expectation cause the job to fail.
BRecords that violate the expectation are added to the target dataset and flagged as invalid in
CRecords that violate the expectation are dropped from the target dataset and recorded as
DRecords that violate the expectation are added to the target dataset and recorded as invalid
Question #28Part 1

Which statement regarding the relationship between Silver tables and Bronze tables is always true?

ASilver tables contain a less refined, less clean view of data than Bronze data.
BSilver tables contain aggregates while Bronze data is unaggregated.
CSilver tables contain more data than Bronze tables.
DSilver tables contain less data than Bronze tables.
Question #29Part 1

A data engineer is working with two tables. Each of these tables is displayed below in its entirety. The data engineer runs the following query to join these tables together: Which of the following will be returned by the above query?

AB.
CD.
Question #30Part 1

A data engineer is working with two tables. Each of these tables is displayed below in its entirety. The data engineer runs the following query to join these tables together:

AB.
CD.
Question #31Part 1

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?

ANone of these changes will need to be made
BThe pipeline will need to stop using the medallion-based multi-hop architecture
CThe pipeline will need to be written entirely in SQL
DThe pipeline will need to use a batch source in place of a streaming source
EThe pipeline will need to be written entirely in Python
Question #32Part 1

A new data engineering team has been assigned to work on a project. The team will need access to database customers in order to see what tables already exist. The team has its own group team. Which of the following commands can be used to grant the necessary permission on the entire database to the new team?

AGRANT VIEW ON CATALOG customers TO team;
BGRANT CREATE ON DATABASE customers TO team;
CGRANT USAGE ON CATALOG team TO customers;
DGRANT CREATE ON DATABASE team TO customers;
EGRANT USAGE ON DATABASE customers TO team;
Question #33Part 1

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 keyword can be used to compact the small files?

AOPTIMIZE
BVACUUM
CCOMPACTION
DREPARTITION
Question #34Part 1

Which data lakehouse feature results in improved data quality over a traditional data lake?

AA data lakehouse stores data in open formats.
BA data lakehouse allows the use of SQL queries to examine data.
CA data lakehouse provides storage solutions for structured and unstructured data.
DA data lakehouse supports ACID-compliant transactions.
Question #35Part 1

Which of the following must be specified when creating a new Delta Live Tables pipeline?

AA key-value pair configuration
BThe preferred DBU/hour cost
CA path to cloud storage location for the written data
DA location of a target database for the written data
EAt least one notebook library to be executed
Question #36Part 1

Which of the following code blocks will remove the rows where the value in column age is greater than 25 from the existing Delta table my_table and save the updated table?

ASELECT * FROM my_table WHERE age > 25;
BUPDATE my_table WHERE age > 25;
CDELETE FROM my_table WHERE age > 25;
DUPDATE my_table WHERE age <= 25;
EDELETE FROM my_table WHERE age <= 25;
Question #37Part 1

Which of the following describes the storage organization of a Delta table?

ADelta tables are stored in a single file that contains data, history, metadata, and other
BDelta tables store their data in a single file and all metadata in a collection of files in a
CDelta tables are stored in a collection of files that contain data, history, metadata, and other
DDelta tables are stored in a collection of files that contain only the data stored within the
EDelta tables are stored in a single file that contains only the data stored within the table.
Question #38Part 1

Which of the following benefits of using the Databricks Lakehouse Platform is provided by Delta Lake?

AThe ability to manipulate the same data using a variety of languages
BThe ability to collaborate in real time on a single notebook
CThe ability to set up alerts for query failures
DThe ability to support batch and streaming workloads
EThe ability to distribute complex data operations
Question #39Part 1

Which of the following describes a scenario in which a data team will want to utilize cluster pools?

AAn automated report needs to be refreshed as quickly as possible.
BAn automated report needs to be made reproducible.
CAn automated report needs to be tested to identify errors.
DAn automated report needs to be version-controlled across multiple collaborators.
EAn automated report needs to be runnable by all stakeholders.
Question #40Part 1

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?

ABoth teams would autoscale their work as data size evolves
BBoth teams would use the same source of truth for their work
CBoth teams would reorganize to report to the same department
DBoth teams would be able to collaborate on projects in real-time
EBoth teams would respond more quickly to ad-hoc requests
Question #41Part 1

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?

AThey can clone the existing task in the existing Job and update it to run the new notebook.
BThey can create a new task in the existing Job and then add it as a dependency of the
CThey can create a new task in the existing Job and then add the original task as a
DThey can create a new job from scratch and add both tasks to run concurrently.
Question #42Part 1

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?

AGRANT ALL PRIVILEGES ON TABLE sales TO team;
BGRANT SELECT CREATE MODIFY ON TABLE sales TO team;
CGRANT SELECT ON TABLE sales TO team;
DGRANT USAGE ON TABLE sales TO team;
EGRANT ALL PRIVILEGES ON TABLE team TO sales;
Question #43Part 1

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?

AThey can turn on the Auto Stop feature for the SQL endpoint.
BThey can ensure the dashboard's SQL endpoint is not one of the included query's SQL
CThey can reduce the cluster size of the SQL endpoint.
DThey can ensure the dashboard's SQL endpoint matches each of the queries' SQL
EThey can set up the dashboard's SQL endpoint to be serverless.
Question #44Part 1

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

AThey could submit a feature request with Databricks to add this functionality.
BThey could wrap the queries using PySpark and use Python’s control flow system to
CThey could only run the entire program on Sundays.
DThey could automatically restrict access to the source table in the final query so that it is only
EThey could redesign the data model to separate the data used in the final query into a new
Question #45Part 1

What is a benefit of creating an external table from Parquet rather than CSV when using a CREATE TABLE AS SELECT statement?

AParquet files can be partitioned
BParquet files will become Delta tables
CParquet files have a well-defined schema
DParquet files have the ability to be optimized
Question #46Part 1

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?

Adbfs:/user/hive/database/customer360
Bdbfs:/user/hive/warehouse
Cdbfs:/user/hive/customer360
Ddbfs:/user/hive/database
Question #47Part 1

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?

ASELECT * FROM sales
Bspark.table("sales")
Cspark.sql("sales")
Dspark.delta.table("sales")
Question #48Part 1

A data engineer runs a statement every day to copy the previous day’s sales into the table transactions. Each day’s sales are in their own file in the location "/transactions/raw". Today, the data engineer runs the following command to complete this task: After running the command today, the data engineer notices that the number of records in table transactions has not changed. What explains why the statement might not have copied any new records into the table?

AThe format of the files to be copied were not included with the FORMAT_OPTIONS keyword.
BThe COPY INTO statement requires the table to be refreshed to view the copied rows.
CThe previous day’s file has already been copied into the table.
DThe PARQUET file format does not support COPY INTO.
Question #49Part 1

Which command can be used to write data into a Delta table while avoiding the writing of duplicate records?

ADROP
BINSERT
CMERGE
DAPPEND
Question #50Part 1

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?

AINSERT INTO my_table VALUES ('a1', 6, 9.4)
BINSERT VALUES ('a1', 6, 9.4) INTO my_table
CUPDATE my_table VALUES ('a1', 6, 9.4)
DUPDATE VALUES ('a1', 6, 9.4) my_table
Question #51Part 1

A data architect has determined that a table of the following format is necessary: 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?

ACREATE OR REPLACE TABLE table_name ( employeeId STRING, startDate DATE,
BCREATE OR REPLACE TABLE table_name WITH COLUMNS ( employeeId STRING,
CCREATE TABLE IF NOT EXISTS table_name ( employeeId STRING, startDate DATE,
DCREATE TABLE table_name AS SELECT employeeId STRING, startDate DATE, avgRating
Question #52Part 1

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?

AClone
BPull
CMerge
DPush
Question #53Part 1

In which scenario will a data team want to utilize cluster pools?

AAn automated report needs to be version-controlled across multiple collaborators.
BAn automated report needs to be runnable by all stakeholders.
CAn automated report needs to be refreshed as quickly as possible.
DAn automated report needs to be made reproducible.
Question #54Part 1

Which file format is used for storing Delta Lake Table?

ACSV
BParquet
CJSON
DDelta
Question #55Part 1

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?

AThe STREAM function is not needed and will cause an error.
BThe table being created is a live table.
CThe customers table is a streaming live table.
DThe customers table is a reference to a Structured Streaming query on a PySpark
EThe data in the customers table has been updated since its last run.
Question #56Part 1

A data engineer has a single-task Job that runs each morning before they begin working. After identifying an upstream data issue, they need to set up another task to run a new notebook prior to the original task. Which of the following approaches can the data engineer use to set up the new task?

AThey can clone the existing task in the existing Job and update it to run the new notebook.
BThey can create a new task in the existing Job and then add it as a dependency of the
CThey can create a new task in the existing Job and then add the original task as a
DThey can create a new job from scratch and add both tasks to run concurrently.
EThey can clone the existing task to a new Job and then edit it to run the new notebook.
Question #57Part 1

Which of the following commands can be used to write data into a Delta table while avoiding the writing of duplicate records?

ADROP
BIGNORE
CMERGE
DAPPEND
EINSERT
Question #58Part 1

Which of the following statements regarding the relationship between Silver tables and Bronze tables is always true?

ASilver tables contain a less refined, less clean view of data than Bronze data.
BSilver tables contain aggregates while Bronze data is unaggregated.
CSilver tables contain more data than Bronze tables.
DSilver tables contain a more refined and cleaner view of data than Bronze tables.
ESilver tables contain less data than Bronze tables.
Question #59Part 1

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?

ARecords that violate the expectation are dropped from the target dataset and recorded as
BRecords that violate the expectation cause the job to fail.
CRecords that violate the expectation are dropped from the target dataset and loaded into a
DRecords that violate the expectation are added to the target dataset and recorded as invalid
ERecords that violate the expectation are added to the target dataset and flagged as invalid in
Question #60Part 1

A data engineer is using the following code block as part of a batch ingestion pipeline to read from a composable table: Which of the following changes needs to be made so this code block will work when the transactions table is a stream source?

AReplace predict with a stream-friendly prediction function
BReplace schema(schema) with option ("maxFilesPerTrigger", 1)
CReplace "transactions" with the path to the location of the Delta table
DReplace format("delta") with format("stream")
EReplace spark.read with spark.readStream
Question #61Part 2

Which of the following describes the type of workloads that are always compatible with Auto Loader?

AStreaming workloads
BMachine learning workloads
CServerless workloads
DBatch workloads
EDashboard workloads
Question #62Part 2

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?

AThe table was managed
BThe table's data was smaller than 10 GB
CThe table's data was larger than 10 GB
DThe table was external
EThe table did not have a location
Question #63Part 2

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?

Aspark.delta.sql
Bspark.delta.table
Cspark.table
Ddbutils.sql
Espark.sql
Question #64Part 2

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?

AB.
CD.
Question #65Part 2

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?

ASELECT * FROM sales
Bspark.delta.table
Cspark.sql
DThere is no way to share data between PySpark and SQL.
Espark.table
Question #66Part 2

Which of the following commands will return the number of null values in the member_id column?

ASELECT count(member_id) FROM my_table;
BSELECT count(member_id) - count_null(member_id) FROM my_table;
CSELECT count_if(member_id IS NULL) FROM my_table;
DSELECT null(member_id) FROM my_table;
ESELECT count_null(member_id) FROM my_table;
Question #67Part 2

Which of the following SQL keywords can be used to convert a table from a long format to a wide format?

ATRANSFORM
BPIVOT
CSUM
DCONVERT
EWHERE
Question #68Part 2

A data architect has determined that a table of the following format is necessary: 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?

AB.
CD.
Question #69Part 2

Which of the following can be used to simplify and unify siloed data architectures that are specialized for specific use cases?

ANone of these
BData lake
CData warehouse
DAll of these
EData lakehouse
Question #70Part 2

Which of the following is stored in the Databricks customer's cloud account?

ADatabricks web application
BCluster management metadata
CRepos
DData
ENotebooks
Question #71Part 2

In which of the following file formats is data from Delta Lake tables primarily stored?

ADelta
BCSV
CParquet
DJSON
EA proprietary, optimized format specific to Databricks
Question #72Part 2

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?

AREDUCE
BOPTIMIZE
CCOMPACTION
DREPARTITION
EVACUUM
Question #73Part 2

A data engineer has been given a new record of data: id STRING = 'a1' rank INTEGER = 6 rating FLOAT = 9.4 Which of the following SQL commands can be used to append the new record to an existing Delta table my_table?

AINSERT INTO my_table VALUES ('a1', 6, 9.4)
Bmy_table UNION VALUES ('a1', 6, 9.4)
CINSERT VALUES ( 'a1' , 6, 9.4) INTO my_table
DUPDATE my_table VALUES ('a1', 6, 9.4)
EUPDATE VALUES ('a1', 6, 9.4) my_table
Question #74Part 2

Which of the following describes a scenario in which a data engineer will want to use a single-node cluster?

AWhen they are working interactively with a small amount of data
BWhen they are running automated reports to be refreshed as quickly as possible
CWhen they are working with SQL within Databricks SQL
DWhen they are concerned about the ability to automatically scale with larger data
EWhen they are manually running reports with a large amount of data
Question #75Part 2

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 of the following locations can the data engineer review their permissions on the table?

ADatabricks Filesystem
BJobs
CDashboards
DRepos
EData Explorer
Question #76Part 2

Which of the following is a benefit of the Databricks Lakehouse Platform embracing open source technologies?

ACloud-specific integrations
BSimplified governance
CAbility to scale storage
DAbility to scale workloads
EAvoiding vendor lock-in
Question #77Part 2

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 of the following Git operations does the data engineer need to run to accomplish this task?

AMerge
BPush
CPull
DCommit
EClone
Question #78Part 2

A new data engineering team team. has been assigned to an ELT project. The new data engineering team will need full privileges on the database customers 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?

AGRANT USAGE ON DATABASE customers TO team;
BGRANT ALL PRIVILEGES ON DATABASE team TO customers;
CGRANT SELECT PRIVILEGES ON DATABASE customers TO teams;
DGRANT SELECT CREATE MODIFY USAGE PRIVILEGES ON DATABASE customers TO
EGRANT ALL PRIVILEGES ON DATABASE customers TO team;
Question #79Part 2

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 of the following actions can the data engineer perform to improve the start up time for the clusters used for the Job?

AThey can use endpoints available in Databricks SQL
BThey can use jobs clusters instead of all-purpose clusters
CThey can configure the clusters to be single-node
DThey can use clusters that are from a cluster pool
EThey can configure the clusters to autoscale for larger data sizes
Question #80Part 2

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 of the following approaches can the tech lead use to identify why the notebook is running slowly as part of the Job?

AThey can navigate to the Runs tab in the Jobs UI to immediately review the processing
BThey can navigate to the Tasks tab in the Jobs UI and click on the active run to review the
CThey can navigate to the Runs tab in the Jobs UI and click on the active run to review the
DThere is no way to determine why a Job task is running slowly.
EThey can navigate to the Tasks tab in the Jobs UI to immediately review the processing
Question #81Part 2

A data analysis team has noticed that their Databricks SQL queries are running too slowly when connected to their always-on SQL endpoint. They claim that this issue is present when many members of the team are running small queries simultaneously. They ask the data engineering team for help. The data engineering team notices that each of the team’s queries uses the same SQL endpoint. Which of the following approaches can the data engineering team use to improve the latency of the team’s queries?

AThey can increase the cluster size of the SQL endpoint.
BThey can increase the maximum bound of the SQL endpoint’s scaling range.
CThey can turn on the Auto Stop feature for the SQL endpoint.
DThey can turn on the Serverless feature for the SQL endpoint.
EThey can turn on the Serverless feature for the SQL endpoint and change the Spot Instance
Question #82Part 2

Which of the following Structured Streaming queries is performing a hop from a Silver table to a Gold table?

AB.
CD.
Question #83Part 2

A data engineer is designing a data pipeline. The source system generates files in a shared directory that is also used by other processes. As a result, the files should be kept as is and will accumulate in the directory. The data engineer needs to identify which files are new since the previous run in the pipeline, and set up the pipeline to only ingest those new files with each run. Which of the following tools can the data engineer use to solve this problem?

AUnity Catalog
BDelta Lake
CDatabricks SQL
DData Explorer
EAuto Loader
Question #84Part 2

A data engineer has configured a Structured Streaming job to read from a table, manipulate the data, and then perform a streaming write into a new table. The cade block used by the data engineer is below: If the data engineer only wants the query to execute a micro-batch to process data every 5 seconds, which of the following lines of code should the data engineer use to fill in the blank?

Atrigger("5 seconds")
Btrigger()
Ctrigger(once="5 seconds")
Dtrigger(processingTime="5 seconds")
Etrigger(continuous="5 seconds")
Question #85Part 2

Which of the following tools is used by Auto Loader process data incrementally?

ACheckpointing
BSpark Structured Streaming
CData Explorer
DUnity Catalog
EDatabricks SQL
Question #86Part 2

Which of the following describes the relationship between Bronze tables and raw data?

ABronze tables contain less data than raw data files.
BBronze tables contain more truthful data than raw data.
CBronze tables contain aggregates while raw data is unaggregated.
DBronze tables contain a less refined view of data than raw data.
EBronze tables contain raw data with a schema applied.
Question #87Part 2

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?

AUnity Catalog
BData Explorer
CDelta Lake
DDelta Live Tables
EAuto Loader
Question #88Part 2

Which of the following commands will return the location of database customer360?

ADESCRIBE LOCATION customer360;
BDROP DATABASE customer360;
CDESCRIBE DATABASE customer360;
DALTER DATABASE customer360 SET DBPROPERTIES ('location' = '/user'};
EUSE DATABASE customer360;
Question #89Part 2

A data engineer needs to determine whether to use the built-in Databricks Notebooks versioning or version their project using Databricks Repos. Which of the following is an advantage of using Databricks Repos over the Databricks Notebooks versioning?

ADatabricks Repos automatically saves development progress
BDatabricks Repos supports the use of multiple branches
CDatabricks Repos allows users to revert to previous versions of a notebook
DDatabricks Repos provides the ability to comment on specific changes
EDatabricks Repos is wholly housed within the Databricks Lakehouse Platform
Question #90Part 2

Which of the following Git operations must be performed outside of Databricks Repos?

ACommit
BPull
CPush
DClone
EMerge
Question #91Part 2

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: Which of the following lines of code fills in the above blank to successfully complete the task?

ANone of these lines of code are needed to successfully complete the task
BUSING CSV
CFROM CSV
DUSING DELTA
EFROM "path/to/csv"

📢 Unlock Full Access to Success!

"The content displayed here is a promotional preview and contains only 50% of the actual exam database. To access the complete set of updated questions, please upgrade to the Full Version."

👉 Click the button and follow the instructions to secure your full access immediately!