AWS AIF-C01 Cheat Sheet: GenAI, RAG, Agents, and Bedrock

AWS AIF-C01 cheat sheet for GenAI, RAG, agentic AI, Amazon Bedrock, prompt management, responsible AI, security, governance, traps, and final review.

On this page

Keep this cheat sheet open while drilling questions. AIF‑C01 rewards clean definitions, best-fit service selection, and risk-aware design (hallucinations, privacy, prompt injection, responsible use).


Quick facts (AIF-C01)

I verified these current AWS exam facts on May 24, 2026.

Item Value
Questions 65 total
Scoring 50 scored + 15 unscored (unscored items are not identified)
Question types Multiple choice, multiple response, ordering, matching
Time 90 minutes
Passing score 700 (scaled 100–1000)
Cost 100 USD

Domain weights and review priority

Domain Weight What to compress for final review
Fundamentals of AI and ML 20% AI vs ML vs deep learning, supervised/unsupervised learning, metrics, lifecycle
Fundamentals of GenAI 24% tokens, context windows, embeddings, hallucination, temperature/top-p, GenAI limits
Applications of Foundation Models 28% Bedrock, RAG, agents, prompt engineering, evaluation, AWS AI services
Guidelines for Responsible AI 14% bias, fairness, transparency, explainability, human oversight, harmful output
Security, Compliance, and Governance for AI Solutions 14% IAM, KMS, privacy, least privilege, audit, data minimization, compliance boundaries

The highest-weight domain is Applications of Foundation Models. Spend final review time on service fit, RAG, prompt patterns, and model-risk decisions, not on deep ML implementation details that AWS says are out of scope for the target candidate.

Practitioner scope boundary

AIF-C01 is a foundational use-and-decide exam, not an ML engineering exam. When an answer asks you to build, tune, or operate a full ML platform, check whether the stem really requires that depth.

Keep the answer at this altitude:

  1. Business fit: What outcome does the organization need?
  2. AI pattern fit: Is this classification, prediction, GenAI, RAG, agentic tool use, extraction, or evaluation?
  3. AWS service fit: Which managed AWS service or feature matches the use case with the least unnecessary complexity?
  4. Risk fit: What could go wrong: hallucination, bias, prompt injection, sensitive-data exposure, cost, latency, or weak governance?
  5. Control fit: Which control closes the risk: IAM, encryption, redaction, guardrails, citations, human review, monitoring, or audit evidence?

Avoid answers that jump straight to model training, feature engineering, hyperparameter tuning, or custom pipeline infrastructure unless the question explicitly asks for those advanced implementation details.

Official task compression

Domain Official task pattern What to remember under time pressure
Fundamentals of AI and ML define AI/ML/GenAI, learning types, inference modes, lifecycle, metrics, business value This is vocabulary plus business-fit reasoning, not math-heavy model building.
Fundamentals of GenAI tokens, context, model choice, benefits/risks, cost/latency, context engineering, agentic concepts Token usage drives cost and latency; context quality controls usefulness.
Applications of Foundation Models Bedrock, RAG, agents, prompt engineering, model customization, evaluation Choose prompt/RAG/agent/fine-tuning from the business problem and risk profile.
Guidelines for Responsible AI fairness, transparency, explainability, human feedback, model cards, evaluations Responsible AI means documented limits, human oversight, and measurable evaluation, not only safer wording.
Security, Compliance, and Governance IAM, encryption, Macie, PrivateLink, prompt injection, output validation, audit trails Minimize sensitive data, scope permissions, validate outputs, log AI interactions, and filter unsafe behavior.

Current objective cues

Treat these as current final-review cues from the AWS exam guide:

Newer cue What it means for exam answers
Agentic AI Know that agents use tools, memory/context, and orchestration to complete multi-step tasks.
Context engineering Improve the full context package: instructions, retrieved content, history, tools, and output constraints.
Token-based pricing Cost and latency rise with input/output tokens; reduce context and choose smaller models when quality allows.
Prompt management Version and manage prompts instead of changing production prompts ad hoc.
LLM-as-a-judge A possible evaluation method, but still validate with representative test sets and human review where risk is high.
Output filtering and validation Guardrails, validation, and confidence/grounding checks reduce hallucination and unsafe-output risk.

Final answer stack

When two answers both sound plausible, prefer the one that follows this stack:

  1. Define the use case before the service. Do not choose Bedrock, SageMaker AI, Comprehend, Textract, or Rekognition until the task is clear.
  2. Choose managed capability before custom build. AIF-C01 usually rewards the right managed service, not custom ML infrastructure.
  3. Ground facts before tuning style. If the problem is stale or private knowledge, fix retrieval and citations before changing model size.
  4. Protect data before improving output. Sensitive prompts, retrieved context, logs, and generated output all need data-boundary thinking.
  5. Evaluate before trusting. Use representative tests, feedback, monitoring, and review for quality, safety, and responsible use.

How AIF-C01 questions work (fast strategy)

  • Treat every question as scored. Unanswered questions are wrong, and there is no penalty for guessing.
  • For ordering and matching, all placements/pairs must be correct to get credit.
  • If the prompt says least operational effort, prefer managed services (and native integrations).
  • If the question is about “improving factual accuracy,” the best answer is often grounding (RAG + citations) rather than “make the model bigger.”
  • If the question is about “sensitive data,” the best answer usually includes least privilege, encryption, and minimizing what you send to the model.
  • If the scenario includes “untrusted user input,” think prompt injection defenses and safe tool use (allowlists, scoped permissions).
  • Read the last sentence first to capture the constraint (cost, latency, safety, compliance).

Question-type traps

Question type Exam-day habit
Multiple choice Choose the best fit for the named business problem, not the most advanced AI service.
Multiple response Select every required control; missing privacy, safety, or governance makes the set wrong.
Ordering Put problem definition, data readiness, model/service selection, evaluation, and monitoring in a logical lifecycle order.
Matching Match service to use case: Textract for document extraction, Comprehend for NLP, Bedrock for foundation models, SageMaker AI for custom ML.

For ordering and matching, all placements or pairs must be correct to receive credit. Do not rush these as if they were ordinary single-answer items.

Final 20-minute recall (exam day)

Cue -> best answer (pattern map)

If the question says… Usually best answer
Improve factual accuracy on private content RAG with citations (not just a larger model)
Minimize hallucination risk Retrieval grounding, stricter prompts, lower temperature, output checks
Protect sensitive data in prompts Minimize/redact data + IAM least privilege + KMS/TLS
Untrusted user prompt can call tools Allowlist tools/actions + scoped role permissions + validation
Need custom tone/format only Prompt template first; fine-tuning only if prompt/RAG are insufficient
Need low-latency + low-cost generation Smaller model, prompt compression, caching, reduced context window
Responsible AI / harmful output concern Guardrails, moderation, human review for high-risk actions
Need explainable responses Require citation snippets from retrieved context
Retrieval quality is poor Improve chunking, metadata filters, embedding model, top-k tuning
Production quality drift Add evaluation datasets + online monitoring + feedback loop

Practitioner decision chooser

Business need Best first move Why the distractor is weaker
Answer questions from changing private documents RAG with source controls and citations Fine-tuning alone does not keep facts current.
Make responses follow a repeatable format Prompt template and prompt management Custom training is heavier than needed.
Execute multi-step work with tools Agent with allowlisted tools and scoped permissions A plain chatbot cannot safely perform external actions.
Reduce unsafe or policy-violating output Bedrock Guardrails, moderation, validation, and human review where needed Prompt wording alone is brittle.
Compare candidate model outputs Representative eval set, human review, model evaluation, possible LLM-as-a-judge A few demo prompts do not prove quality.
Lower cost and latency Smaller model, shorter context, caching, fewer output tokens Bigger context/model often increases cost without improving task fit.
Protect regulated or sensitive data Data minimization, redaction, IAM, KMS/TLS, PrivateLink, audit logs Sending raw sensitive data to prompts/logs creates exposure risk.

Must-memorize formulas and levers

Item Fast recall
Precision TP / (TP + FP)
Recall TP / (TP + FN)
F1 2 * (precision * recall) / (precision + recall)
Temperature Lower = more deterministic; higher = more diverse/risky
Top-p Lower = narrower token sampling; higher = broader creativity
RAG quality Retrieval quality usually dominates answer quality

Last-minute traps

  • Picking fine-tuning when RAG + prompt engineering already solves grounding.
  • Sending raw PII/secrets to model prompts or logs.
  • Ignoring prompt injection in agent/tool scenarios.
  • Treating model confidence as truth without retrieval evidence.

Target candidate and scope boundaries

  • Target depth is practitioner-level: up to ~6 months of AI/ML exposure on AWS.
  • You are expected to use AI/ML services, not build custom AI/ML systems from scratch.
  • Usually out of scope: coding models, feature engineering, hyperparameter tuning, building ML pipelines/infrastructure, deep math/statistics, and designing governance frameworks from zero.

0) Core mental model: a GenAI app (with RAG)

    flowchart LR
	  U[User] --> A[App / API]
	  A -->|Prompt + context| FM[Foundation Model]
	  A -->|Embed query| E[Embeddings]
	  E --> VS[(Vector Store)]
	  VS -->|Top-k chunks| A
	  A -->|Policy filters| G[Guardrails / Moderation]
	  A -->|Logs/metrics| O[Observability]
	  A -->|AuthN/AuthZ| IAM[IAM / Identity]

RAG in one sentence: retrieve relevant private content, then ask the model to answer using only that content (ideally with citations).

Pattern chooser

  • Prompting when the issue is wording, format, tone, or instructions.
  • RAG when the issue is stale, private, or enterprise knowledge.
  • Agent when the issue is multi-step tool use with permissions and audit.
  • Guardrails when the issue is unsafe output, policy, or data exposure.
  • Fine-tuning only when the behavior is stable enough to learn from examples.

Prompt, RAG, agent, or fine-tuning?

Stem clue First-fit pattern Include this control
“Answer from company policy, current docs, or private knowledge” RAG Approved corpus, metadata filters, citations, and access checks
“Follow this exact format or tone” Prompt template Versioned prompt, examples, delimiter use, and regression tests
“Take actions across systems” Agentic AI Tool allowlist, scoped credentials, validation, audit trail, and human approval for high-risk actions
“Style/behavior is stable across many examples” Fine-tuning Training data quality, eval set, and drift monitoring
“Unsafe content or policy boundary” Guardrails and output validation Harm filters, refusals, topic limits, and review workflow
“Cost/latency is too high” Model/context optimization Token reduction, smaller model, caching, and shorter responses

Scenario eliminations

Stem clue Eliminate first Keep in play
private or current company knowledge is required bigger model or fine-tuning only RAG with approved sources, retrieval filtering, and citations
output may be harmful, biased, or policy-sensitive prompt wording alone guardrails, moderation, evaluation, and human review for high-impact use
user input can influence tools or instructions broad agent permissions allowlisted tools, scoped IAM, validation, and audit
question mentions context engineering just increase max context curated instructions, retrieved facts, relevant history, tool definitions, and output schema
token cost is the problem tune hyperparameters shorter prompts, fewer retrieved chunks, smaller model, cache, and concise output
team only needs to use AI service capabilities custom ML pipeline managed AWS AI service or Bedrock feature that fits the use case
task is document text extraction generic chatbot answer Textract, validation, and downstream review
task is sentiment, entities, or text classification training an LLM from scratch Comprehend or a managed NLP path

The practitioner exam rewards “right managed capability for the business use case.” If an answer asks you to build, tune, or operate a full ML platform without a clear need, it is often too advanced for AIF-C01.

AIF-C01 answer sequence

Use this when the stem mixes model choice, retrieval, safety, and operations.

    flowchart TD
	  S["Scenario"] --> W["Workload and goal"]
	  W --> R["Risk: stale facts, unsafe output, exposure, latency, or cost"]
	  R --> P["Pick prompt, RAG, agent, guardrail, or workflow"]
	  P --> C["Apply IAM, KMS, logging, review, retry, or rollback"]
	  C --> E["Verify with citations, metrics, tests, or audit trail"]

1) AI/ML fundamentals (Domain 1)

Core terminology (must know)

Term Exam-friendly meaning
AI Broad goal: machines doing tasks that appear intelligent (perception, language, planning).
ML Subset of AI: models learn patterns from data to make predictions/decisions.
Deep learning ML with neural networks (often needs more data/compute; strong for vision/language).
GenAI AI that creates new text, images, code, audio, video, or structured content from prompts/context.
Agentic AI AI pattern where an agent uses models, tools, context, and workflow steps to pursue a goal.
Supervised learning Learn from labeled examples (classification/regression).
Unsupervised learning Find structure without labels (clustering, dimensionality reduction).
Reinforcement learning Learn actions via rewards/penalties (policies).
Feature / label Input signal vs correct output.
Training vs inference Fit the model vs use the model to predict/generate.
Overfitting Great on training data, poor on new data (memorization).
Data leakage Training sees information it shouldn’t (inflates metrics).
Drift Data or reality changes → performance decays over time.

Metrics (common, conceptual)

Use case Useful metrics What to watch for
Classification Precision/recall/F1, ROC-AUC Class imbalance; false positives vs false negatives
Regression MAE/MSE/RMSE Outliers; error tolerance
Ranking/retrieval Precision@k / Recall@k “Did we retrieve the right things?”

ML lifecycle (high level)

    flowchart LR
	  P[Define problem + metric] --> D[Collect/prepare data]
	  D --> T[Train + tune]
	  T --> E[Evaluate]
	  E --> DEP[Deploy]
	  DEP --> M[Monitor + feedback]
	  M --> D

Common best answer patterns:

  • If you can’t define a metric or get data, ML is usually the wrong first move.
  • Production ML needs monitoring (quality/latency/cost) and retraining plans.

2) Generative AI fundamentals (Domain 2)

Key GenAI terms (must know)

Term Exam-friendly meaning
LLM Language model that generates text from prompts.
Tokens Model “chunks” of text; drives cost/limits.
Context window Max tokens model can consider in one request.
Embeddings Numeric vectors that capture semantic meaning for similarity search.
Vector store Database/index optimized for similarity search over embeddings.
RAG Retrieve relevant data and include it in the prompt to ground answers.
Temperature / top-p Controls randomness vs determinism.
Hallucination Output that sounds plausible but isn’t supported by facts.
Prompt injection Untrusted text attempts to override instructions (“ignore previous”).
Context engineering Designing the full model input: instructions, retrieved content, conversation state, tool descriptions, and constraints.
Model Context Protocol (MCP) A pattern/protocol for connecting AI agents to external tools and context sources.

Prompting vs RAG vs fine-tuning (decision table)

Need Best starting point Why
Better instructions/format Prompt engineering Fast, cheap, reversible
Fresh/private knowledge RAG Grounds answers in your content without retraining
Consistent style/behavior Fine-tuning Teach patterns; reduces prompt complexity
A completely new capability Usually not AIF-C01 scope Consider specialist ML work

Context and token-cost levers

Lever Use it when Watch for
Shorter system/user prompts Instructions are repetitive or bloated Do not remove safety or grounding instructions.
Fewer retrieved chunks Retrieval returns too much irrelevant context Keep enough evidence for citations.
Better metadata filters Users should only see authorized or relevant documents Access control must align with retrieval.
Smaller model Task is narrow, repetitive, or low-risk Re-test quality and safety before switching.
Response length limit Output tokens dominate cost Avoid truncating required citations or structured fields.
Cache repeated responses/context Same request pattern repeats Do not cache sensitive or user-specific content unsafely.

GenAI limitations to recognize

  • Factuality isn’t guaranteed → use grounding/citations and “unknown” responses.
  • Context is limited → don’t paste entire corpora; retrieve and summarize.
  • Outputs can be unsafe/biased → add guardrails, evaluation, and human review paths.
  • Costs scale with tokens → control prompt size, choose smaller models when acceptable, cache repeated work.

3) AWS service map (what to pick when)

Foundation models and ML platforms

You need… Typical AWS answer
Managed foundation model access for GenAI apps Amazon Bedrock
Build/train/tune/deploy custom ML models Amazon SageMaker AI
Business/dev GenAI assistants Amazon Q Business / Amazon Q Developer
AWS foundation model family for text/image/video generation Amazon Nova

Bedrock versus SageMaker AI

If the stem emphasizes… Stronger first fit
use managed foundation models through an API Amazon Bedrock
add RAG to enterprise documents with managed retrieval Amazon Bedrock Knowledge Bases
orchestrate model-driven tool use Amazon Bedrock Agents
add agent identity, policy, runtime, or tool governance Amazon Bedrock AgentCore
train, tune, deploy, or monitor custom ML models Amazon SageMaker AI
compare or evaluate foundation model responses Bedrock model evaluation or an evaluation workflow

For AIF-C01, Bedrock usually means use foundation models. SageMaker AI usually means build or manage ML model lifecycle. Do not pick SageMaker AI just because it sounds more powerful.

Bedrock features to recognize quickly

Need Typical AWS answer
Policy filtering and safety controls for model outputs Amazon Bedrock Guardrails
Managed RAG retrieval + ingestion workflow Amazon Bedrock Knowledge Bases
Multi-step tool orchestration with FMs Amazon Bedrock Agents
Agent runtime, identity, memory, or policy support Amazon Bedrock AgentCore
Reusable and versioned prompts Amazon Bedrock Prompt Management
FM quality comparison workflows Amazon Bedrock Model Evaluation

Agentic AI risk map

Agent capability Main risk Exam-safe control
Reads private documents Data leakage or unauthorized retrieval Retrieval access control, metadata filters, IAM, audit logs
Calls business tools Prompt injection leads to unsafe action Tool allowlist, scoped credentials, validation, human approval
Maintains memory/context Sensitive or stale context contaminates future responses Memory limits, retention rules, redaction, reset/clear behavior
Coordinates multi-step workflow Hard-to-debug failure path Step-level logging, retries, fallback, and clear success criteria
Uses external protocols/tools Untrusted tool output influences instructions Treat tool output as data, validate schemas, and restrict actions

Pre-built AI services (use-case driven)

Use case Typical AWS service
Extract text/forms from documents Amazon Textract
NLP (entities, sentiment, classification) Amazon Comprehend
Image/video analysis Amazon Rekognition
Speech-to-text Amazon Transcribe
Translation Amazon Translate
Text-to-speech Amazon Polly
Chatbot interfaces Amazon Lex
Enterprise search Amazon Kendra
Fraud detection Amazon Fraud Detector
Personalized recommendations Amazon Personalize
Human review for model outputs Amazon Augmented AI (Amazon A2I)

Common building blocks for GenAI apps (glue)

Need Typical AWS building blocks
Store docs and artifacts Amazon S3
Serverless compute and app logic AWS Lambda
Containerized APIs Amazon ECS/Fargate or Amazon EKS
Vector search Amazon OpenSearch Service, Amazon Aurora, Amazon RDS for PostgreSQL, Amazon Neptune
Secrets and keys AWS Secrets Manager, AWS KMS
Audit + monitoring AWS CloudTrail, Amazon CloudWatch

4) RAG: design notes that show up in exam scenarios (Domain 3)

RAG architecture (end-to-end)

    flowchart TB
	  subgraph Ingestion
	    S3[(Docs in S3)] --> C[Chunk + clean]
	    C --> EMB1[Create embeddings]
	    EMB1 --> VS[(Vector store)]
	  end
	
	  subgraph Answering
	    Q[User question] --> EMB2[Embed query]
	    EMB2 --> VS
	    VS --> K[Top-k chunks]
	    K --> P[Prompt template: instructions + context]
	    P --> FM[Foundation model]
	    FM --> A[Answer + citations]
	  end

High-yield design choices

  • Chunking: smaller chunks improve precision; larger chunks improve context. The exam often wants “tune chunking for relevance.”
  • Citations: if the requirement says “trust” or “audit,” add citations/source links.
  • Freshness: if content changes often, prefer RAG over fine-tuning.
  • Privacy: don’t send more data than needed; redact PII; restrict who can retrieve what (multi-tenant boundaries).

5) Prompt engineering patterns (Domain 3)

Techniques you should recognize

Technique What it does When to use
Clear instructions + constraints Reduces ambiguity Most questions
Few-shot examples Improves formatting/edge cases Structured outputs
Delimiters Separates instructions vs data Untrusted input scenarios
Output schema Produces predictable JSON App integrations
Grounding instructions Reduces hallucinations RAG and knowledge tasks
Refusal/escalation Safer behavior Policy/safety constraints

Prompt template (practical)

 1Goal: Answer the user question using ONLY the provided context.
 2Context:
 3<<<
 4{retrieved_chunks}
 5>>>
 6Rules:
 7- If the answer is not in the context, say "Insufficient context".
 8- Provide 2-3 bullet citations (source titles/ids).
 9Output format (JSON):
10{"answer":"...", "citations":[{"source":"...","quote":"..."}]}
11User question: {question}

Anti-prompt-injection rule of thumb

Treat user-provided text as data, not instructions. If the model is allowed to call tools/actions, use allowlists and scoped permissions.


6) Evaluation and monitoring (Domain 3)

What to evaluate

Dimension How to test it (high level)
Correctness Gold questions, expert review, spot checks
Groundedness Require citations; verify claims against sources
Safety Toxicity/harm prompts; policy violations; refusal behavior
Bias Compare outcomes across groups; document disparities
Reliability Regression tests for prompt/model changes
Latency/cost Measure P50/P95 and token usage; set budgets
Business value Track task completion, user satisfaction, ROI, cost per interaction

Common “best answers”:

  • Use a representative test set (not just a few demos).
  • Do A/B testing when changing prompts/models.
  • Monitor production for quality regressions and abuse.

Evaluation method chooser

Evaluation need Good approach Trap answer
Compare two prompts or models Representative test set plus human review or model evaluation Pick the one that sounded better in one demo.
Check generated summaries Human evaluation, ROUGE/BLEU/BERTScore where appropriate Use one metric without considering task fit.
Judge open-ended answers at scale LLM-as-a-judge with calibration and spot checks Treat judge output as unquestionably correct.
Verify factual answers Groundedness checks against retrieved sources and citations Trust fluent wording as evidence.
Prove business fit Task completion, user satisfaction, conversion, cost per interaction Only report model accuracy when business outcome matters.

7) Responsible AI (Domain 4)

Responsible AI checklist (high signal)

  • Define intended use + out-of-scope use (avoid “silent expansion”).
  • Add human oversight for high-impact decisions.
  • Evaluate for bias and document limitations.
  • Implement safety policies (harmful content, privacy leakage).
  • Be transparent with users (what it is, what it isn’t, how to verify).

Common risks and mitigations

Risk Typical mitigation
Hallucinations RAG + citations; “unknown” responses
Unsafe content Guardrails/moderation + refusal behavior
Privacy leakage Data minimization; redaction; access controls
Bias/unfairness Diverse evaluation sets; monitoring and remediation
Over-trust User messaging + explainability + source links

8) Security, compliance, and governance (Domain 5)

Security “gotchas” the exam expects you to notice

  • Over-permissive IAM roles (“*” actions/resources)
  • Secrets embedded in prompts, logs, or code
  • Sending unnecessary sensitive data to the model
  • No audit trail for access and changes
  • Tool use without constraints (model can “do anything”)

AWS controls to name in answers (by theme)

Theme Common AWS controls
Identity IAM roles/policies, least privilege
Encryption AWS KMS, TLS
Secrets AWS Secrets Manager
Sensitive data discovery Amazon Macie
Network VPC endpoints/PrivateLink, security groups
Audit AWS CloudTrail
Monitoring/compliance posture Amazon CloudWatch, AWS Config, Amazon Inspector
Governance support AWS Audit Manager, AWS Trusted Advisor, SageMaker Model Cards
Compliance evidence AWS Artifact

Security answer bundle

Scenario asks for Include Do not rely on
Sensitive prompts or documents Data minimization, redaction, IAM, KMS/TLS, Macie, retention controls “The model provider is secure” as the whole answer
Private model/service access VPC endpoints/PrivateLink where supported, resource policies, least privilege Public endpoints plus broad IAM only
Prompt injection defense Delimiters, tool allowlists, scoped roles, validation, output filtering, audit logs Hiding the system prompt alone
Hallucination detection RAG grounding, citations, confidence/validation checks, escalation path Larger model with no verification
Compliance evidence CloudTrail, CloudWatch logs, AWS Config, AWS Artifact, approval/review records Manual notes with no audit trail
Agent tool use Agent identity/policy controls, human approval for high-risk operations Unrestricted tool permissions

Service-name exam tip

  • The exam uses AWS short service names in questions (for example, Amazon SNS instead of a longer formal name).
  • Use the exam Help pane for service-name expansion when available.

Next steps

  • Use Resources to work directly from the official exam guide and primary AWS docs.
  • Use the FAQ to confirm scope, difficulty, and the services that matter most.
  • Turn weak rows from this page into one-line rules and drill them under time.

Quiz

Loading quiz…
Revised on Monday, June 15, 2026