
DatabricksCertified Associate Developer for Apache Spark
Shared Variables and Broadcast Joins ASSOCIATE-DEVELOPER-APACHE-SPARK Practice Questions (Page 1)
Part of the Developing Apache Spark™ DataFrame/DataSet API Applications domain, which accounts for 30% of the ASSOCIATE-DEVELOPER-APACHE-SPARK exam. Databricks does not publish an official question count, but from its 90-minute exam (~35–60 total, ~11–18 in this domain), expect 2–4 from this objective — we provide 21 practice questions to prepare you well beyond it. (estimate)
Questions 1–5
- 1
A Spark application uses a broadcast variable to share a large read-only lookup table (200 MB) with all executors. The executors have 2 GB memory each. What is the primary benefit of using a broadcast variable in this scenario?
Select an answer first - 2
A developer needs to share a read-only configuration map with all executors and also count the number of processed records. Which combination of shared variables should they use?
Select an answer first - 3
What is the primary purpose of using a broadcast variable in a Spark application?
Select an answer first - 4
A Spark application processes a stream of user events and needs to count the number of invalid records encountered during transformation. The count must be available on the driver after the job completes. The team uses an accumulator for this purpose. After running the job, they observe that the accumulator value is 0 even though invalid records exist. Which action would fix this issue?
Select an answer first - 5
A Spark job processes a large dataset and needs to track the number of records that fail a validation check. The team wants to see this count on the driver after the job finishes. Which shared variable should they use?
Select an answer first
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Databricks. “ASSOCIATE-DEVELOPER-APACHE-SPARK” is a trademark of its owner, used for identification only.