
DatabricksCertified Associate Developer for Apache Spark
Domain 5Objective 2
Create and Write Streaming DataFrames and Streaming Datasets, Including the Basic Output Modes and Output Sinks. ASSOCIATE-DEVELOPER-APACHE-SPARK Practice Questions (Page 1)
Part of the Structured Streaming 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 13 practice questions to prepare you well beyond it. (estimate)
13questions here
3free pages
4concepts
10%of the exam
Questions 1–5
- 1
A streaming query reads IoT sensor readings from Kafka. Each record contains a device_id, a reading_value, and an event_timestamp. The team needs a continuously updated dashboard showing the latest reading per device. They write the stream to a memory sink for the dashboard to query. Which output mode should they configure?
Select an answer first - 2
A developer needs to create a streaming DataFrame that reads JSON data from a directory in cloud object storage. Which code snippet correctly creates the streaming DataFrame?
Select an answer first - 3
A team is building a streaming pipeline that reads from Kafka, aggregates events by a 5-minute tumbling window, and writes results to both a Delta table (for historical analysis) and a memory sink (for a live dashboard). They need exactly-once semantics for the Delta table and the dashboard must always show the full aggregation. The query must also handle late data. Which approach satisfies all requirements?
Select an answer first - 4
Which sink is used to write streaming output to an in-memory table that can be queried interactively?
Select an answer first - 5
Which option is used with writeStream to specify the processing interval for micro-batch execution?
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.