Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Databricks logo

DatabricksCertified Associate Developer for Apache Spark

Domain 3Objective 2

Data Aggregation and Joins ASSOCIATE-DEVELOPER-APACHE-SPARK Practice Questions (Page 1)

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
11concepts
30%of the exam

Questions 1–5

  1. 1application · medium

    A retail company has a `sales` DataFrame with columns `transaction_id`, `product_id`, and `amount`. They also have a `products` DataFrame with `product_id` and `product_name`. The company needs a report that lists every transaction with its product name, but only for transactions where the product is still in the current catalog. Some transactions reference products that have been discontinued and are not in the `products` DataFrame. Which join type should be used?

    Select an answer first
  2. 2application · medium

    A data scientist has a `users` DataFrame with columns `user_id` and `name`, and a `permissions` DataFrame with `permission_id` and `description`. They need to generate all possible combinations of users and permissions for a matrix. The Spark configuration `spark.sql.crossJoin.enabled` is set to `false`. What should they do?

    Select an answer first
  3. 3foundation · easy

    What is the result of joining two DataFrames on multiple keys?

    Select an answer first
  4. 4expert · hard

    A data engineer is working with a very large `events` DataFrame (billions of rows) and needs to report the number of unique `user_id` values. The exact count is required for a compliance report, but the computation is taking too long. Which approach should they take?

    Select an answer first
  5. 5application · medium

    An HR analyst has an `employees` DataFrame with `employee_id` and `name`, and a `salaries` DataFrame with `employee_id` and `salary`. They need to compute the average salary for all employees, including those who may not have a salary record yet (e.g., new hires). Which approach should they take?

    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.