Summer Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

ExamsBrite Dumps

Databricks Certified Data Engineer Associate Exam Question and Answers

Databricks Certified Data Engineer Associate Exam

Last Update Jul 26, 2026
Total Questions : 230

We are offering FREE Databricks-Certified-Data-Engineer-Associate Databricks exam questions. All you do is to just go and sign up. Give your details, prepare Databricks-Certified-Data-Engineer-Associate free exam questions and then go for complete pool of Databricks Certified Data Engineer Associate Exam test questions that will help you more.

Databricks-Certified-Data-Engineer-Associate pdf

Databricks-Certified-Data-Engineer-Associate PDF

$36.75  $104.99
Databricks-Certified-Data-Engineer-Associate Engine

Databricks-Certified-Data-Engineer-Associate Testing Engine

$43.75  $124.99
Databricks-Certified-Data-Engineer-Associate PDF + Engine

Databricks-Certified-Data-Engineer-Associate PDF + Testing Engine

$57.75  $164.99
Questions 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?

Options:

A.  

They can set up separate expectations for each table when developing their DLT pipeline.

B.  

They cannot determine which table is dropping the records.

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.

E.  

They can navigate to the DLT pipeline page, click on the “Error” button, and review the present errors.

Discussion 0
Questions 2

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

Options:

A.  

Cloud-specific integrations

B.  

Simplified governance

C.  

Ability to scale storage

D.  

Ability to scale workloads

E.  

Avoiding vendor lock-in

Discussion 0
Questions 3

A data engineer needs to enforce row-level security on main.secure.events(region STRING, event_id STRING). Members of the account group all_regions must see all rows. All other users must see only rows where region = ' EU ' .

Which SQL sequence satisfies the requirement?

Options:

A.  

CREATE FUNCTION main.secure.region_filter(region STRING)

RETURN IF(is_account_group_member( ' all_regions ' ), true, region = ' EU ' );

ALTER TABLE main.secure.events

SET ROW FILTER main.secure.region_filter ON (region);

B.  

CREATE FUNCTION main.secure.region_filter(region STRING)

RETURN IF(is_account_group_member( ' all_regions ' ), true, region = ' EU ' );

ALTER TABLE main.secure.events

ALTER COLUMN region

SET MASK main.secure.region_filter;

C.  

CREATE FUNCTION main.secure.region_filter(region STRING)

RETURN IF(is_account_group_member( ' all_regions ' ), true, region = ' EU ' );

ALTER VIEW main.secure.events

SET ROW FILTER main.secure.region_filter ON (region);

D.  

CREATE FUNCTION main.secure.region_filter(region STRING)

RETURN IF(is_account_group_member( ' all_regions ' ), true, region = ' EU ' );

ALTER TABLE main.secure.events

SET ROW FILTER main.secure.region_filter USING COLUMNS (region);

Discussion 0
Questions 4

Which Databricks Asset Bundle format is valid?

Options:

A.  

resources:

jobs:

hello-job:

name: hello-job

tasks:

- task_key: hello-task

existing_cluster_id: 1234-567890-abcde123

notebook_task:

notebook_path: ./hello.py

B.  

{

" resources " : {

" jobs " : {

" name " : " hello-job " ,

" tasks " : {

" task_key " : " hello-task " ,

" existing_cluster_id " : " 1234-567890-abcde123 " ,

" notebook_task " : {

" notebook_path " : " ./hello.py "

}

}

}

}

}

C.  

configuration = {

" resources " : {

" jobs " : {

" name " : " hello-job " ,

" tasks " : {

" task_key " : " hello-task " ,

" existing_cluster_id " : " 1234-567890-abcde123 " ,

" notebook_task " : {

" notebook_path " : " ./hello.py "

}

}

}

}

}

D.  

resources {

jobs {

name = " hello-job "

tasks {

task_key = " hello-task "

existing_cluster_id = " 1234-567890-abcde123 "

notebook_task {

notebook_path = " ./hello.py "

}

}

}

}

Discussion 0
Questions 5

A Databricks single-task workflow fails at the last task due to an error in a notebook. The data engineer fixes the mistake in the notebook. What should the data engineer do to rerun the workflow?

Options:

A.  

Repair the task

B.  

Rerun the pipeline

C.  

Restart the Cluster

D.  

Switch the cluster

Discussion 0
Questions 6

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?

Options:

A.  

Checkpointing and Write-ahead Logs

B.  

Structured Streaming cannot record the offset range of the data being processed in each trigger.

C.  

Replayable Sources and Idempotent Sinks

D.  

Write-ahead Logs and Idempotent Sinks

E.  

Checkpointing and Idempotent Sinks

Discussion 0
Questions 7

A data engineer configures a Databricks Lakeflow Job for daily customer data processing:

    Entry task: A single notebook loads raw data.

    Parallel tasks:

      A SQL query task performs data cleansing.

      A notebook task performs feature engineering.

      A pipeline task performs model updates.

Exit task: A dashboard refresh must run after all parallel tasks complete.

Requirement: Implement this dependency pattern using a DAG-based task graph.

Which task configuration ensures that all parallel tasks complete before the dashboard refresh task runs?

Options:

A.  

Configure the parallel tasks with sequential dependencies so that each task waits for the previous task to finish.

B.  

Add the dashboard task as dependent on all three parallel tasks using fan-in control flow.

C.  

Set the dashboard task to depend only on the SQL query task; the other tasks run independently.

D.  

Create separate Lakeflow Jobs for each parallel task and trigger them sequentially using external orchestration.

Discussion 0
Questions 8

A data engineer works for an organization that must meet a stringent Service Level Agreement (SLA) that demands minimal runtime errors and high availability for its data processing pipelines. The data engineer wants to avoid the operational overhead of managing and tuning clusters.

Which architectural solution will meet the requirements?

Options:

A.  

Implement a hybrid approach with scheduled batch jobs on custom cloud VMs.

B.  

Use an auto-scaling cluster configured and monitored by the user.

C.  

Utilize Databricks serverless compute that automatically optimizes resources and abstracts cluster management.

D.  

Deploy a dedicated, manually managed cluster optimized by in-house IT staff.

Discussion 0
Questions 9

A Databricks workflow fails at the last stage due to an error in a notebook. This workflow runs daily. The data engineer fixes the mistake and wants to rerun the pipeline. This workflow is very costly and time-intensive to run.

Which action should the data engineer do in order to minimise downtime and cost?

Options:

A.  

Switch to another cluster

B.  

Repair run

C.  

Re-run the entire workflow

D.  

Restart the cluster

Discussion 0
Questions 10

A notebook task named check_volume calculates a daily data volume and writes it to a Lakeflow Jobs task value named record_count. If the count is greater than 1 million, the job should run high_volume_pipeline; otherwise, it should run normal_pipeline.

Which control-flow feature should be used?

Options:

A.  

Add an If/else condition task that reads the record_count task value and routes execution to different downstream tasks.

B.  

Configure additional retries for check_volume until the count exceeds the threshold.

C.  

Use a For each task over record_count and stop when the value is below the threshold.

D.  

Configure Run if conditions based purely on task status.

Discussion 0
Questions 11

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

Options:

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

Discussion 0
Questions 12

A data engineer is using the OPTIMIZE command on a Delta table. What happens when OPTIMIZE is run twice on the same table with the same data?

Options:

A.  

It further reduces file sizes by re-clustering the data

B.  

Triggers a full liquid clustering process

C.  

Changes the number of tuples per file significantly

D.  

It has no effect because it is idempotent.

Discussion 0
Questions 13

A data engineer ingests semi-structured JSON logs into a Delta table using Auto Loader with schema evolution enabled. A new string field named userAgent appears in the JSON source data.

What happens to the new userAgent field?

Options:

A.  

Ingestion fails with a schema-mismatch error until the table is manually altered.

B.  

All existing data is backfilled with a default value for userAgent, and the column is made non-nullable.

C.  

The userAgent field is added as a new nullable column in the Delta table and populated for new data.

D.  

The userAgent field is silently ignored, and its data is dropped from all new files.

Discussion 0
Questions 14

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?

Options:

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.

D.  

There is no way to determine why a Job task is running slowly.

E.  

They can navigate to the Tasks tab in the Jobs UI to immediately review the processing notebook.

Discussion 0
Questions 15

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

Options:

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.

E.  

Silver tables contain less data than Bronze tables.

Discussion 0
Questions 16

A data engineer is cleaning a Bronze table that receives the same customer records from multiple source systems. Duplicate rows have the same customer_id and email values but different ingestion_timestamp values. The Silver table should contain only one record for each unique combination of customer_id and email.

Which PySpark operation correctly deduplicates the records based on the business keys?

Options:

A.  

df.groupBy( " customer_id " , " email " ).agg(max( " ingestion_timestamp " ).alias( " latest_ts " ))

B.  

df.distinct()

C.  

df.select( " customer_id " , " email " ).distinct()

D.  

df.dropDuplicates([ " customer_id " , " email " ])

Discussion 0
Questions 17

A data engineering team ingests customer transaction data from three enterprise sources: a SQL database, Amazon S3, and an Apache Kafka stream. The data must maintain lineage and support compliance audits that require access to historical snapshots.

Which Lakeflow Connect configuration satisfies both the governance and audit requirements?

Options:

A.  

Use a single connector with batch scheduling, a shared Unity Catalog schema, and incremental snapshots stored externally.

B.  

Use a single Lakeflow connector for all three sources, write directly to Delta tables, and disable table versioning to reduce storage costs.

C.  

Use separate connectors with full-load synchronization only, archive historical data separately, and create external tables for audit queries.

D.  

Use separate connectors for each source, source-appropriate incremental processing, individual Unity Catalog schemas, and retained Delta table versions for audit compliance.

Discussion 0
Questions 18

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?

Options:

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.

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.

E.  

They can clone the existing task to a new Job and then edit it to run the new notebook.

Discussion 0
Questions 19

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?

Options:

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

D.  

Parquet files have the ability to be optimized

E.  

Parquet files will become Delta tables

Discussion 0
Questions 20

A Python file is ready to go into production and the client wants to use the cheapest but most efficient type of cluster possible. The workload is quite small, only processing 10GBs of data with only simple joins and no complex aggregations or wide transformations.

Which cluster meets the requirement?

Options:

A.  

Job cluster with Photon enabled

B.  

Interactive cluster

C.  

Job cluster with spot instances disabled

D.  

Job cluster with spot instances enabled

Discussion 0
Questions 21

A data engineer is developing an ETL process based on Spark SQL. The execution fails. The data engineer checks the Spark Ul and can see the ERRORS as follows:

Which two corrective actions should the data engineer perform to resolve this issue?

Choose 2 answers - (Q) Narrow the filters in order to collect less data in the query

Options:

A.  

Upsize the worker nodes and activate autoshuffle partitions

B.  

Upsize the driver node and deactivate autoshuffle partitions

C.  

Cache the dataset in order to boost the query performance

D.  

Fix the shuffle partitions to 50 to ensure the allocation

Discussion 0
Questions 22

A data engineer has configured a Lakeflow Job that runs daily to ingest customer transaction data from a legacy relational database. The extracted data must be written directly to a Unity Catalog table and be immediately queryable through SQL. The team must also preserve data lineage.

Which action enables this ingestion with direct landing in Unity Catalog, preserved lineage, and immediate SQL query capability?

Options:

A.  

Use ODBC pooling to extract all records in one batch and write them to /dbfs/

B.  

Use spark.read.format( " jdbc " ) and write the resulting DataFrame with saveAsTable( " catalog.schema.table " )

C.  

Stage the data in cloud storage through a REST API and load it with a separate job

D.  

Extract the data to a Pandas DataFrame, convert it to Spark, and use save() to write it to an external path

Discussion 0
Questions 23

A data engineer triggers a scheduled job but finds that the new run was not executed. The run history shows that the run was skipped with a concurrency-related queue message.

Which configuration should the engineer investigate?

Options:

A.  

The cluster spot-instance availability in the cloud provider

B.  

The SQL warehouse permissions for the task

C.  

The job-level max_concurrent_runs setting and whether queueing is enabled

D.  

The task-level timeout_seconds configuration

Discussion 0
Questions 24

A global retail company sells products across multiple categories (e.g.. Electronics, Clothing) and regions (e.g.. North. South, East. West). The sales team has provided the data engineer with a PySpark dataframe named sales_df as below and the team wants the data engineer to analyze the sales data to help them make strategic decisions.

Options:

A.  

Category_sales = sales df.groupBy( " category " ).agg(sum( " sales amount " ) .alias ( " total sales amount " ))

B.  

Category_sales = sales_df.sum( " 3ales_amount " ). g-1- upBy( " categcryn).alias( " toLal_sales_amount))

C.  

Category_sale: .es df -agg (sum ( " sales amount " ) .-;r*i:rRy ( " category " ) .alias ( " total sa.en amount " ))

D.  

Category_sales = sales_df.groupBy( " reqion " ). agq(sum( " sales_amountn).alias(ntotal_sales_amount ' ' ))

Discussion 0
Questions 25

In which of the following scenarios should a data engineer select a Task in the Depends On field of a new Databricks Job Task?

Options:

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

Discussion 0
Questions 26

A developer is building a data pipeline that processes records from a Bronze table into a Silver table. The Bronze table, bronze_events, contains duplicate records because of at-least-once delivery guarantees from the upstream ingestion system. The developer writes the following PySpark code:

deduped_df = df.dropDuplicates()

deduped_df.summary( " count " , " mean " , " stddev " ).show()

from pyspark.sql.functions import approx_count_distinct

deduped_df.select(approx_count_distinct( " user_id " )).show()

After running dropDuplicates() without arguments, some rows that differ only in the event_timestamp column remain. The developer wants to deduplicate records based only on user_id and event_type, keeping one row for each unique combination of those two columns.

Which code change achieves this deduplication requirement?

Options:

A.  

Replace df.dropDuplicates() with df.groupBy( " user_id " , " event_type " ).count().

B.  

Replace df.dropDuplicates() with df.dropDuplicates([ " user_id " , " event_type " ]).

C.  

Replace df.dropDuplicates() with df.drop( " event_timestamp " ).dropDuplicates().

D.  

Replace df.dropDuplicates() with df.distinct().select( " user_id " , " event_type " ).

Discussion 0
Questions 27

A data engineer wants to create a new table containing the names of customers who live in France.

They have written the following command:

CREATE TABLE customersInFrance

_____ AS

SELECT id,

firstName,

lastName

FROM customerLocations

WHERE country = ’FRANCE’;

A senior data engineer mentions that it is organization policy to include a table property indicating that the new table includes personally identifiable information (Pll).

Which line of code fills in the above blank to successfully complete the task?

Options:

A.  

COMMENT " Contains PIT

B.  

511

C.  

" COMMENT PII "

D.  

TBLPROPERTIES PII

Discussion 0
Questions 28

A data engineer observes that an ETL job in Databricks has increased its execution time from a five-minute baseline to 12 minutes over the past week. Using the Lakeflow Jobs run-history view, the engineer needs to identify whether the slowdown is consistent or intermittent and determine its root cause.

Which action should the engineer take to analyze execution-time trends against the baseline?

Options:

A.  

Automatically increase the cluster size whenever execution time exceeds the previous run’s duration.

B.  

Compare cluster metrics in the Lakeflow Jobs run history to identify resource spikes that are causing delays.

C.  

Archive old job runs and reset the baseline counter to ensure an accurate comparison of current performance.

D.  

Rerun the job immediately to establish a new baseline because historical data becomes irrelevant after seven days.

Discussion 0
Questions 29

Which TWO items are characteristics of the Gold Layer?

Choose 2 answers

Options:

A.  

Read-optimized

B.  

Normalised

C.  

Raw Data

D.  

Historical lineage

E.  

De-normalised

Discussion 0
Questions 30

Which SQL code snippet will correctly demonstrate a Data Definition Language (DDL) operation used to create a table?

Options:

A.  

DROP TABLE employees;

B.  

INSERT INTO employees (id, name) VALUES (1, ' Alice ' );

C.  

CRFATF tabif employees ( id INT, name suing

D.  

ALTFR TABIF employees add column salary DECTMA(10,2);

Discussion 0
Questions 31

A data engineering team has two tables. The first table march_transactions is a collection of all retail transactions in the month of March. The second table april_transactions is a collection of all retail transactions in the month of April. There are no duplicate records between the tables.

Which of the following commands should be run to create a new table all_transactions that contains all records from march_transactions and april_transactions without duplicate records?

Options:

A.  

CREATE TABLE all_transactions ASSELECT * FROM march_transactionsINNER JOIN SELECT * FROM april_transactions;

B.  

CREATE TABLE all_transactions ASSELECT * FROM march_transactionsUNION SELECT * FROM april_transactions;

C.  

CREATE TABLE all_transactions ASSELECT * FROM march_transactionsOUTER JOIN SELECT * FROM april_transactions;

D.  

CREATE TABLE all_transactions ASSELECT * FROM march_transactionsINTERSECT SELECT * from april_transactions;

E.  

CREATE TABLE all_transactions ASSELECT * FROM march_transactionsMERGE SELECT * FROM april_transactions;

Discussion 0
Questions 32

A data engineer needs to develop integration tests for an ETL process and deploy a version-controlled, packaged workflow into production using an external job scheduler.

Which tool should the data engineer use for this job?

Options:

A.  

Databricks Command Line Interface

B.  

Databricks Asset Bundles

C.  

Databricks Connect

D.  

Databricks Software Development Kit

Discussion 0
Questions 33

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?

Options:

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 to allow for additional testing.

C.  

All datasets will be updated once and the pipeline will shut down. The compute resources will persist to allow for additional testing.

D.  

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.

Discussion 0
Questions 34

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

Options:

A.  

Delta tables are stored in a single file that contains data, history, metadata, and other attributes.

B.  

Delta tables store their data in a single file and all metadata in a collection of files in a separate location.

C.  

Delta tables are stored in a collection of files that contain data, history, metadata, and other attributes.

D.  

Delta tables are stored in a collection of files that contain only the data stored within the table.

E.  

Delta tables are stored in a single file that contains only the data stored within the table.

Discussion 0
Questions 35

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?

Options:

A.  

They can increase the cluster size of the SQL endpoint.

B.  

They can increase the maximum bound of the SQL endpoint’s scaling range.

C.  

They can turn on the Auto Stop feature for the SQL endpoint.

D.  

They can turn on the Serverless feature for the SQL endpoint.

E.  

They can turn on the Serverless feature for the SQL endpoint and change the Spot Instance Policy to “Reliability Optimized.”

Discussion 0
Questions 36

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

Options:

A.  

A data lakehouse provides storage solutions for structured and unstructured data.

B.  

A data lakehouse supports ACID-compliant transactions.

C.  

A data lakehouse allows the use of SQL queries to examine data.

D.  

A data lakehouse stores data in open formats.

E.  

A data lakehouse enables machine learning and artificial Intelligence workloads.

Discussion 0
Questions 37

A company is collaborating with a partner that does not use Databricks but needs access to a large historical dataset stored in Delta format. The data engineer needs to ensure that the partner can access the data securely, without the need for them to set up an account, and with read-only access.

How should the data be shared?

Options:

A.  

Share the dataset using Delta Sharing, which allows your partner to access the data using a secure, read-only URL without requiring a Databricks account, ensuring that they cannot modify the data.

B.  

Share the dataset using Unity Catalog, ensuring that both teams have full write access to the data within the same organization.

C.  

Share the dataset by exporting it to a CSV file and manually transferring the file to the partner ' s system.

D.  

Grant your partner access to your Databricks workspace and assign them full write permissions to the Delta table, enabling them to modify the dataset.

Discussion 0
Questions 38

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?

Options:

A.  

There was a type mismatch between the specific schema and the inferred schema

B.  

JSON data is a text-based format

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

Discussion 0
Questions 39

What is stored in a Databricks customer ' s cloud account?

Options:

A.  

Data

B.  

Cluster management metadata

C.  

Databricks web application

D.  

Notebooks

Discussion 0
Questions 40

A data engineer has a Declarative Automation Bundle with a job resource keyed as etl_job in databricks.yml. After running databricks bundle deploy, the job appears in the workspace but has not executed.

Which command triggers execution of the deployed job?

Options:

A.  

databricks bundle deploy run

B.  

databricks jobs submit --json < config >

C.  

databricks bundle execute etl_job

D.  

databricks bundle run etl_job

Discussion 0
Questions 41

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

Options:

A.  

DESCRIBE LOCATION customer360;

B.  

DROP DATABASE customer360;

C.  

DESCRIBE DATABASE customer360;

D.  

ALTER DATABASE customer360 SET DBPROPERTIES ( ' location ' = ' /user ' };

E.  

USE DATABASE customer360;

Discussion 0
Questions 42

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 approach can the data engineer use to minimize the total running time of the SQL endpoint used in the refresh schedule of their dashboard?

Options:

A.  

O They can reduce the cluster size of the SQL endpoint.

B.  

Q They can turn on the Auto Stop feature for the SQL endpoint.

C.  

O They can set up the dashboard ' s SQL endpoint to be serverless.

D.  

0 They can ensure the dashboard ' s SQL endpoint matches each of the queries ' SQL endpoints.

Discussion 0
Questions 43

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.

Which of the following describes why the statement might not have copied any new records into the table?

Options:

A.  

The format of the files to be copied were not included with the FORMAT_OPTIONS keyword.

B.  

The names of the files to be copied were not included with the FILES keyword.

C.  

The previous day’s file has already been copied into the table.

D.  

The PARQUET file format does not support COPY INTO.

E.  

The COPY INTO statement requires the table to be refreshed to view the copied rows.

Discussion 0
Questions 44

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?

Options:

A.  

There is no way to indicate whether a table contains PII.

B.  

" COMMENT PII "

C.  

TBLPROPERTIES PII

D.  

COMMENT " Contains PII "

E.  

PII

Discussion 0
Questions 45

A data engineer uses the Databricks workspace UI with Unity Catalog enabled. In Catalog Explorer, they select catalog corp_marketing, then schema campaigns, and see table email_stats. The engineer must let the growth-analysts group read email_stats from its SQL warehouses, but not create, alter, or delete any objects in corp_marketing or campaigns.

Which action sequence meets the requirement?

Options:

A.  

On schema campaigns, grant USE SCHEMA and SELECT; then grant SELECT on table email_stats.

B.  

On catalog corp_marketing, grant USE CATALOG and CREATE SCHEMA; on schema campaigns, grant USE SCHEMA; then grant SELECT on email_stats.

C.  

On catalog corp_marketing, grant USE CATALOG; on schema campaigns, grant USE SCHEMA; then grant SELECT on email_stats.

D.  

On schema campaigns, grant USE SCHEMA; then grant SELECT and MODIFY on email_stats.

Discussion 0
Questions 46

An organization is building a data lakehouse and needs to ingest data from multiple sources into Unity Catalog-managed tables:

    Salesforce: More than 50 objects, frequent schema changes, and OAuth authentication

    An on-premises SQL Server database: More than 100 tables, CDC enabled, and private network connectivity required

    Daily JSON files landing in Azure Data Lake Storage Gen2

The organization wants all ingested data governed by Unity Catalog, minimal engineering effort for schema changes, and serverless processing wherever possible.

Which ingestion strategy meets these requirements?

Options:

A.  

Use partner connectors such as Fivetran for all three sources through Partner Connect

B.  

Use Auto Loader for all three sources, with custom Python code for Salesforce API calls and SQL Server CDC extraction

C.  

Use Lakeflow Connect managed connectors for Salesforce and SQL Server, and Auto Loader for the ADLS files, within Lakeflow Spark Declarative Pipelines

D.  

Use Lakeflow Connect managed connectors for all three sources

Discussion 0
Questions 47

A data engineer is working on a personal laptop and needs to perform complex transformations on data stored in a Delta Lake on cloud storage. The engineer decides to use Databricks Connect to interact with Databricks clusters and work in their local IDE.

How does Databricks Connect enable the engineer to develop, test, and debug code seamlessly on their local machine while interacting with Databricks clusters?

Options:

A.  

By allowing direct execution of Spark jobs from the local machine without needing a network connection

B.  

By providing a local environment that mimics the Databricks runtime, enabling the engineer to develop, test, and debug code using a specific IDE that is required by Databricks

C.  

By providing a local environment that mimics the Databricks runtime, enabling the engineer to develop, test, and debug code using their preferred ide

D.  

By providing a local environment that mimics the Databricks runtime, enabling the engineer to develop, test, and debug code only through Databricks ' own web interface

Discussion 0
Questions 48

Which file format is used for storing Delta Lake Table?

Options:

A.  

Parquet

B.  

Delta

C.  

SV

D.  

JSON

Discussion 0
Questions 49

An engineering manager uses a Databricks SQL query to monitor ingestion latency for each data source. The manager checks the results of the query every day, but they are manually rerunning the query each day and waiting for the results.

Which of the following approaches can the manager use to ensure the results of the query are updated each day?

Options:

A.  

They can schedule the query to refresh every 1 day from the SQL endpoint ' s page in Databricks SQL.

B.  

They can schedule the query to refresh every 12 hours from the SQL endpoint ' s page in Databricks SQL.

C.  

They can schedule the query to refresh every 1 day from the query ' s page in Databricks SQL.

D.  

They can schedule the query to run every 1 day from the Jobs UI.

E.  

They can schedule the query to run every 12 hours from the Jobs UI.

Discussion 0
Questions 50

In which of the following scenarios should a data engineer use the MERGE INTO command instead of the INSERT INTO command?

Options:

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

E.  

When the source is not a Delta table

Discussion 0
Questions 51

A data engineer has been provided a PySpark DataFrame named df with columns product and revenue. The data engineer needs to compute complex aggregations to determine each product ' s total revenue, average revenue, and transaction count.

Which code snippet should the data engineer use?

A)

B)

C)

D)

Options:

A.  

Option A

B.  

Option B

C.  

Option C

D.  

Option D

Discussion 0
Questions 52

A data engineer is preparing a Declarative Automation Bundle, formerly known as a Databricks Asset Bundle, to deploy a Lakeflow pipeline.

To ensure that the pipeline is deployed to the correct environment, where should workspace-specific configurations, such as the workspace host URL and root storage path, be defined within the bundle project?

Options:

A.  

Inside the README.md file in the bundle’s root directory

B.  

Within the Python source code of the Lakeflow pipeline

C.  

In the targets section of the databricks.yml file

D.  

In a global environment variable on the local development machine

Discussion 0
Questions 53

A data engineering team needs to incrementally ingest customer transactions from a SaaS application into the Databricks Data Intelligence Platform with the following capabilities:

    Built-in change data capture, including updates and deletes

    Automatic schema evolution

    Serverless execution with retries and minimal maintenance

    OAuth support and basic monitoring

Which solution meets all the requirements?

Options:

A.  

Use a Lakeflow Connect standard connector, implement MERGE-based CDC, schema evolution, and retries in workflows, and create a dedicated monitoring dashboard.

B.  

Use Auto Loader on exported SaaS files and a Lakeflow Spark Declarative Pipeline that calls the SaaS APIs, handling CDC, schema changes, OAuth, and retries in custom code.

C.  

Schedule regional batch jobs that call SaaS REST APIs and write directly to Silver tables using custom CDC and schema-evolution logic.

D.  

Use a Lakeflow Connect managed connector for the SaaS application with built-in CDC, schema evolution, OAuth, and serverless compute with retries, and process the data downstream using Lakeflow Spark Declarative Pipelines.

Discussion 0
Questions 54

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?

Options:

A.  

None of these lines of code are needed to successfully complete the task

B.  

USING CSV

C.  

FROM CSV

D.  

USING DELTA

E.  

FROM " path/to/csv "

Discussion 0
Questions 55

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

Options:

A.  

PIVOT

B.  

CONVERT

C.  

WHERE

D.  

TRANSFORM

E.  

SUM

Discussion 0
Questions 56

An organization has implemented a data pipeline in Databricks and needs to ensure it can scale automatically based on varying workloads without manual cluster management. The goal is to meet the company’s Service Level Agreements (SLAs), which require high availability and minimal downtime, while Databricks automatically handles resource allocation and optimization.

Which approach fulfills these requirements?

Options:

A.  

Use Serverless compute in Databricks to automatically scale and provision resources with minimal manual intervention

B.  

Deploy job clusters with fixed configurations, dedicated to specific tasks, without automatic scaling

C.  

Use spot instances to allocate resources dynamically while minimizing costs, with potential interruptions

D.  

Use interactive clusters in Databricks, adjusting cluster sizes manually based on workload demands

Discussion 0
Questions 57

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?

Options:

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

E.  

The pipeline will need to be written entirely in Python

Discussion 0
Questions 58

What are the transformations typically included in building the Bronze layer ?

Options:

A.  

Perform extensive data cleansing

B.  

Aggregate data from multiple sources

C.  

Business rules and transformations

D.  

Include columns Load date/time, process ID

Discussion 0
Questions 59

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

Options:

A.  

An ability to work with data in a variety of types at once

B.  

An ability to work with data within certain partitions and windows

C.  

An ability to work with time-related data in specified intervals

D.  

An ability to work with complex, nested data ingested from JSON files

E.  

An ability to work with an array of tables for procedural automation

Discussion 0
Questions 60

A data engineer runs df.toPandas() on a wide DataFrame containing 50 million rows. The notebook cell fails with a java.lang.OutOfMemoryError on the driver.

Which memory configuration is directly associated with this failure?

Options:

A.  

spark.sql.shuffle.partitions is too high.

B.  

spark.memory.fraction is too low.

C.  

spark.executor.memory is too low.

D.  

spark.driver.memory is too low to hold the collected result.

Discussion 0
Questions 61

An organization is looking for an optimized storage layer that supports ACID transactions and schema enforcement. Which technology should the organization use?

Options:

A.  

Cloud File Storage

B.  

Unity Catalog

C.  

Data lake

D.  

Delta Lake

Discussion 0
Questions 62

Which compute option should be chosen in a scenario where small-scale ad hoc Python scripts need to be run at high frequency and should wind down quickly after these queries have finished running?

Options:

A.  

All-purpose cluster

B.  

Job cluster

C.  

Serverless compute

D.  

SQL Warehouse

Discussion 0
Questions 63

A data engineer is managing a data pipeline in Databricks, where multiple Delta tables are used for various transformations. The team wants to track how data flows through the pipeline, including identifying dependencies between Delta tables, notebooks, jobs, and dashboards. The data engineer is utilizing the Unity Catalog lineage feature to monitor this process.

How does Unity Catalog’s data lineage feature support the visualization of relationships between Delta tables, notebooks, jobs, and dashboards?

Options:

A.  

Unity Catalog lineage visualizes dependencies between Delta tables, notebooks, and jobs, but does not provide column-level tracing or relationships with dashboards.

B.  

Unity Catalog lineage only supports visualizing relationships at the table level and does not extend to notebooks, jobs, or dashboards.

C.  

Unity Catalog lineage provides an interactive graph that tracks dependencies between tables and notebooks but excludes any job-related dependencies or dashboard visualizations.

D.  

Unity Catalog provides an interactive graph that visualizes the dependencies between Delta tables, notebooks, jobs, and dashboards, while also supporting column-level tracking of data transformations.

Discussion 0
Questions 64

A data engineer needs to process SQL queries on a large dataset with fluctuating workloads. The workload requires automatic scaling based on the volume of queries, without the need to manage or provision infrastructure. The solution should be cost-efficient and charge only for the compute resources used during query execution.

Which compute option should the data engineer use?

Options:

A.  

Databricks SQL Analytics

B.  

Databricks Jobs

C.  

Databricks Runtime for ML

D.  

Serverless SQL Warehouse

Discussion 0
Questions 65

Which SQL keyword can be used to convert a table from a long format to a wide format?

Options:

A.  

TRANSFORM

B.  

PIVOT

C.  

SUM

D.  

CONVERT

Discussion 0
Questions 66

A data engineer at a company that uses Databricks with Unity Catalog needs to share a collection of tables with an external partner who also uses a Databricks workspace enabled for Unity Catalog. The data engineer decides to use Delta Sharing to accomplish this.

What is the first piece of information the data engineer should request from the external partner to set up Delta Sharing?

Options:

A.  

Their Databricks account password

B.  

The name of their Databricks cluster

C.  

The IP address of their Databricks workspace

D.  

The sharing identifier of their Unity Catalog metastore

Discussion 0
Questions 67

A data engineer is decommissioning a sandbox schema in Unity Catalog. Some tables are ephemeral staging outputs that can be safely removed entirely, but a few tables point at shared cloud storage used by downstream jobs outside Databricks. The engineer must avoid deleting any shared files when cleaning up catalog objects.

How does Unity Catalog behave when dropping Managed vs External tables?

Options:

A.  

Drop all tables; Databricks will only remove metadata for both managed and external tables

B.  

Drop managed tables that are ephemeral and drop external tables; files for both remain for 7 days

C.  

Drop managed staging tables to remove data and metadata, and drop external tables to remove only metadata

D.  

Drop external tables first to delete their files, then drop managed tables to keep their files for recovery

Discussion 0
Questions 68

A data engineer is attempting to write Python and SQL in the same command cell and is running into an error The engineer thought that it was possible to use a Python variable in a select statement.

Why does the command fail?

Options:

A.  

Databricks supports multiple languages but only one per notebook.

B.  

Databricks supports language interoperability in the same cell but only between Scala and SQL

C.  

Databricks supports language interoperability but only if a special character is used.

D.  

Databricks supports one language per cell.

Discussion 0
Questions 69

A data engineer is onboarding a new Bronze ingestion pipeline in Databricks with Unity Catalog. The team wants Databricks to handle storage layout, apply platform optimizations over time, and simplify lifecycle management so that when a table is dropped, its underlying data is also cleaned up according to Databricks-managed retention policies.

Which table type should the data engineer create for these ingestion tables?

Options:

A.  

Managed tables so that Unity Catalog manages both metadata and underlying data lifecycle

B.  

External tables with a LOCATION pointing to an external volume for full control of file layout

C.  

Foreign tables federated from an external catalog to delegate optimization to the source system

D.  

Temporary views over files to avoid table-level governance and lifecycle coupling

Discussion 0