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)
- Historical data: for past candidates, years of IT experience, years of AWS experience, time spent on the course…
- Label it with each candidate's real score (670, 890, 934…).
- Build, train and tune an ML model on the labelled data.
- Deploy the model.
- 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:
Build, train and deploy a custom model with Amazon SageMaker AI: no pre-trained AI service predicts churn from a company's own data.
AWS documentation
Lex, Connect and Kendra
Amazon Lex for chatbots and voice bots, Amazon Connect for cloud contact centers and how they work together, and Amazon Kendra for ML-powered document search.
Monitoring & Governance
Monitoring, auditing and compliance on AWS, the difference between CloudWatch, CloudTrail and AWS Config, a load balancer example, and the map of this group.