
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 6)
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 26–30
- 26
A Spark application is running slower than expected. The driver logs show that all stages are being submitted and completed, but there are long gaps between the completion of one stage and the submission of the next. The Spark UI shows no task failures or skew. What is the most likely cause of these gaps?
Select an answer first - 27
What is the primary purpose of correlating executor logs with Spark UI metrics?
Select an answer first - 28
What is the primary role of log4j in a Spark application?
Select an answer first - 29
A team is running a Spark job that processes a large dataset. The driver logs show a warning: 'Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources'. The Spark UI shows that the executors are registered and have memory available. What is the most likely cause of this warning?
Select an answer first - 30
To reduce the verbosity of Spark's own INFO messages while keeping WARN and ERROR messages, which log4j level should be set for the root logger?
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.