AI0-001 Implementing AI Solutions Practice Question
A machine learning engineer is building a recommendation system for an e-commerce platform. The system should suggest products based on user purchase history and browsing behavior. Which model selection is BEST suited for this task?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Collaborative filtering model (e.g., matrix factorization)
Collaborative filtering models (e.g., matrix factorization) are effective for recommendation tasks using user-item interaction data. Linear regression is for regression, not recommendation. Image classification is unrelated. Random forests can be used but are less common for collaborative filtering.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Image classification model (e.g., CNN)
Why it's wrong here
A CNN classifies pixel patterns into fixed visual categories, so it cannot consume tabular purchase history or browsing sequences to rank products. It is tempting because recommendation output looks like labelling, and CNNs excel at image tasks; it would be correct if the platform recommended visually similar products from catalogue photographs.
- ✗
Linear regression
Why it's wrong here
Linear regression predicts a continuous numeric value from input features, so it cannot rank or score discrete catalogue items from purchase and browsing signals. It is tempting because it is the standard first model for forecasting tasks such as predicting spend; it would be the right choice if the platform needed to estimate a customer's next order value.
- ✗
Random forest classifier
Why it's wrong here
A random forest classifier predicts discrete labels, not ranked product preferences from purchase and browsing sequences; recommendation needs collaborative or content-based ranking. Random forests suit tabular classification such as churn or fraud. They are tempting because they handle mixed features well, but they output classes rather than relevance scores.
- ✓
Collaborative filtering model (e.g., matrix factorization)
Why this is correct
Collaborative filtering exploits the interaction matrix between users and items, learning latent factors from purchase and browsing history to predict unseen preferences. This directly matches the scenario's reliance on behavioural signals rather than item content, making matrix factorisation the best-suited approach for personalised product suggestions.
About these practice questions
Courseiva writes every AI0-001 question from scratch — 962 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AI0-001 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI0-001 exam.