Home / ML Associate practice test / Model Development / Question

Databricks Machine Learning Associate · free practice question

A fraud dataset has only 1 percent positive examples. A data scientist wants the training procedure itself to place more emphasis on the minority class without…

Exam-style question on Model Development from the free ML Associate practice test, with the answer and a full explanation below.

Updated November 10, 2026

Model Development

A fraud dataset has only 1 percent positive examples. A data scientist wants the training procedure itself to place more emphasis on the minority class without discarding data. Which approach directly does that?

  1. ADrop several input columns so the model trains on fewer features and converges more quickly during fitting
  2. BIncrease the test-set size so more fraud examples appear during model evaluation after training is complete
  3. CShuffle the rows before training so positive examples appear earlier in the input data than negative examples
  4. DStandardize the numeric columns so all features have mean zero and unit variance before model fitting
  5. ESet class weights or sample weights so errors on minority examples contribute more heavily to the training objective
Answer & explanation

Correct answer: E

WHY E: Reweighting classes changes the training objective so minority-class mistakes matter more and directly mitigates imbalance. WHY NOT A: Feature dropping does not address class prevalence. WHY NOT B: Changing the test split does not fix training bias. WHY NOT D: Scaling may help optimization but not class imbalance. WHY NOT C: Row order alone does not rebalance the objective.

Take the full ML Associate practice test free →

Would you pass today?

This question is one of 45 in the free, timed Databricks Machine Learning Associate practice test. Take it and get a section-by-section score.

Start the free test →