AWS Certified Cloud Practitioner
AWS AI and Machine Learning Services
Learn the AWS AI and ML stack: pre-trained AI services like Rekognition and Comprehend, the Amazon SageMaker platform for building your own models, and generative AI with Amazon Bedrock and Amazon Q.
- Describe the three layers of the AWS AI and ML stack
- Match common pre-trained AI services to the problems they solve
- Explain what Amazon SageMaker is and how it differs from the pre-trained AI services
- Identify Amazon Bedrock and Amazon Q as the AWS generative AI services
Why this matters
AWS gives you machine learning at three very different levels of effort. You can call a ready-made AI service and get a result in one API request, you can build and train your own model on the Amazon SageMaker platform, or you can tap into generative AI with foundation models. The CLF-C02 exam does not ask you to train a model or write code. It asks you to recognize the main services and match a described problem to the right one.
This lesson maps out the AWS AI and ML stack so the names stop blurring together. You will see how the layers differ, what each pre-trained service is for, where SageMaker fits, and which services cover generative AI.
The three layers of the AWS AI stack
Think of AWS machine learning as three stacked layers, from least effort to most control.
Pre-trained AI services sit at the top. AWS already trained these models, so you send data to an API and get an answer back: a label for an image, the sentiment of a sentence, an audio file from text. No ML knowledge is needed. This is where most Cloud Practitioner questions land.
The ML platform, Amazon SageMaker, sits in the middle. You reach for it when the pre-trained services do not fit and you need to build, train, and deploy your own model on your own data. It still removes a lot of heavy lifting, but you are doing real ML work here.
Generative AI is the newest layer. Amazon Bedrock and Amazon Q let you use foundation models to generate text, answer questions, and build assistants, without training a model from scratch.
A quick rule of thumb: if AWS already solved the problem, use a pre-trained service; if you need a custom model, use SageMaker; if you want generative AI, use Bedrock or Q.
Pre-trained AI services
These services deliver ready-made intelligence through an API. You do not train anything. The exam expects you to know what each one does and to pick the right one for a scenario.
| Service | What it does | Typical use |
|---|---|---|
| Amazon Rekognition | Image and video analysis | Detect objects, people, text, and scenes; facial analysis and comparison; content moderation |
| Amazon Comprehend | Natural language processing | Find sentiment, key phrases, entities, and language in text |
| Amazon Textract | Extract text and data from documents | Pull text, tables, and form fields from scanned PDFs and images |
| Amazon Translate | Language translation | Translate text between languages for websites and apps |
| Amazon Polly | Text to speech | Turn written text into lifelike spoken audio |
| Amazon Transcribe | Speech to text | Convert spoken audio into written text, such as subtitles or call transcripts |
| Amazon Lex | Conversational interfaces | Build text and voice chatbots and IVR systems |
| Amazon Kendra | Intelligent search | Search across enterprise documents and get direct answers |
| Amazon Personalize | Recommendations | Generate individualized product and content recommendations |
| Amazon Forecast | Time-series forecasting | Predict future values like demand or inventory from historical data |
| Amazon Fraud Detector | Fraud detection | Spot potentially fraudulent online activity |
A few pairs trip people up, so anchor them now:
- Polly versus Transcribe. Polly is text to speech (text goes in, audio comes out). Transcribe is speech to text (audio goes in, text comes out). They are mirror images.
- Comprehend versus Translate. Comprehend analyzes what text means (sentiment, entities, language). Translate converts text from one language to another.
- Rekognition versus Textract. Rekognition analyzes images and video for objects, people, and scenes. Textract pulls structured text and data out of documents like forms and tables.
Amazon SageMaker
Amazon SageMaker is the platform for building, training, and deploying your own machine learning models. You use it when the pre-trained services do not cover your problem and you need a model trained on your specific data, such as predicting equipment failure from your own sensor readings.
SageMaker provides the tools for the whole ML workflow in one place: preparing data, picking an algorithm, training the model, tuning it, and deploying it to make predictions. It manages the underlying infrastructure so you focus on the model rather than the servers.
For the exam, hold one clear line: a pre-trained AI service is a finished product you call through an API, while SageMaker is the workshop where you build a model yourself. If a question describes a team building and training a custom model, the answer is SageMaker.
Generative AI: Amazon Bedrock and Amazon Q
Generative AI uses large foundation models to produce new content, such as text, summaries, and answers. AWS offers two services you should recognize.
Amazon Bedrock is a fully managed service that makes foundation models from Amazon and leading AI companies available through a single API. You can experiment with these models, customize them with your own data, and build generative AI applications without managing any infrastructure or training a model from scratch. Bedrock is the service for developers building generative AI features into their own apps.
Amazon Q is a generative AI assistant. Amazon Q Business answers questions, summarizes information, and completes tasks using your company's internal data, which helps employees work faster. Amazon Q Developer helps with coding, testing, debugging, and working with AWS resources. Think of Q as a ready-to-use assistant, where Bedrock is the building block for your own generative AI apps.
Exam tips
- The AWS AI stack has three layers: pre-trained AI services (call an API), Amazon SageMaker (build your own model), and generative AI (Amazon Bedrock and Amazon Q).
- Pre-trained AI services need no ML expertise. Match the service to the task: Rekognition (images and video), Comprehend (text meaning), Textract (data from documents), Translate (languages), Polly (text to speech), Transcribe (speech to text), Lex (chatbots), Kendra (search), Personalize (recommendations), Forecast (time-series prediction), Fraud Detector (fraud).
- Remember the mirror pairs: Polly is text to speech, Transcribe is speech to text.
- Amazon SageMaker is the platform to build, train, and deploy custom models. Pick it when a scenario involves building a model on your own data.
- Amazon Bedrock gives access to foundation models through one API for building generative AI apps. Amazon Q is a ready-to-use generative AI assistant.
