Official Bank 0/114

Databricks Certified Associate Developer for Apache Spark 3.0 (DATABRICKS-CERTIFIED-ASSOCIATE-DEVELOPER-FOR-APACHE-SPARK-3.0) - DataBricks Actual Exam Questions

Last updated on May 14, 2026

97% Exam Compliance
114 Total Questions
1
Question

Which of the following code blocks sorts DataFrame transactionsDf both by column storeId in ascending and by column productId in descending order, in this priority?

Options
A

transactionsDf.sort("storeId", asc("productId"))

B

transactionsDf.sort(col(storeId)).desc(col(productId))

C

transactionsDf.order_by(col(storeId), desc(col(productId)))

D

transactionsDf.sort("storeId", desc("productId"))

E

transactionsDf.sort("storeId").sort(desc("productId"))

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question

Which of the following code blocks displays various aggregated statistics of all columns in DataFrame transactionsDf, including the standard deviation and minimum of values in each column?

Options
A

transactionsDf.summary()

B

transactionsDf.agg("count", "mean", "stddev", "25%", "50%", "75%", "min")

C

transactionsDf.summary("count", "mean", "stddev", "25%", "50%", "75%", "max").show()

D

transactionsDf.agg("count", "mean", "stddev", "25%", "50%", "75%", "min").show()

E

transactionsDf.summary().show()

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question

Which of the following are valid execution modes?

Options
A

Kubernetes, Local, Client

B

Client, Cluster, Local

C

Server, Standalone, Client

D

Cluster, Server, Local

E

Standalone, Client, Cluster

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question

Which of the following describes slots?

Options
A

Slots are dynamically created and destroyed in accordance with an executor's workload.

B

To optimize I/O performance, Spark stores data on disk in multiple slots.

C

A Java Virtual Machine (JVM) working as an executor can be considered as a pool of slots for task execution.

D

A slot is always limited to a single core. Slots are the communication interface for executors and are used for receiving commands and sending results to the driver.

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question

Which of the following describes characteristics of the Dataset API?

Options
A

The Dataset API does not support unstructured data.

B

In Python, the Dataset API mainly resembles Pandas' DataFrame API.

C

In Python, the Dataset API's schema is constructed via type hints.

D

The Dataset API is available in Scala, but it is not available in Python.

E

The Dataset API does not provide compile-time type safety.

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.