AIF-C01 Fundamentals of AI and ML Practice Question
A retail company wants to build a system that predicts next month's sales for each of its 500 stores based on historical sales, local holidays, and marketing spend. The target values are continuous dollar amounts, and the company has labeled historical data for every store. Which type of machine learning problem does this represent?
⚠ Common exam trap
The trap here is assuming any business forecasting problem must be classification just because it involves predicting a future outcome.
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
✓
Supervised regression, because the model learns from labeled data to predict a continuous numeric value.
The company holds labeled historical data and needs a continuous numeric output, next month's sales in dollars. That combination defines supervised regression, where the model learns a mapping from input features to a numeric target. Classification, unsupervised learning, and reinforcement learning all misalign with either the presence of labels or the continuous nature of the predicted value.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Unsupervised learning, because the model discovers hidden groupings of stores on its own.
Why it's wrong here
Unsupervised learning works with unlabeled data and finds structure such as clusters or associations. Here every historical record already includes the known sales figure the company wants to predict, so labels exist. Discovering store groupings does not produce the continuous dollar forecast the business needs, making this the wrong problem category for the stated goal.
- ✓
Supervised regression, because the model learns from labeled data to predict a continuous numeric value.
Why this is correct
The historical records pair input features such as past sales, holidays, and marketing spend with a known numeric target, next month's sales. Predicting a continuous quantity from labeled examples is exactly regression within supervised learning. This matches both the availability of labels and the continuous nature of the dollar amount the company needs forecasted.
- ✗
Supervised classification, because the model assigns each store to a predicted category.
Why it's wrong here
Classification predicts discrete class labels such as high, medium, or low, not a specific dollar figure. The scenario requires an exact numeric sales forecast for each store, which a class label cannot deliver. Although the data is labeled, the output type is continuous, so classification misrepresents the required prediction and would lose the precision the business needs.
- ✗
Reinforcement learning, because the model improves by receiving rewards after each prediction.
Why it's wrong here
Reinforcement learning trains an agent through trial-and-error interactions with an environment and reward signals, which this forecasting scenario does not provide. There is no sequential decision-making or reward feedback loop here, only historical labeled records. Applying reinforcement learning would introduce unnecessary complexity and would not naturally produce a per-store numeric sales forecast.
Go deeper
Related to this question
About these practice questions
One of 862 original AIF-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint
This AIF-C01 practice question is part of Courseiva's free Amazon Web Services 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 AIF-C01 exam.