All exams← All AWS Certified AI Practitioner (AIF-C01) notes

Amazon Bedrock, SageMaker & AI services: AWS Certified AI Practitioner (AIF-C01) revision notes

Revision notes

Amazon Bedrock

Bedrock is AWS's fully managed service for building generative AI apps using foundation models (FMs) from multiple providers — Amazon (Titan, Nova), Anthropic (Claude), Meta (Llama), Mistral, Cohere, AI21, and Stability AI — all through one API.

  • It is serverless: no infrastructure to provision or manage.
  • Bedrock lets you customise FMs via fine-tuning and continued pre-training on your own labelled data, stored privately.
  • Knowledge Bases add Retrieval Augmented Generation (RAG) by connecting FMs to your own data sources (S3, etc.) without retraining.
  • Agents for Bedrock let a model orchestrate multi-step tasks and call external APIs/Lambda functions.
  • Guardrails let you filter harmful content, block topics, redact PII, and reduce hallucinations — configurable independent of the model.
  • Your data is never used to train the underlying FMs, and stays encrypted in your VPC boundary — a common exam point on data privacy.

Amazon SageMaker

SageMaker is the end-to-end platform for building, training, and deploying your OWN custom machine learning models (not just using pre-trained FMs).

  • SageMaker Studio is the unified IDE for the whole ML lifecycle.
  • SageMaker Canvas gives a no-code visual interface for building ML models — key for the 'no coding required' exam clue.
  • SageMaker JumpStart provides pre-built, pre-trained models and solution templates you can deploy quickly.
  • SageMaker Data Wrangler simplifies data prep and feature engineering.
  • SageMaker Clarify detects bias in data/models and adds explainability (SHAP values).
  • SageMaker Model Monitor watches deployed models for data drift and quality degradation in production.
  • Ground Truth is for building high-quality labelled training datasets, including human-in-the-loop labelling.

Common mistake

Students mix up Bedrock (use/customise existing FMs) with SageMaker (build custom models from scratch). If the scenario says 'quickly build a generative AI app with minimal ML expertise', think Bedrock. If it says 'train a custom model on our own algorithm/data with full control', think SageMaker.

Pre-built AI services

AWS also offers task-specific AI services needing zero ML knowledge:

  • Amazon Rekognition — image and video analysis (object/face detection).
  • Amazon Textract — extracts text and data from scanned documents.
  • Amazon Comprehend — natural language processing, sentiment analysis, entity extraction.
  • Amazon Transcribe — speech to text.
  • Amazon Polly — text to speech.
  • Amazon Translate — language translation.
  • Amazon Lex — builds conversational chatbots (same tech as Alexa).
  • Amazon Kendra — intelligent enterprise search using natural language.
  • Amazon Personalize — real-time personalised recommendations.

Know which service maps to which use case — the exam loves matching questions.

Key facts

Flashcards

What is Amazon Bedrock in one sentence?
A fully managed, serverless service giving API access to multiple foundation models from providers like Anthropic and Meta to build generative AI apps.
tap to reveal
How does Bedrock differ from SageMaker?
Bedrock lets you use and customise existing foundation models; SageMaker lets you build, train, and deploy your own custom ML models from scratch.
tap to reveal
Does Bedrock use customer data to train its foundation models?
No — customer input and output data is never used to train the underlying FMs and remains private.
tap to reveal
What does Bedrock Knowledge Bases enable?
Retrieval Augmented Generation (RAG) — connecting a foundation model to your own external data sources for grounded answers, without retraining.
tap to reveal
What are Agents for Bedrock used for?
Orchestrating multi-step tasks and calling external APIs or AWS Lambda functions on the user's behalf.
tap to reveal
What does Bedrock Guardrails do?
Filters harmful content, blocks denied topics, and redacts PII, configurable independently of the underlying model.
tap to reveal
Which SageMaker tool is the no-code option for building ML models?
SageMaker Canvas.
tap to reveal
Which SageMaker tool detects bias and provides model explainability?
SageMaker Clarify, using SHAP values for explainability.
tap to reveal
Which SageMaker tool monitors deployed models for data drift?
SageMaker Model Monitor.
tap to reveal
Which SageMaker feature provides pre-built, pre-trained models and solution templates?
SageMaker JumpStart.
tap to reveal
Which AWS AI service extracts text and data from scanned documents?
Amazon Textract.
tap to reveal
Which AWS AI service performs sentiment analysis and entity extraction on text?
Amazon Comprehend.
tap to reveal
Which AWS AI service builds conversational chatbots?
Amazon Lex.
tap to reveal
Which AWS AI service gives real-time personalised recommendations?
Amazon Personalize.
tap to reveal
Which AWS AI service is used for intelligent enterprise search using natural language?
Amazon Kendra.
tap to reveal
Practice questions

Amazon Bedrock, SageMaker & AI services: 5 practice questions

Q1. A company wants to use a large language model to generate marketing copy without managing any GPU infrastructure or hosting servers. Which AWS service is purpose-built for this?
  • A.  Amazon Bedrock
  • B.  Amazon SageMaker notebook instances
  • C.  AWS Lambda
  • D.  Amazon EC2 with a deep learning AMI
Show answer & explanation
✓ Answer: A. Amazon Bedrock
Amazon Bedrock is a fully managed, serverless service that provides access to foundation models via API, with no infrastructure to provision or manage. EC2 and Lambda would require the customer to host and manage the model themselves.
Q2. In Amazon Bedrock, what is the primary purpose of 'model access' configuration in the console?
  • A.  To assign IAM users to SageMaker notebooks
  • B.  To enable an AWS account to request and use specific foundation models from providers like Anthropic, Meta, and Amazon
  • C.  To configure network routing between Availability Zones
  • D.  To set the maximum tokens per API call
Show answer & explanation
✓ Answer: B. To enable an AWS account to request and use specific foundation models from providers like Anthropic, Meta, and Amazon
Before invoking a foundation model in Bedrock, an account must request model access, which grants permission to use that specific provider's model. This is separate from IAM permissions and must be enabled per model per region.
Q3. A team wants their Bedrock model responses to be grounded in the company's internal PDF documents without retraining the model. Which Bedrock feature should they use?
  • A.  Model customization with fine-tuning
  • B.  Knowledge Bases for Amazon Bedrock
  • C.  Provisioned Throughput
  • D.  Guardrails for Amazon Bedrock
Show answer & explanation
✓ Answer: B. Knowledge Bases for Amazon Bedrock
Knowledge Bases for Amazon Bedrock implements Retrieval Augmented Generation (RAG) by indexing documents into a vector store and retrieving relevant chunks at query time, grounding responses without any retraining. Fine-tuning would require labeled training data and retraining the model.
Q4. Which Amazon Bedrock feature allows a foundation model to autonomously break down a multi-step task, call external APIs, and query a knowledge base to complete a user request?
  • A.  Bedrock Agents
  • B.  Bedrock Playgrounds
  • C.  Bedrock Model Evaluation
  • D.  Bedrock Guardrails
Show answer & explanation
✓ Answer: A. Bedrock Agents
Bedrock Agents orchestrate multi-step tasks by interpreting user input, invoking action groups (Lambda-backed APIs), and consulting knowledge bases as needed. Guardrails instead filters content, and Playgrounds is just an interactive testing UI.
Q5. A company needs to prevent its Bedrock-powered chatbot from generating responses about competitor products and from producing hate speech. Which feature should they configure?
  • A.  Provisioned Throughput
  • B.  Amazon Bedrock Guardrails
  • C.  Amazon SageMaker Clarify
  • D.  Amazon Comprehend PII redaction
Show answer & explanation
✓ Answer: B. Amazon Bedrock Guardrails
Guardrails for Amazon Bedrock lets you define denied topics, content filters (e.g., hate, violence), and word filters that apply to both prompts and model responses. Clarify is used for bias detection in SageMaker, not runtime content filtering.
Test yourself
See the AWS Certified AI Practitioner (AIF-C01) page

More AWS Certified AI Practitioner (AIF-C01) topics