dc dotCreds
Stanford / DeepLearning.AI Machine Learning Specialization

Stanford Machine Learning Practice Test

Start today's 10-question Stanford Machine Learning set with source-backed explanations, local progress, and a fresh rotation every morning.

10 Free Daily Questions Source-backed Explanations 150 Verified Questions

Questions updated at Jul 10, 2026, 12:01 AM CDT

Guided Course Included Learn Stanford Machine Learning step by step. Structured lessons, progress tracking, practice questions, and per-exam Course Notes covering every section in this bank.
Step-by-step lessons Per-exam Course Notes All sections included Practice tied to the same bank
Stanford Machine Learning icon

Stanford Machine Learning

Stanford / DeepLearning.AI Machine Learning Specialization

Why this page works

  • Daily exam-aligned questions
  • Source links on every explanation
  • Local progress saved automatically
  • Email sync path ready for later
  • Apps provide deeper drills when available
One-time unlock

Unlock the full ML Specialization bank

150 verified exam-style questions $2.99 one-time No subscription Secure checkout Instant unlock

Get the complete source-backed bank with correct-answer explanations, distractor breakdowns, saved review, full Course Mode, and per-exam Course Notes.

Instant unlock • Secure checkout • No subscription

Exam Mode Practice Mode Course Mode Course Notes Weak-area review Previous scores Source links Every choice explained No ads
See bundle and PDF options Already Pro? Open dashboard

Includes full Course Mode and Course Notes. We will confirm your site email in one quick checkout step.

Why DotCreds?

Practice with explanations that teach.

Source links for every answer Every wrong answer explained Guided Course included Practice and Exam Mode Weak-area tracking Same verified bank across web practice
Today's 10 Stanford Machine Learning questions

Use this Stanford Machine Learning practice test to review Machine Learning Specialization. Questions rotate daily and each explanation links to the source used to validate the answer.

Today’s Set
10 questions
Rotates at 10:00 AM local time
Progress
0/10
Answered on this page
Accuracy
0%
Loading countdown…

150 verified questions are in the live bank. Free daily questions are selected from a rotating sample set. Unlock Pro to access the full question bank.

Question 1 of 10
Objective MLS-01 Supervised Learning

For a introductory model evaluation plan, a team wants to estimate model performance on examples not used for fitting. What practice supports that?

Concept tested: Supervised Learning (MLS-01)
Question 2 of 10
Objective MLS-04 Recommender Systems

A product needs personalized item suggestions based on user behavior. Which machine learning approach is most effective for this task?

Concept tested: Recommender Systems (MLS-04)
Question 3 of 10
Objective MLS-07 Practical ML Workflow

A clickstream recommender dataset is imbalanced, and raw accuracy metrics may mask underlying issues. What question should the team prioritize?

Concept tested: Practical ML Workflow (MLS-07)
Question 4 of 10
Objective MLS-06 Neural Networks and Deep Learning

During the training of a neural network, what is the primary purpose of backpropagation?

Concept tested: Neural Networks and Deep Learning (MLS-06)
Question 5 of 10
Objective MLS-08 Specialization Scope

Within the Machine Learning Specialization, beyond supervised learning, what other key areas of study are covered?

Concept tested: Specialization Scope (MLS-08)
Question 6 of 10
Objective MLS-03 Unsupervised Learning

For a feature-scaling review, how can a team mitigate the impact of random K-means initialization on cluster assignments?

Concept tested: Unsupervised Learning (MLS-03)
Question 7 of 10
Objective MLS-05 Tree-Based Models

To split examples for model training and evaluation, a sequence of feature tests is typically used. Which model family is best suited for this approach?

Concept tested: Tree-Based Models (MLS-05)
Question 8 of 10
Objective MLS-02 Model Selection

A machine learning team is investigating poor model performance and needs to identify the most frequent types of errors. What process should they employ?

Concept tested: Model Selection (MLS-02)
Question 9 of 10
Objective MLS-01 Supervised Learning

A support-ticket model uses one-vs-all classification with four categories. What training setup is most appropriate?

Concept tested: Supervised Learning (MLS-01)
Question 10 of 10
Objective MLS-04 Recommender Systems

A recommendation system struggles to provide accurate suggestions for new users or items with limited historical data. What is the primary challenge?

Concept tested: Recommender Systems (MLS-04)
Locked preview

You are viewing today’s free 10. Unlock 140 more questions.

Unlock full bank
Daily sample Rotating practice Free daily questions are selected from a rotating sample set.
Pro bank Full access Unlock Pro to access the full question bank, Exam Mode, Practice Mode, and random tests.
ML Specialization Pro $2.99 one-time

Pro mode for this exam includes the full bank, Practice Mode, Exam Mode, full Course Mode, and Course Notes.

50 Exam Practice Test $1.99 one-time

A 50-question ML Specialization PDF for short review sessions. Questions come first, then the answer review and explanations later in the file.

AI / Machine Learning Access Bundle $6.99/month

Unlock Pro mode across AI, machine learning, MLOps, and generative AI practice.

Pro mode forAWS AI Practitioner, AWS ML Engineer Associate, Google Generative AI Leader, Google ML Engineer, Databricks ML Associate, IBM AI Engineering, NVIDIA GenAI LLM Associate, TensorFlow Developer, Stanford Machine Learning

Choose an unlock option to continue. We will confirm your site email in one quick checkout step.

Secure checkout powered by Stripe. Source-backed questions. Not brain dumps. Checkout stays on this page and unlocks the same Pro builder on this practice page.

Purchase options

Unlock the full ML Specialization bank. No ads.

Get the full bank, Exam Mode, Practice Mode, question sets, random tests, readiness tracking, saved box scores, and review tools for this exam.

The PDF versions keep questions first and move the answer review, explanations, and distractor notes to the back of the file.

150 verified exam-style questions Every choice explained Exam Mode and Practice Mode Question sets and random tests Readiness score and trends Previous test box scores

You've answered 0/10 questions in today's set.

Locked: 140 more questions in the full bank.

Locked: exam simulation mode, practice mode, readiness tracking, and saved review history.

Checkout stays on this page, so you can keep practicing, unlock the full bank, and start Exam Mode or Practice Mode when you are ready.

No ads

7-day score keeper

Answer questions today and this will become a rolling 7-day scorecard.

Local history
Optional progress sync

Keep today’s practice moving

Guest progress saves automatically on this device. Add an email later when you want a magic link that keeps your daily ML Specialization practice in sync across browsers.

Guest progress saves on this device automatically

Guest progress is available without an account.

Official exam resources

Use these official DeepLearning.AI resources alongside the daily practice set. They cover the provider's own exam page, study guide, or prep material.

Need adjacent DeepLearning.AI practice pages too? DeepLearning.AI practice hub.

Source-backed answer review

The free daily Stanford Machine Learning set includes crawlable question text, answer choices, correct answer labels, objective mapping, and source links. Only the first SEO card includes answer explanations. Pro-only bank questions stay locked; this section mirrors only the 10 free daily questions already shown on this page.

Question 1 For a introductory model evaluation plan, a team wants to estimate model performance on examples not used for fitting. What practice supports that?

Answer choices

  1. A. Separating training data from evaluation data
  2. B. Using clustering before every prediction task
  3. C. Skipping generalization checks
  4. D. Treating every feature as a target

Correct answer

Separating training data from evaluation data

This item tests a core machine-learning concept. The selected answer, "Separating training data from evaluation data", is right because held-out evaluation data estimates generalization on examples not used for fitting. The other options point to adjacent modeling, evaluation, optimization, or unsupervised-learning ideas rather than the concept required by the stem.

Wrong-answer review

  • B. Using clustering before every prediction task: This option handles a neighboring evaluation or preprocessing idea rather than the requested concept.
  • C. Skipping generalization checks: This option points to a separate optimization, modeling, or data-preparation step.
  • D. Treating every feature as a target: This option follows another ML workflow path rather than the requirement described here.

Objective/domain: Supervised Learning (MLS-01)

Source: CS229 Lecture Notes: Regularization and Model Selection

Question 2 A product needs personalized item suggestions based on user behavior. Which machine learning approach is most effective for this task?

Answer choices

  1. A. Image denoising only
  2. B. Recommender systems
  3. C. Polynomial feature expansion
  4. D. Gradient checking

Correct answer

Recommender systems

Objective/domain: Recommender Systems (MLS-04)

Source: Machine Learning Specialization

Question 3 A clickstream recommender dataset is imbalanced, and raw accuracy metrics may mask underlying issues. What question should the team prioritize?

Answer choices

  1. A. Whether the labels should be removed from training
  2. B. Whether clustering would fix class imbalance automatically
  3. C. Whether accuracy alone is the right evaluation metric
  4. D. Whether the optimizer should be replaced by k-means

Correct answer

Whether accuracy alone is the right evaluation metric

Objective/domain: Practical ML Workflow (MLS-07)

Source: CS229: Machine Learning syllabus

Question 4 During the training of a neural network, what is the primary purpose of backpropagation?

Answer choices

  1. A. Nearest-neighbor voting
  2. B. Hard clustering
  3. C. Backpropagation
  4. D. Manual feature labeling

Correct answer

Backpropagation

Objective/domain: Neural Networks and Deep Learning (MLS-06)

Source: CS229 Lecture Notes: Deep Learning

Question 5 Within the Machine Learning Specialization, beyond supervised learning, what other key areas of study are covered?

Answer choices

  1. A. It focuses only on one supervised algorithm for the entire program
  2. B. It also covers unsupervised learning, recommender systems, tree-based models, and neural networks
  3. C. It excludes all practical implementation work with Python tools
  4. D. It removes any discussion of model evaluation and overfitting

Correct answer

It also covers unsupervised learning, recommender systems, tree-based models, and neural networks

Objective/domain: Specialization Scope (MLS-08)

Source: Machine Learning Specialization

Question 6 For a feature-scaling review, how can a team mitigate the impact of random K-means initialization on cluster assignments?

Answer choices

  1. A. Increase the number of clusters k until the distortion drops to exactly zero
  2. B. Run the k-means algorithm multiple times with different random centroid initializations, and select the run that yields the lowest final distortion (cost)
  3. C. Initialize all centroids at the exact coordinate origin (all zeros) to ensure deterministic convergence
  4. D. Apply L2 regularization to the centroid coordinates to smooth the cost surface

Correct answer

Run the k-means algorithm multiple times with different random centroid initializations, and select the run that yields the lowest final distortion (cost)

Objective/domain: Unsupervised Learning (MLS-03)

Source: CS229 Lecture Notes: K-means clustering

Question 7 To split examples for model training and evaluation, a sequence of feature tests is typically used. Which model family is best suited for this approach?

Answer choices

  1. A. K-means clustering
  2. B. PCA
  3. C. Nearest-centroid segmentation
  4. D. Decision trees

Correct answer

Decision trees

Objective/domain: Tree-Based Models (MLS-05)

Source: Machine Learning Specialization

Question 8 A machine learning team is investigating poor model performance and needs to identify the most frequent types of errors. What process should they employ?

Answer choices

  1. A. Skip evaluation and retrain immediately
  2. B. Tune only the learning rate
  3. C. Remove unusual examples before reviewing them
  4. D. Error analysis

Correct answer

Error analysis

Objective/domain: Model Selection (MLS-02)

Source: CS229: Machine Learning syllabus

Question 9 A support-ticket model uses one-vs-all classification with four categories. What training setup is most appropriate?

Answer choices

  1. A. Train a single binary classifier that predicts a continuous value from 1 to 4, then round the output to the nearest integer
  2. B. Train six pairwise binary classifiers and use a voting system to determine which category wins the most duels
  3. C. Train four separate binary classifiers, one for each category, and assign the ticket to the category whose classifier outputs the highest probability
  4. D. Perform k-means clustering with k=4 on the support tickets and assign the categories based on the final cluster centroids

Correct answer

Train four separate binary classifiers, one for each category, and assign the ticket to the category whose classifier outputs the highest probability

Objective/domain: Supervised Learning (MLS-01)

Source: Machine Learning Specialization - Multiclass Classification

Question 10 A recommendation system struggles to provide accurate suggestions for new users or items with limited historical data. What is the primary challenge?

Answer choices

  1. A. Regularization failure
  2. B. Convex optimization
  3. C. Cold start
  4. D. One-hot encoding

Correct answer

Cold start

Objective/domain: Recommender Systems (MLS-04)

Source: Machine Learning Specialization

Where to go after the daily web set

How are Stanford Machine Learning questions generated?

dotCreds builds Stanford Machine Learning practice questions from public exam objectives and DeepLearning.AI exam and documentation references. The questions are written for realistic study practice, not copied from exam dumps.

How are explanations sourced?

Each question includes an explanation and, when available, a source link back to the provider documentation or reference used to validate the answer. That keeps the practice tied to study material you can actually review.

What score do I get?

The page tracks today's answered count and accuracy for the 10-question daily set, then saves a 7-day score history on this device so you can see your recent practice trend.

Why use this site?

The site is the fastest way to start Stanford Machine Learning practice without installing anything. It is built for daily recall, quick weak-topic discovery, and source-backed explanations you can review immediately.

Why use the app when available?

The web page is the quick daily practice layer. If a dotCreds app is available for Stanford Machine Learning, the app is better for larger banks, focused weak-domain drills, longer review sessions, and mobile study routines.