
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 2)
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 6–10
- 6
Which statistic in the summary() output describes the spread of the data around the mean?
Select an answer first - 7
A data engineer is using a Databricks notebook to explore a Spark DataFrame `transactions` with columns `transaction_id`, `amount`, `timestamp`, and `status`. They run `dbutils.data.summarize(transactions)` and see that the `amount` column has a histogram that is heavily right-skewed, with a long tail of high values. They also notice that the `status` column has a high percentage of missing values. What is the most appropriate next step for data cleaning?
Select an answer first - 8
What is the primary purpose of dbutils.data.summarize() in a Databricks notebook?
Select an answer first - 9
A data scientist is exploring a new Spark DataFrame `customer_events` in a Databricks notebook. They want to quickly understand the data types, missing values, and basic distribution of all columns without writing multiple commands. They also want an interactive visualization to share with their team. What should they do?
Select an answer first - 10
A data scientist has a Spark DataFrame `prices` with a column `price`. They run `prices.select('price').summary().show()` and see the following output: `count` = 1000, `mean` = 150.5, `stddev` = 75.2, `min` = 10, `25%` = 95, `50%` = 140, `75%` = 190, `max` = 500. Which conclusion about the `price` column is most appropriate?
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.