
DatabricksCertified Associate Developer for Apache Spark
Implement Performance Tuning Strategies & Optimize Cluster Utilization, Including Partitioning, Repartitioning, Coalescing, Identifying Data Skew, and Reducing Shuffling ASSOCIATE-DEVELOPER-APACHE-SPARK Practice Questions (Page 4)
Part of the Troubleshooting and Tuning Apache Spark DataFrame API Applications. domain, which accounts for 10% of the ASSOCIATE-DEVELOPER-APACHE-SPARK exam. Databricks does not publish an official question count, but from its 90-minute exam (~35–60 total, ~4–6 in this domain), expect 1–2 from this objective — we provide 29 practice questions to prepare you well beyond it. (estimate)
Questions 16–20
- 16
A Spark application performs multiple aggregations on the same DataFrame keyed by a customer ID. The engineer notices that each aggregation triggers a full shuffle, causing high network I/O and slow performance. Which approach would most effectively reduce the number of shuffles?
Select an answer first - 17
A Spark job performs a join between two DataFrames. The Spark UI shows that one task processes 10 GB of data while all other tasks process less than 100 MB. The join key has a few values that appear very frequently. Which technique is most appropriate to mitigate this skew?
Select an answer first - 18
A Spark job performs a join between a large fact table and a small dimension table. The dimension table is 50 MB, and the default broadcast threshold is 10 MB. The engineer wants to avoid a shuffle join but does not want to change the global configuration. Which approach is most appropriate?
Select an answer first - 19
A Spark cluster has 10 executors, each with 4 cores. A job reads a large dataset and performs a series of transformations. The Spark UI shows that only 20 tasks are running at a time, and the cluster utilization is low. The engineer wants to increase parallelism to better utilize the cluster. Which configuration change is most appropriate?
Select an answer first - 20
A Spark DataFrame has 100 partitions. After a filter operation, the engineer wants to reduce the number of partitions to 20 to reduce the overhead of writing the output. The engineer is concerned about the cost of a full shuffle. Which method should be used?
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.