Skip to Content

SageMaker AI and Personalize

Amazon SageMaker AI for building, training and deploying custom machine learning models, the ML process in a simple example, and Amazon Personalize for real-time recommendations.

Amazon SageMaker AI

Amazon SageMaker AI is a fully managed service for developers and data scientists to build ML models.

  • Doing every step in one place, and provisioning servers for each, is typically difficult. SageMaker AI handles it: notebooks, data labelling, built-in algorithms, training, tuning, and deployment to hosted endpoints.
  • Use it when no pre-trained AI service fits and a custom model trained on the customer's data is needed.

Updated since the slides

Amazon SageMaker was renamed Amazon SageMaker AI in December 2024 (the slides already use the new name). "Amazon SageMaker" now names a wider platform that brings data, analytics and AI together. For the exam, SageMaker AI is the service that builds, trains and deploys models.

The machine learning process (simplified)

The machine learning process in SageMaker AI: historical data such as hours studied and years of AWS experience is labelled with each real exam score, then used to build, train and tune a model; the deployed model endpoint receives a new candidate's data and predicts a pass with 906 The machine learning process in SageMaker AI: historical data such as hours studied and years of AWS experience is labelled with each real exam score, then used to build, train and tune a model; the deployed model endpoint receives a new candidate's data and predicts a pass with 906

Predicting an exam score.
  1. Historical data: for past candidates, years of IT experience, years of AWS experience, time spent on the course…
  2. Label it with each candidate's real score (670, 890, 934…).
  3. Build, train and tune an ML model on the labelled data.
  4. Deploy the model.
  5. Apply it to new data (a new candidate) to get a prediction: "pass with 906".

Amazon Personalize

Not on the exam list

Amazon Personalize is on the exam guide's out-of-scope list. Read this only to recognise it as a wrong answer.

Amazon Personalize is a fully managed ML service to build apps with real-time personalized recommendations.

  • Examples: personalized product recommendations and re-ranking, customized direct marketing. A user bought gardening tools: recommend the next one to buy.
  • The same technology used by Amazon.com.
  • Reads data from S3 and real-time events from the Personalize API.
  • Integrates into existing websites, applications, SMS and email marketing systems.
  • Implement in days, not months (no ML to build, train and deploy in-house).
  • Use cases: retail stores, media and entertainment.

Real-world examples

  • An insurer trains a fraud-detection model on years of claims in SageMaker AI and calls its endpoint for every new claim.
  • A streaming service uses Personalize for its "Because you watched…" row.

Exam tips

  • "Build, train and deploy custom ML models", "data scientists" → SageMaker AI.
  • "Recommendations" → Personalize (out of scope, but recognise it).
  • "Least effort" with an AI service that fits (Rekognition, Comprehend…) beats building a model in SageMaker AI.

Common traps

  • "SageMaker AI for any ML need." If a pre-trained AI service does the job, use it; SageMaker AI is for custom models.

Check yourself

Training and hosting a model costs money per instance-hour, so instead:

AWS documentation

On this page

Open notes

Spotted a mistake?

These notes are open source. Suggest a fix, or star the repo if they helped you.

Suggest an edit

For AI agents: llms.txt · llms-full.txt