
DatabricksCertified Associate Developer for Apache Spark
Domain 2Objective 3
Save Data to Persistent Tables While Applying Sorting and Partitioning to Optimize Data Retrieval. ASSOCIATE-DEVELOPER-APACHE-SPARK Practice Questions (Page 1)
Part of the Using Spark SQL 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 2–3 from this objective — we provide 22 practice questions to prepare you well beyond it. (estimate)
22questions here
5free pages
7concepts
20%of the exam
Questions 1–5
- 1
A data analyst wants to save a DataFrame as a table that can be queried in future Spark sessions. They also want to ensure that the table is stored in a specific directory on the company's data lake. Which approach should they use?
Select an answer first - 2
A company has a table with columns `country`, `city`, and `user_id`. Queries frequently filter on `country` and `city`, and also join on `user_id`. The table is currently partitioned by `country`. You need to improve performance for both the filter and the join. Which strategy is most effective?
Select an answer first - 3
What is the primary benefit of partitioning a table by a column like 'date'?
Select an answer first - 4
A media streaming company stores user viewing history in a large table. Queries frequently filter on `user_id` to retrieve a user's viewing history, and also join the table with a `users` table on `user_id`. The table is currently partitioned by `country` and `date`. Query performance is poor. You need to optimize for both the filter and the join. Which strategy should you choose?
Select an answer first - 5
When is bucketing most beneficial for query performance?
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.