Guide-linked quiz · Medium Level

Machine Learning Interview Questions Quiz

Tests evaluation, regularization, metric tradeoffs, and how public interview guidance informs preparation without promising an exact question list.

Question 1 of 8

Why can accuracy be misleading on a highly imbalanced dataset?

Preview every question8 questions

Answers and explanations appear as you take the quiz.

  1. Why can accuracy be misleading on a highly imbalanced dataset?
    • Accuracy is independent of the class distribution
    • Accuracy always equals recall
    • A majority-class predictor can score well while missing most rare positives
    • Accuracy ignores every correctly predicted negative
  2. Which metric directly measures the fraction of predicted positives that are correct?
    • Precision
    • Recall
    • Accuracy
    • False-negative rate
  3. How should a candidate choose between precision and recall priorities?
    • Always maximize precision regardless of the application
    • Choose the metric with the largest numeric value
    • Ignore the prediction threshold
    • Relate the choice to the relative cost of false positives and false negatives
  4. What does regularization seek to balance during model training?
    • Replace validation with training performance
    • Fit to the data while limiting unnecessary model complexity
    • Increase training error without considering generalization
    • Maximize the number of features regardless of evidence
  5. A model performs much better on training data than validation data. Which next step is most grounded?
    • Add features before checking the split
    • Change the test labels to match training
    • Check generalization, data splits, and possible leakage before choosing a fix
    • Report the training metric as expected production quality
  6. Which preparation areas does Microsoft’s public guide name for AI/ML interviews?
    • Only memorizing product names
    • Only writing research papers
    • Only designing mobile interfaces
    • Model evaluation, profiling, optimization, and applying ML principles
  7. How should candidates treat example interview prompts in this guide?
    • As a certification exam
    • As practice prompts, not a guaranteed list of questions
    • As the exact questions used by every employer
    • As a substitute for the job posting
  8. How can a candidate make a model-tradeoff answer useful?
    • State assumptions, baseline, metric, and what evidence could change the decision
    • Name the most complex model available
    • Avoid discussing data or errors
    • State a metric without explaining its relevance

Keep testing yourself

More quizzes picked for your level.

View all quizzes