AWS AI Practitioner (AIF-C01) Study Guide: Exam Notes
A free AWS Certified AI Practitioner study guide from real exam notes: ML basics, generative AI, Bedrock, SageMaker AI, RAG, agents and responsible AI.
Written by an engineer who passed this exam: verify on Credly ↗Exam domains (AIF-C01)
| Fundamentals of AI and ML | 20% |
| Fundamentals of Generative AI | 24% |
| Applications of Foundation Models | 28% |
| Guidelines for Responsible AI | 14% |
| Security, Compliance, and Governance for AI Solutions | 14% |
Weightings from the official AWS exam guide. Always check it for the current version.
These are my notes from preparing for the AWS Certified AI Practitioner (AIF-C01), rewritten into a guide that works even if you are new to AI or to AWS. I have updated them for the 2026 revision of the exam guide, which added agentic AI, and corrected a few things practice material gets wrong.
Exam mindset: you are not asked to build or tune models. You are asked to recognise a business problem and pick the right AI technique, AWS service or safeguard. When two answers look right, choose the one that is fully managed, needs the least custom work, and directly solves the stated requirement.
Exam format at a glance
- 65 questions in 90 minutes: 50 scored plus 15 unscored questions you can’t identify. Multiple choice (one correct answer) and multiple response (two or more correct out of five or more).
- Scored from 100 to 1,000; 700 to pass. No penalty for guessing, so never leave a question blank.
- 100 USD, at a Pearson VUE centre or online. Valid for 3 years; passing the Machine Learning Engineer – Associate also renews it.
- The exam guide explicitly says coding models, feature engineering, hyperparameter tuning and building pipelines are out of scope. Know what those things are, but not how to do them.
AI and ML fundamentals
The vocabulary
- AI is the broad goal of machines doing tasks that need human-like intelligence. Machine learning (ML) is the subset that learns patterns from data instead of following hand-written rules. Deep learning is ML using multi-layer neural networks. Generative AI uses deep learning models to create new content. Agentic AI adds the ability to plan, call tools and take multi-step actions toward a goal.
- Training is when the model learns from data. Inference is when the trained model makes predictions on new data.
- Overfitting: the model memorises the training data and does badly on new data (low bias, high variance). Underfitting: the model is too simple to learn the pattern (high bias). A good fit sits between them.
- Data types: labelled vs unlabelled, structured (tables) vs unstructured (text, images, audio), and time-series.
Types of learning
| Type | Data | Typical use | Example algorithms |
|---|---|---|---|
| Supervised | Labelled | Predict a known target | Linear regression, logistic regression, decision trees |
| Unsupervised | Unlabelled | Find structure or groups | k-means clustering, association rules, dimensionality reduction |
| Reinforcement | Rewards from an environment | Learn actions by trial and error | Robotics, game playing, AWS DeepRacer |
| Self-supervised | Unlabelled; labels created from the data itself | Pre-training foundation models | Predicting the next or masked word |
The details that questions turn on:
- Regression predicts a number (house price). Classification predicts a category. Logistic regression is, despite its name, a classification algorithm, classically for binary outcomes such as spam/not spam or disease/no disease.
- “Which shows are watched together?” is association rule learning (unsupervised). “How are preferences spread across genres?” is probability density estimation. “Group customers with no labels” is clustering.
- Foundation models are trained with self-supervised learning: the training signal comes from the input itself, so no one has to label billions of documents.
- Neural networks are not inherently supervised. They are trained supervised in most textbook examples, but autoencoders and foundation models are trained without human labels. On the exam, though, a neural network or decision tree is the wrong answer when the scenario is clearly unsupervised.
When not to use ML
ML gives a prediction with some uncertainty. If the business needs a guaranteed, exact outcome (calculating tax, applying a fixed rule), or the cost outweighs the benefit, a deterministic program is the better answer. Regulated decisions that must be fully explained may favour simpler, interpretable models over large foundation models.
Model metrics
| Metric | Use it when |
|---|---|
| Accuracy | Classes are balanced |
| Precision | False positives are costly (flagging a legitimate transaction as fraud) |
| Recall | False negatives are costly (missing a disease) |
| F1 score | You need a balance of precision and recall, especially with imbalanced classes |
| AUC-ROC | Comparing binary classifiers across thresholds |
| MAE / RMSE / R² | Regression |
Business metrics matter too: ROI, cost per user, development cost, customer feedback.
The ML lifecycle on SageMaker AI
Amazon SageMaker AI (renamed from Amazon SageMaker in December 2024; “SageMaker” is now also the name of the wider data and AI platform) is the service for building, training and deploying your own models. The lifecycle: business goal → data collection → data preparation → feature engineering → training → evaluation → deployment → monitoring → retraining.
Which SageMaker AI feature for which job
| Need | Feature |
|---|---|
| Label training data with human annotators | SageMaker Ground Truth |
| Clean and transform data visually | SageMaker Data Wrangler (also inside Canvas) |
| Store and share features | SageMaker Feature Store |
| No-code ML for business analysts, including time-series forecasting | SageMaker Canvas |
| Automatically build, train and tune models from tabular data | SageMaker Autopilot (AutoML; it does not focus on data cleaning) |
| Pre-trained and open models deployable in a few clicks | SageMaker JumpStart |
| Find the best hyperparameters | Automatic Model Tuning |
| Detect bias and explain predictions | SageMaker Clarify |
| Monitor deployed models for drift | SageMaker Model Monitor |
| Document a model’s purpose, data and performance | SageMaker Model Cards |
| Version and approve models | SageMaker Model Registry |
| Automate the workflow (process, train, evaluate, condition, register, deploy) | SageMaker Pipelines |
A basic training job: upload data to S3, create the training job, point it at the S3 data, and the output model artifact lands back in S3.
Training options that look alike
- Model parallelism splits a model that is too big for one GPU’s memory across several GPUs. That is the answer for “very large model, won’t fit on a single GPU”.
- Data parallelism copies the model to every GPU and splits the data, to train faster.
- Pipe mode (and FastFile mode) streams data from S3 instead of downloading it first: training starts sooner and needs less disk. It doesn’t help with model size.
- Managed Spot Training uses spare EC2 capacity to cut training cost. It saves money, nothing else.
- Incremental training continues from an existing model’s weights with new data.
Inference options
| Option | Best for |
|---|---|
| Real-time | Steady traffic needing low latency, always on |
| Serverless | Intermittent or spiky traffic that tolerates cold starts; pay only per request; no GPUs |
| Asynchronous | Large payloads or long processing (up to about an hour); requests are queued |
| Batch transform | Offline predictions on a whole dataset; pay only while the job runs |
Monitoring and human review
- Model Monitor watches production models for data drift, model quality drift, bias drift and feature attribution drift, and alerts through CloudWatch.
- Amazon Augmented AI (A2I) sends low-confidence predictions to human reviewers in production (for example, Textract or Rekognition results below a confidence threshold). Ground Truth labels data before training; A2I reviews predictions after deployment.
AWS AI services (no ML expertise needed)
| Service | What it does |
|---|---|
| Amazon Comprehend | NLP: sentiment, entities, key phrases, language, topics, and PII detection and redaction |
| Amazon Textract | Extract printed and handwritten text, forms and tables from scanned documents and PDFs |
| Amazon Rekognition | Image and video analysis: objects, faces, labels, content moderation, text in images |
| Amazon Transcribe | Speech to text, including PII redaction and medical transcription |
| Amazon Polly | Text to speech |
| Amazon Translate | Language translation |
| Amazon Lex | Chatbots and voice bots (the technology behind Alexa) |
| Amazon Kendra | Intelligent enterprise search across documents (closed to new customers; Bedrock Knowledge Bases is the usual alternative) |
| Amazon Personalize | Real-time recommendations |
Two corrections to common practice-question explanations: Comprehend can detect and redact PII, it just doesn’t evaluate foundation models. And for text in PDF documents, the answer is Textract; Rekognition works on images and video, not PDF files.
Generative AI fundamentals
Key concepts
- Tokens: the units a model reads and writes (roughly word pieces). Bedrock on-demand pricing is per input and output token.
- Embeddings: dense numeric vectors that capture meaning, so similar texts sit close together. They are stored in a vector database.
- Chunking: splitting documents into pieces before embedding them.
- Transformers power LLMs. Diffusion models generate images by learning to remove noise. Multimodal models handle several input or output types (text, image, audio).
- Context window: the maximum tokens a model can consider at once. Context engineering means deciding what goes into it: instructions, retrieved documents, memory, tool results.
Traditional ML vs generative AI
| Traditional ML | Generative AI | |
|---|---|---|
| Data | Mostly structured, tabular | Mostly unstructured: text, images, audio |
| Features | Engineered by hand with domain knowledge | Learned automatically by deep neural networks |
| Output | A prediction (number or class) | New content |
| Explainability | Often easier | Hard: a “black box” |
Strengths and weaknesses
- Strengths: adaptability across tasks, responsiveness (content in real time), simplicity for complex tasks, creativity, personalisation, scalability, and learning from relatively little task-specific data.
- Weaknesses: hallucinations (confident but false answers), nondeterminism (same prompt, different answers), bias, limited explainability, a knowledge cutoff, security and privacy risk, cost, and over-reliance by users.
A misconception worth fixing: foundation models don’t keep learning from your prompts. In-context learning means the model uses examples in the current prompt; its weights don’t change, and it forgets everything once the request ends.
Inference parameters
- Temperature: higher means more random and creative, lower means more focused and repeatable.
- Top-p and top-k limit which candidate tokens are considered.
- Maximum length caps output tokens (and cost). Stop sequences end generation early.
Amazon Bedrock and foundation model applications
Amazon Bedrock gives serverless API access to foundation models from Amazon (Nova) and other providers, without managing infrastructure. Your prompts and data aren’t used to train the base models.
Customising a model: the cost ladder
From cheapest to most expensive:
- Prompt engineering / in-context learning: no training at all.
- RAG (Retrieval Augmented Generation): retrieve relevant documents at query time and add them to the prompt. Best for up-to-date or company-specific facts and for reducing hallucinations. Amazon Bedrock Knowledge Bases does this end to end.
- Fine-tuning: train on labelled prompt-response pairs to teach a task, tone or format. Instruction tuning is a form of this.
- Continued pre-training: train on large amounts of unlabelled domain text (legal, medical) to teach the domain’s language.
- Pre-training from scratch: the most expensive; rarely the right answer.
Model distillation trains a smaller “student” model from a larger “teacher” model’s answers, for cheaper, faster inference. The customisation steps in Bedrock: prepare the training data in S3, run a fine-tuning or continued pre-training job, then set up inference. Custom models used to require Provisioned Throughput; many can now use on-demand inference, paying per token, so check the model’s support rather than assuming.
Provisioned Throughput buys dedicated model capacity for predictable, high-volume workloads. Batch inference processes large prompt sets offline at a lower price.
Vector stores on AWS
Amazon OpenSearch Service (including Serverless), Aurora PostgreSQL and RDS for PostgreSQL with pgvector, Amazon Neptune Analytics, Amazon S3 Vectors, DocumentDB and MemoryDB can all store embeddings. Knowledge Bases can create the vector store for you.
Prompt engineering
- Zero-shot: no examples. One-shot / few-shot: one or a few examples in the prompt. Chain-of-thought: ask the model to reason step by step.
- Good prompts contain an instruction, context, input data and an output format. A negative prompt says what to avoid.
- Prompt templates and Amazon Bedrock Prompt Management store, version and reuse prompts.
- Risks: prompt injection and hijacking (inputs that override your instructions), jailbreaking (bypassing safety rules), poisoning, and exposure of the system prompt or data.
Agents
An AI agent uses a model to reason, plan and call tools or APIs to complete multi-step tasks. Know the 2026 additions to the exam guide:
- Amazon Bedrock Agents: managed agents that call APIs (action groups) and knowledge bases.
- Amazon Bedrock AgentCore: services for running agents in production: Runtime, Memory, Gateway (turns APIs into tools), Identity, Policy, Observability, plus a browser and code interpreter.
- Strands Agents: AWS’s open-source SDK for building agents in code.
- Model Context Protocol (MCP): an open standard for connecting agents to external tools and data.
- Kiro: AWS’s agentic IDE for spec-driven development.
- Amazon Quick: the agentic workspace for business users (research, automation, BI). It evolved from Amazon QuickSight, which continues as a feature inside it.
- Multi-agent patterns: a supervisor agent delegating to specialist agents, with shared memory and workflow orchestration.
Evaluating models
| Metric | Measures | Typical task |
|---|---|---|
| ROUGE | Overlap of n-grams with a reference (recall-oriented) | Summarisation |
| BLEU | Precision of n-grams against a reference | Translation |
| BERTScore | Semantic similarity using embeddings | Chatbots, paraphrasing: meaning matters more than exact words |
| LLM-as-a-judge | Another model grades the output | Open-ended answers at scale |
ROUGE only counts matching word sequences, so it misses answers that say the same thing in different words. That is why BERTScore beats it for chatbot similarity. Amazon Bedrock Model Evaluation supports automatic metrics, human evaluation and LLM-as-a-judge, plus evaluation of knowledge bases (RAG). Also judge business outcomes: task completion rate, user satisfaction, cost per interaction.
Responsible AI
Dimensions to know
Fairness, explainability, privacy and security, safety, controllability, veracity and robustness (reliable, correct output even with unexpected or adversarial input), governance and transparency. Datasets should be inclusive, diverse, balanced and curated. Bias in data leads to unfair results for demographic groups.
Tools
- SageMaker Clarify: detects bias before training (in the data) and after training (in the model’s predictions), and explains predictions with feature importance (SHAP). It doesn’t do hyperparameter tuning, data augmentation or synthetic data.
- Amazon Bedrock Guardrails: content filters (hate, insults, sexual, violence, misconduct, prompt attacks), denied topics, word filters, sensitive information (PII) filters, contextual grounding checks against hallucination, and Automated Reasoning checks. Guardrails apply to inputs and outputs and work with any model.
- SageMaker Model Cards: documentation of intended use, training data, metrics and risks, for transparency and audits.
- AWS AI Service Cards: AWS’s own documentation of its AI services’ intended uses and limits.
- A2I and human audits for human oversight.
Legal risks of generative AI: intellectual property infringement, biased outputs, hallucinations, loss of customer trust and harm to end users. Transparent, interpretable models (linear models, decision trees) are easier to explain but often less accurate; that interpretability vs performance trade-off is a common question.
Security, compliance and governance
Securing AI workloads
- Shared responsibility: AWS secures the infrastructure and managed services; you secure your data, access, prompts and how you use outputs.
- IAM roles and least privilege for who can call which models. KMS for encryption at rest, TLS in transit.
- AWS PrivateLink (VPC interface endpoints) keeps traffic to Bedrock or SageMaker on the AWS network, off the public internet.
- Amazon Macie finds sensitive data such as PII in S3 before it goes into training data.
- Protecting a training dataset from unauthorised access or changes takes access control and encryption. Versioning and audit trails only record changes; they don’t prevent them.
- Data lineage and cataloguing document where data came from (source citation).
OWASP Top 10 for LLM applications (2025)
Prompt injection, sensitive information disclosure, supply chain, data and model poisoning, improper output handling, excessive agency (giving the model too much autonomy), system prompt leakage, vector and embedding weaknesses, misinformation and unbounded consumption (runaway cost or denial of service). Older study material uses the 2023 list (with insecure plugin design, overreliance, model theft); the ideas carry over.
Governance and compliance services
| Service | Role |
|---|---|
| AWS Artifact | Download AWS compliance reports and agreements |
| AWS Config | Track resource configuration and compliance rules |
| Amazon Inspector | Vulnerability scanning of EC2, containers and Lambda |
| AWS CloudTrail | Audit log of API calls, including Bedrock calls |
| AWS Audit Manager | Collect evidence for audits |
| AWS Trusted Advisor | Best-practice checks |
Frameworks: the NIST AI Risk Management Framework (managing AI risk and trustworthiness; NIST standards are the reference for US federal information systems, while FedRAMP only authorises cloud services for federal agencies), ISO/IEC 42001 (AI management systems), the EU AI Act, and AWS’s Generative AI Security Scoping Matrix, which classifies workloads from scope 1 (using a public consumer app) to scope 5 (training your own model).
A quick cloud basics reminder, since these appear too: an Availability Zone is one or more discrete data centres, and each AWS Region has at least three AZs.
Final exam tips
- Labelled data and a known target: supervised. No labels and “groups” or “patterns”: unsupervised. Rewards: reinforcement.
- “Company documents, up-to-date answers, fewer hallucinations”: RAG with Bedrock Knowledge Bases, not fine-tuning.
- “Change tone, format or task behaviour”: fine-tuning. “Learn a domain’s vocabulary from unlabelled text”: continued pre-training.
- “Bias” or “explain predictions”: Clarify. “Drift in production”: Model Monitor. “Human review of predictions”: A2I. “Labelling”: Ground Truth. “Documentation”: Model Cards. “Block harmful content or PII in a chatbot”: Bedrock Guardrails.
- Summaries: ROUGE. Translation: BLEU. Meaning: BERTScore.
- Spiky traffic: serverless inference. Huge payloads: asynchronous. Whole dataset overnight: batch.
- Watch for answers that are real AWS features but solve a different problem (Pipe mode, Spot training, Autopilot). The exam loves these distractors.
Frequently asked questions
Is the AWS AI Practitioner exam hard for beginners?
It is one of the more approachable AWS exams, and you do not need to write code. The difficulty is vocabulary: many questions offer four plausible AWS services or ML terms, and you have to know exactly what each one does. Learning the "which service or technique for which problem" pairs covers most of the exam.
What is the difference between AWS AI Practitioner and Cloud Practitioner?
Cloud Practitioner covers the AWS Cloud in general (billing, core services, security basics) and touches AI only lightly. AI Practitioner is entirely about AI, machine learning and generative AI concepts and the AWS services for them, such as Amazon Bedrock and SageMaker AI. You can take them in either order.
Did the AIF-C01 exam change in 2026?
The exam code is still AIF-C01 and the five domain weightings are unchanged, but AWS revised the exam guide in 2026 to add agentic AI topics: AI agents, the Model Context Protocol (MCP), context engineering, Amazon Bedrock AgentCore, Strands Agents, Kiro and Amazon Quick. Study from the current guide, not an older course outline.
How long does it take to prepare for the AWS AI Practitioner?
Most people need 2 to 4 weeks of steady study. Students and career-switchers with no AWS background should allow a little longer and learn basic AWS ideas such as IAM, S3 and the shared responsibility model alongside the AI topics.