Skip to main content
CloudCertPrep
AIF-C01Domain 1: Fundamentals of AI and MLAI/ML FoundationseasySingle choice

A team wants a system that learns patterns from historical data to predict future sales — without writing explicit rules. Which approach is this?

A.Traditional rule-based programming

Rule-based systems use explicit if-then logic, not learned patterns.

B.Machine learning

Correct. Learning from data to predict is the definition of ML.

C.Generative AI

Generative AI produces new content (text, images) rather than predicting numeric outcomes.

D.Robotic process automation

RPA automates repetitive tasks via scripts; it doesn't learn.

Why this answer

Machine learning learns patterns from historical data to make predictions on new data — exactly the sales-forecasting scenario. Generative AI creates new content; rule-based systems use explicit hand-written logic.

Correct answer: B · Last reviewed 2026-10-26

Official AWS references

Practice this interactively

Answer without seeing the solution first in the AI/ML Foundations practice session.

Practice AI/ML Foundations