Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Databricks logo

DatabricksCertified Data Analyst Associate

Domain 5Objective 6

Fix a Query to Achieve the Desired Results. DATA-ANALYST-ASSOCIATE Practice Questions (Page 3)

Part of the Section 5: Analyzing Queries domain, which makes up ~17% of our current practice bank. Databricks does not publish an official question count, but from its 90-minute exam (~35–60 total, ~6–10 in this domain), expect 1–2 from this objective — we provide 16 practice questions to prepare you well beyond it. (estimate)

16questions here
4free pages
9concepts

Questions 11–15

  1. 11application · medium

    An analyst wants to display the top 3 products by total sales revenue. The following query returns the bottom 3 products. What is the error? SELECT product_name, SUM(revenue) AS total_revenue FROM sales GROUP BY product_name ORDER BY total_revenue ASC LIMIT 3;

    Select an answer first
  2. 12expert · medium

    A financial analyst runs the following query to compute the total revenue per region for the year 2023. The result shows NULL for some regions that had sales. The analyst expects 0 for regions with no sales, but regions with sales should show the correct total. What is the most likely cause and fix? SELECT region, SUM(revenue) AS total_revenue FROM sales WHERE year = 2023 GROUP BY region;

    Select an answer first
  3. 13foundation · easy

    A query is intended to show the total quantity sold for each product. The current query returns one row per product but the quantity column shows the quantity of a single order. Which change to the GROUP BY or aggregation would fix this?

    Select an answer first
  4. 14foundation · easy

    A query is meant to count the number of orders placed in January. The query returns a count of all orders. Which logical error is most likely the cause?

    Select an answer first
  5. 15expert · medium

    An analyst wants to find all products that have never been ordered. The following query returns no rows, but the analyst knows such products exist. What is the most likely logical error? SELECT p.product_name FROM products p WHERE p.product_id NOT IN ( SELECT o.product_id FROM orders o );

    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. “DATA-ANALYST-ASSOCIATE” is a trademark of its owner, used for identification only.