
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 2)
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 6–10
- 6
A data engineer notices that a Spark job reading a large Parquet table is taking much longer than expected. In the Spark UI, the job shows a few tasks taking significantly longer than the majority, and the input data size per task varies widely. The cluster has 16 executors, each with 4 cores. Which action is most likely to improve the job's performance?
Select an answer first - 7
A Spark cluster has 10 executors, each with 4 cores and 16 GB of memory. A job processes a large DataFrame and performs a groupBy operation. The Spark UI shows that the job is running with only 10 tasks, and the cluster is underutilized. The engineer suspects data skew because a few tasks are taking much longer than others. Which combination of actions would best address both the low parallelism and the skew?
Select an answer first - 8
A Spark DataFrame has 10 partitions, and the engineer needs to increase the number of partitions to 100 to improve parallelism for a subsequent wide transformation. Which method should be used?
Select an answer first - 9
A Spark job processes a DataFrame with 200 partitions. After a filter operation, many partitions become empty. The engineer wants to reduce the number of partitions to 50 to improve the efficiency of subsequent operations, while minimizing the shuffle overhead. Which method should be used?
Select an answer first - 10
A Spark job performs multiple joins on the same key. The engineer notices that each join triggers a shuffle, causing significant network overhead. Which strategy would most effectively reduce the number of shuffles?
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.