Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Databricks logo

DatabricksCertified Associate Developer for Apache Spark

Domain 1Objective 3

Describe the Architecture of Apache Spark™, Including DataFrame and Dataset Concepts, SparkSession Lifecycle, Caching, Storage Levels, and Garbage Collection. ASSOCIATE-DEVELOPER-APACHE-SPARK Practice Questions (Page 1)

Part of the Apache Spark Architecture and Components domain, which accounts for 20% of the ASSOCIATE-DEVELOPER-APACHE-SPARK exam. Databricks does not publish an official question count, but from its 90-minute exam (~35–60 total, ~7–12 in this domain), expect 1–2 from this objective — we provide 24 practice questions to prepare you well beyond it. (estimate)

24questions here
5free pages
6concepts
20%of the exam

Questions 1–5

  1. 1expert · hard

    A team caches a large DataFrame with persist(StorageLevel.MEMORY_AND_DISK_SER) to save memory. Later, they notice that queries on the cached data are slower than expected. They suspect serialization overhead. They have enough memory to store the data deserialized. What should they do to improve query performance?

    Select an answer first
  2. 2expert · hard

    A Spark application is running on a cluster with limited resources. The driver is running out of memory because it is collecting large results to the driver using collect(). The team wants to reduce the driver's memory usage without changing the application logic. Which approach is most effective?

    Select an answer first
  3. 3foundation · easy

    Which storage level stores RDD partitions in memory, and if they do not fit, recomputes them instead of spilling to disk?

    Select an answer first
  4. 4application · medium

    A Scala developer is working with a Dataset[Person] where Person is a case class. They need to perform a filter operation on a field that exists in the case class. What is the primary advantage of using a Dataset over a DataFrame in this scenario?

    Select an answer first
  5. 5application · medium

    A developer is debugging a Spark application and wants to understand the relationship between SparkSession, SparkContext, and SQLContext. They notice that after creating a SparkSession, they can access the SparkContext via spark.sparkContext. What does this tell them about the relationship?

    Select an answer first
Finished these 5 questions?

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.