Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Databricks logo

DatabricksCertified Associate Developer for Apache Spark

Domain 3Objective 4

User-Defined Functions and Stateful Operations ASSOCIATE-DEVELOPER-APACHE-SPARK Practice Questions (Page 3)

Part of the Developing Apache Spark™ DataFrame/DataSet API Applications domain, which accounts for 30% of the ASSOCIATE-DEVELOPER-APACHE-SPARK exam. Databricks does not publish an official question count, but from its 90-minute exam (~35–60 total, ~11–18 in this domain), expect 2–4 from this objective — we provide 26 practice questions to prepare you well beyond it. (estimate)

26questions here
6free pages
6concepts
30%of the exam

Questions 11–15

  1. 11application · medium

    A Spark job uses a Python UDF to convert a string column to a timestamp. The UDF is called on a column that contains many distinct string values. The job is slow. Which optimization is most effective?

    Select an answer first
  2. 12expert · hard

    A team is building a streaming application that must track user sessions. For each user, they need to output a session summary when the session ends (after 30 minutes of inactivity). They also need to output intermediate updates for active sessions. Which API should they use?

    Select an answer first
  3. 13expert · hard

    A streaming application uses mapGroupsWithState and needs to recover from a failure. The team is considering using the RocksDB state store provider. What is a key benefit of this choice?

    Select an answer first
  4. 14application · medium

    A streaming application uses flatMapGroupsWithState to generate output rows. The team wants to ensure that the state is checkpointed for fault tolerance. What is required?

    Select an answer first
  5. 15foundation · easy

    What happens when a state timeout is triggered in a stateful streaming operation?

    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.