
DatabricksCertified Associate Developer for Apache Spark
Perform Logging and Monitoring of Spark Applications - Publish, Customize, and Analyze Driver Logs and Executor Logs to Diagnose Out-Of-Memory Errors, Cluster Underutilization, Etc. 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 35 practice questions to prepare you well beyond it. (estimate)
Questions 16–20
- 16
A Spark job is failing with an 'OutOfMemoryError' on the driver. The driver logs show that the error occurs when the code calls a collect() action on a large DataFrame. The team has already increased the driver memory, but the problem persists. What is the most effective next step?
Select an answer first - 17
In a Spark application, where are driver logs typically written when running on a cluster?
Select an answer first - 18
Which log4j component controls the format of log messages (e.g., timestamp, level, logger name)?
Select an answer first - 19
A data engineering team is running a nightly Spark batch job that processes sensitive financial data. The job occasionally fails with an obscure error that only appears in the executor logs, but the default log level produces too much noise to find the root cause quickly. The team wants to increase the verbosity of logging specifically for the executors while keeping the driver logs at their current level to avoid overwhelming the driver log aggregator. Which approach should they take?
Select an answer first - 20
What does a high number of `java.lang.OutOfMemoryError` exceptions in executor logs typically indicate?
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.