Summer Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70track

Free Databricks Databricks-Certified-Data-Engineer-Associate Practice Exam with Questions & Answers

Questions 1

A data engineer is configuring Unity Catalog in Databricks and needs to assign a role to a user who should have the ability to grant and revoke privileges on various data objects within a specific schema but should not have read/write access over the schema or its objects.

Which role should the data engineer assign to this user?

Options:
A.

USE CATALOG / USE SCHEMA privilege on the schema

B.

Catalog Owner

C.

Table Owner

D.

Schema Owner

Databricks Databricks-Certified-Data-Engineer-Associate Premium Access
Questions 2

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?

Options:
A.

SELECT * FROM sales

B.

There is no way to share data between PySpark and SQL.

C.

spark.sql( " sales " )

D.

spark.delta.table( " sales " )

E.

spark.table( " sales " )

Questions 3

Which query is performing a streaming hop from raw data to a Bronze table?

A)

Databricks-Certified-Data-Engineer-Associate Question 3

B)

Databricks-Certified-Data-Engineer-Associate Question 3

C)

Databricks-Certified-Data-Engineer-Associate Question 3

D)

Databricks-Certified-Data-Engineer-Associate Question 3

Options:
A.

Option A

B.

Option B

C.

Option C

D.

Option D

Questions 4

A data engineer is transforming a Bronze table containing API-response data into a Silver table. The Bronze table has a user_profile column of type STRING that contains JSON data. An example value is:

{ " user_id " : " 12345 " , " name " : " John Smith " , " age " :32, " email " : " john@example.com " }

The Silver table must make this data easily queryable for analytics without requiring JSON parsing in every downstream query.

Which approach standardizes this column for the Silver table?

Options:
A.

SELECT

from_json(

user_profile,

' user_id STRING, name STRING, age STRING, email STRING '

) AS parsed_profile

FROM bronze_table;

B.

SELECT

user_profile.user_id AS user_id,

user_profile.name AS name,

CAST(user_profile.age AS INT) AS age,

user_profile.email AS email

FROM bronze_table;

C.

SELECT

get_json_object(user_profile, ' $.user_id ' ) AS user_id,

get_json_object(user_profile, ' $.name ' ) AS name,

CAST(get_json_object(user_profile, ' $.age ' ) AS INT) AS age,

get_json_object(user_profile, ' $.email ' ) AS email

FROM bronze_table;

D.

SELECT

get_json_object(user_profile, ' user_id ' ) AS user_id,

get_json_object(user_profile, ' name ' ) AS name,

get_json_object(user_profile, ' age ' ) AS age,

get_json_object(user_profile, ' email ' ) AS email

FROM bronze_table;

Questions 5

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?

Options:
A.

grant all privileges on table sales TO team;

B.

GRANT SELECT ON TABLE sales TO team;

C.

GRANT SELECT CREATE MODIFY ON TABLE sales TO team;

D.

GRANT ALL PRIVILEGES ON TABLE team TO sales;

Questions 6

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

Questions 7

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

Questions 8

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

Questions 9

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?

Options:
A.

dbfs:/user/hive/database/customer360

B.

dbfs:/user/hive/warehouse

C.

dbfs:/user/hive/customer360

D.

More information is needed to determine the correct response

Questions 10

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.