
DatabricksCertified Machine Learning Associate
Domain 2Objective 1
Compute Summary Statistics on a Spark DataFrame Using .summary() or Dbutils Data Summaries MACHINE-LEARNING-ASSOCIATE Practice Questions (Page 1)
Part of the Section 2: Data Processing domain, which makes up ~27% of our current practice bank. Databricks does not publish an official question count, but from its 90-minute exam (~35–60 total, ~9–16 in this domain), expect 1–2 from this objective — we provide 11 practice questions to prepare you well beyond it. (estimate)
11questions here
3free pages
3concepts
Questions 1–5
- 1
A data engineer is working with a Spark DataFrame `sales` that has columns `product_id`, `price`, `quantity`, and `region`. They run `sales.summary().show()` and see that the `price` column has a `mean` of 50, `stddev` of 20, `min` of 5, `25%` of 35, `50%` of 48, `75%` of 62, and `max` of 120. They need to identify if there are any potential outliers in the `price` column. Based on the summary statistics, which approach is most appropriate?
Select an answer first - 2
A data engineer runs `df.summary()` on a Spark DataFrame with a column `age`. The output shows `mean` = 35.2, `stddev` = 12.4, `min` = 18, `25%` = 25, `50%` = 33, `75%` = 44, and `max` = 89. Which interpretation of this data is most accurate?
Select an answer first - 3
A data analyst runs `df.summary()` on a Spark DataFrame with a column `score`. The output shows `count` = 500, `mean` = 70, `stddev` = 15, `min` = 20, `25%` = 60, `50%` = 72, `75%` = 82, `max` = 95. Which statement about the `score` column is most accurate?
Select an answer first - 4
In the output of df.summary(), which statistic indicates the central tendency of a numeric column?
Select an answer first - 5
A data analyst has a Spark DataFrame `transactions` with columns `transaction_id`, `user_id`, `amount`, and `timestamp`. They need to check if the `amount` column has any extreme outliers before building a fraud detection model. They want to see the min, max, mean, and standard deviation, as well as the 25th and 75th percentiles. Which single command will provide all of this information?
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. “MACHINE-LEARNING-ASSOCIATE” is a trademark of its owner, used for identification only.