Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Databricks Certified Associate Developer for Apache Spark 3.5 Exam - Topic 7 Question 19 Discussion

Posted by Leslie on Jul 18, 2026 at 12:57 AM

A Spark developer is building an app to monitor task performance. They need to track the maximum task processing time per worker node and consolidate it on the driver for analysis.

Which technique should be used?

Suggested Answer: A

The correct way to aggregate information (e.g., max value) from distributed workers back to the driver is using RDD actions such as reduce() or aggregate().

From the documentation:

''To perform global aggregations on distributed data, actions like reduce() are commonly used to collect summaries such as min/max/avg.''

Accumulators (Option B) do not support max operations directly and are not intended for such analytics.

Broadcast (Option C) is used to send data to workers, not collect from them.

Spark UI (Option D) is a monitoring tool --- not an analytics collection interface.

Final Answer: A


Get Premium Databricks Certified Associate Developer for Apache Spark 3.5 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
HE
Heidy 1 month ago
Option D seems easier. The Spark UI does a lot of this automatically.
VI
Vilma 1 month ago
I agree, but option A could work too. Reduce() can find max values.
DA
Darci 1 month ago
I think option B is the best choice. Accumulators are perfect for this.
LE
Lera 2 months ago
Not sure about broadcasting, seems inefficient for this case.
FL
Florencia 2 months ago
Accumulators are great for this kind of task!
LU
Luis 2 months ago
Wait, can the Spark UI really do that automatically?
GL
Glory 2 months ago
I disagree, reduce() could work too!
AN
Antione 2 months ago
I think option B is the best choice for tracking max time.
SH
Shonda 3 months ago
I don’t recall configuring the Spark UI for this purpose, but it seems like it wouldn’t give us the control we need over the data collection.
RO
Rosalia 3 months ago
Broadcasting a variable sounds familiar, but I feel like it might not actually consolidate the data on the driver as needed.
AS
Ashley 3 months ago
I remember practicing a similar question where we had to track metrics, and I think using an RDD action like reduce() might not be the best for this.
JO
Jody 3 months ago
I think using an accumulator could be the right choice here, but I'm not entirely sure how it works in this context.
0/2000 characters

Save Cancel