
DatabricksCertified Associate Developer for Apache Spark
Domain 5Objective 4
Perform Streaming Deduplication in Structured Streaming, Both with and Without Watermark Usage. ASSOCIATE-DEVELOPER-APACHE-SPARK Practice Questions (Page 4)
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 24 practice questions to prepare you well beyond it. (estimate)
24questions here
5free pages
6concepts
10%of the exam
Questions 16–20
- 16
How does a watermark help in state cleanup for deduplication in Structured Streaming?
Select an answer first - 17
What does the withWatermark method require as parameters?
Select an answer first - 18
A team is deduplicating log entries by `logId`. Each log entry has a `generatedAt` timestamp set by the source system. The team wants to use a watermark to limit state, but they are unsure whether to use `generatedAt` or the time the record is read by the stream. What is the correct choice and why?
Select an answer first - 19
A team is building a Structured Streaming job that deduplicates user actions using `dropDuplicates("actionId")`. They notice the state store is growing very large and want to enable periodic cleanup. The `actionTime` column contains the time the action occurred. What must they add to the pipeline?
Select an answer first - 20
Which method is used to configure a watermark on an event-time column in Structured Streaming?
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.