Index
- Exam overview
- Foundation Model Integration, Data Management, and Compliance
- Implementation and Integration
- AI Safety, Security, and Governance
- Operational Efficiency and Optimization
- Testing, Validation, and Troubleshooting
- If the question says X, pick Y
- Common traps
- Self-check questions
- Resources
Exam overview
AIP-C01 is Bedrock-first, but it is a Professional exam, so expect a lot of plumbing around the model: Lambda, Step Functions, API Gateway, IAM, CloudWatch. More than half the score (57%) is Domains 1 and 2, so most of the study time should go there.
- 75 questions (65 scored + 10 unscored, you can’t tell which), 180 minutes.
- Pass mark is 750/1000. Scoring is compensatory, so you don’t need to pass each domain, only the overall exam.
- Multiple choice (1 of 4) and multiple response (2+ of 5+, all must be right).
- Questions are long scenarios. Two answers usually look right; the winner is the most managed option that meets every constraint.
- Out of scope: model training from scratch, advanced ML techniques, data and feature engineering.
Exam domains
| Domain | Weight | What it covers |
|---|---|---|
| Foundation Model Integration, Data Management, and Compliance | 31% | Model choice, resilience, customization, data pipelines, vector stores, RAG, prompt management |
| Implementation and Integration | 26% | Agents, tools, MCP, deployment options, enterprise integration, FM API patterns |
| AI Safety, Security, and Governance | 20% | Guardrails, PII, network isolation, IAM, governance, responsible AI |
| Operational Efficiency and Optimization | 12% | Cost levers, latency, throughput, monitoring |
| Testing, Validation, and Troubleshooting | 11% | Evaluations, RAG and agent metrics, troubleshooting |
If you are coming from Azure
| AWS / Bedrock | Closest Azure / Foundry mental model |
|---|---|
| Bedrock (Converse API, model access) | Foundry resource + model deployments |
| Cross-Region inference: Geographic / Global profiles | Data Zone Standard / Global Standard |
| Provisioned Throughput, Reserved tier | Provisioned (PTU) |
| Batch inference | Global Batch |
| Bedrock Knowledge Bases | Azure AI Search + integrated vectorization (or File Search) |
| AgentCore Runtime, Bedrock Agents | Foundry Agent Service, hosted agents |
| AgentCore Gateway, action groups | OpenAPI tool, MCP tool |
| Bedrock Guardrails | Content filters + Prompt Shields + groundedness detection |
| Bedrock Data Automation | Content Understanding |
| Bedrock Evaluations | Foundry evaluations |
| Invocation logging + CloudWatch + X-Ray | Azure Monitor + Application Insights tracing |
| IAM roles + VPC interface endpoints | Managed identity + Entra RBAC + private endpoints |
| API Gateway as a GenAI gateway | API Management as an AI gateway |
Exam day tips
- Read the last sentence of the question first. It tells you what is being asked (cheapest, least operational overhead, most secure).
- About 2.4 minutes per question. Flag it and move on if it takes more than 3.
- Multiple response questions tell you how many to pick.
- No penalty for guessing, so never leave one blank.
- AWS moved a few services into maintenance in 2026 (Bedrock Agents is now Agents Classic, Kendra and Q Business are closed to new customers). The exam guide still lists them, so they can still be the right answer.
Foundation Model Integration, Data Management, and Compliance
The biggest domain, and mostly RAG. If you only master one thing: every Knowledge Bases option (parser, chunking, embeddings, vector store, retrieval settings) and when to pick it.
Choosing and swapping models
- Selection criteria: modality, context window, latency, price per token, Region availability, customization support.
- Converse API = one request shape for every chat model (
messages,system,inferenceConfig,toolConfig,guardrailConfig). UseInvokeModelfor embeddings, image models, or model-specific features. - Swap models without code changes: keep the model ID in AWS AppConfig (or Parameter Store) behind Lambda + API Gateway.
- Model access must be enabled per account and Region. A lot of “access denied” scenarios come down to this or IAM.
Resilience and cross-Region inference
| Profile | Routes to | Pick when |
|---|---|---|
Geographic (us., eu., apac.) |
Regions inside one geography | Data residency matters |
Global (global.) |
Any commercial Region | Max throughput, no residency rule |
- No extra routing charge, you pay the source Region price.
- Inference profiles do not work with Provisioned Throughput.
- SCPs must allow every destination Region in the profile, or calls fail.
- Resilience pattern: Step Functions Retry with backoff → Catch → fallback model or Region → graceful degradation (cached answer, smaller model, “try again later”).
Customization
- Order of fixes: prompt engineering → RAG (knowledge gaps) → fine-tuning (style, format, behavior)
| Option | Data | Use for |
|---|---|---|
| Fine-tuning | Labeled prompt/completion pairs (JSONL in S3) | Task behavior, tone, rigid output format |
| Continued pre-training | Unlabeled domain text | Domain vocabulary |
| Reinforcement fine-tuning | Prompts + a grader | Reasoning quality judged by a scorer |
| Model Distillation | Prompts (or invocation logs); teacher writes answers, student learns | Teacher-level quality on one task, cheaper and faster |
| Custom Model Import | Your own weights (Llama, Mistral, etc.) | Host a model you fine-tuned elsewhere, serverless in Bedrock |
- Distillation: teacher and student must be from the same provider.
- LoRA / adapters: freeze the base, train small low-rank matrices. One base model, many swappable adapters.
- SageMaker side: fine-tuned models in SageMaker Model Registry (versions + approval status), deploy by pipeline with canary rollout and rollback.
Data prep for FMs
- Validate: AWS Glue Data Quality, SageMaker Data Wrangler, Lambda checks, CloudWatch metrics.
- Convert:
- Transcribe (audio → text)
- Textract (scanned docs, forms, tables)
- Bedrock Data Automation (multimodal to structured output with blueprints)
- Enrich: Comprehend for entities, an FM to normalize messy text.
Knowledge Bases pipeline
- Data source (S3, Confluence, Salesforce, SharePoint, Web Crawler) → parse → chunk → embed → vector store → sync
- Sync (ingestion job) is incremental: only added, changed, or deleted files.
- Metadata lives in a
<file>.metadata.jsonsidecar in S3. Filter on it at query time.
| Parser | Handles | Cost |
|---|---|---|
| Default | Text only | Free |
| Bedrock Data Automation | Text + charts, tables, images | Per page |
| Foundation model | Same, with a custom extraction prompt | Per token |
Chunking
| Strategy | How it works | Watch out for |
|---|---|---|
| Default | ~300 tokens, keeps sentences whole | One size for everything |
| Fixed-size | Max tokens + overlap % | Can split ideas |
| Hierarchical | Search small child chunks, return the bigger parent | Can return fewer results than asked |
| Semantic | Splits on meaning (buffer size, breakpoint threshold) | Uses an FM, extra cost at ingestion |
| None | One chunk per file | No page-number citations |
| Custom | Lambda | You own it |
Embeddings and vector stores
- Titan Text Embeddings V2: 256, 512, or 1,024 dimensions (default 1,024), 8,192 input tokens, normalized by default. 512 keeps ~99% and 256 ~97% of the accuracy.
- Change the embedding model = re-embed the whole corpus.
| Store | Pick when |
|---|---|
| OpenSearch Serverless | Default for Knowledge Bases, hybrid search |
| OpenSearch managed cluster | Need to tune shards, engines (FAISS, Lucene), quantization |
| Aurora PostgreSQL (pgvector) | Vectors next to relational data, HNSW index |
| Neptune Analytics | GraphRAG, multi-hop questions |
| S3 Vectors | Huge, cheap, latency-tolerant (up to 2B vectors per index) |
| Pinecone, Redis, MongoDB Atlas | Team already runs it |
| Kendra GenAI Index | Reuse an enterprise search index |
- Plain RDS PostgreSQL is not a Knowledge Bases vector store. Aurora is.
Retrieval tuning
numberOfResults(1 to 100)overrideSearchType:HYBRID(keyword + vector) orSEMANTIC- Metadata
filter, or implicit filtering (the model infers filters from the question) - Reranker model to reorder results
QUERY_DECOMPOSITIONfor multi-part questionsRetrieve= chunks only (you build the prompt).RetrieveAndGenerate= retrieval + answer with citations + session context.- Structured data: Knowledge Bases converts natural language to SQL over Redshift. No data movement.
Prompt management
- Prompt Management: templates with
{{variables}}, immutable numbered versions, up to 3 variants side by side, Prompt Optimization rewrites a prompt for a model. - Flows (Prompt Flows): no-code chains. Nodes: Prompt, Knowledge Base, Lambda, Inline Code, Agent, Lex, Condition, Iterator + Collector, S3 Storage/Retrieval.
- Conversation history in DynamoDB, intent with Comprehend, clarification loops in Step Functions.
- Governance: CloudTrail for who used what, CloudWatch Logs for access, regression tests on prompt versions.
Implementation and Integration
This is the “wire it into a real system” domain. Know which agent option fits, which inference mode fits the traffic, and the timeout and streaming limits of the glue services.
Agent options
| Option | What it is | Pick it for |
|---|---|---|
| Bedrock Agents (now Agents Classic) | Managed agent: instructions + action groups + Knowledge Bases + guardrail | Managed agent with little code (closed to new customers, but still on the exam) |
| Bedrock AgentCore | Platform to run any framework/model in production | Production agents with your own code |
| Strands Agents | Open-source, model-driven agent SDK from AWS | Code-first agents, multi-agent patterns |
| Agent Squad | Open-source orchestrator; a classifier routes to specialist agents | Routing requests across many specialists |
| Step Functions | Deterministic workflow around FM calls | Hard stop conditions, human approval, auditability |
Bedrock Agents building blocks
- Action groups: OpenAPI schema or function definitions, fulfilled by Lambda.
RETURN_CONTROL= the agent hands the tool call back to your app instead of LambdaAMAZON.UserInput= the agent asks the user for missing parametersAMAZON.CodeInterpreter= the agent runs code
- Memory: session context by default; long-term memory = session summaries per
memoryId, kept 1 to 365 days. - Multi-agent collaboration: supervisor mode (agents as tools) or routing mode (classifier picks one collaborator).
- Versions are immutable; aliases (dev, prod) point to a version. Rollback = repoint the alias.
- Trace (
enableTrace) shows each reasoning step, tool call, and guardrail action.
AgentCore
- Runtime: serverless, any framework, one microVM per session, sessions up to 8 hours by default. State is gone when the session ends.
- Memory: short-term events per actor and session; long-term strategies (semantic facts, summaries, user preferences, episodic) per
actorId. - Gateway: turns APIs, Lambda functions, and OpenAPI specs into MCP tools. Cedar policies on every tool call.
- Identity: inbound auth + outbound OAuth so the agent acts on behalf of a user (Cognito, Okta, etc.).
- Observability: traces in CloudWatch, OpenTelemetry compatible.
- Code Interpreter and Browser as built-in tools.
Agent tools and MCP
- Tool use in Converse: declare tools with a JSON schema; the model returns
toolUse, your code runs it and sendstoolResultback. The model never runs anything itself. - MCP servers:
- Lambda for lightweight, stateless tools
- ECS / Fargate for complex or stateful tools
- AgentCore Gateway to put many existing APIs behind one MCP endpoint
- Safeguards: max iterations, timeouts, least-privilege IAM per tool, circuit breakers, human approval for irreversible actions.
- Human in the loop: Step Functions
waitForTaskToken, Amazon Augmented AI (A2I) review queues.
Inference modes
| Mode | Billing | Use when |
|---|---|---|
| On-demand Standard | Per token | Default |
| Priority tier | Per token, +75% | Latency-critical, customer-facing |
| Flex tier | Per token, -50% | Can be slower but still synchronous |
| Batch inference | -50%, async job from S3 | Big offline jobs |
| Provisioned Throughput | Hourly per model unit | Steady, predictable high volume, custom models |
| SageMaker AI endpoint | Instance hours | Open-weight or fine-tuned models you host |
- Pick the tier per request with
service_tier. On-demand quota is shared across Priority, Standard, and Flex. - SageMaker inference:
- Real-time (up to 25 MB, 60 s)
- Serverless (4 MB, 60 s, cold starts)
- Async (1 GB, up to 1 hour, S3 + SNS)
- Batch transform (offline datasets)
- Inference components = many models on one endpoint, scaled independently, down to zero
FM API patterns
- Sync:
Converse/InvokeModel. - Streaming:
ConverseStream→ WebSockets or server-sent events. API Gateway RESTSTREAMmode (up to 15 min), Lambda response streaming (up to 200 MB). - Async: SQS + worker Lambda for bursts; batch for bulk.
- Throttling (
ThrottlingException): SDK backoff with jitter, SQS buffer, cross-Region inference, quota increase. - Routing:
- Intelligent Prompt Routing (within one model family, by prompt complexity)
- Step Functions Choice for content-based routing
- Cascade: cheap model first, escalate when confidence is low
Glue service limits
| Service | Limit to remember |
|---|---|
| API Gateway | 29 s default integration timeout, raisable for Regional and private REST APIs |
| Lambda | 15 minutes max |
| Step Functions Standard | Up to 1 year, exactly-once, supports .sync and waitForTaskToken |
| Step Functions Express | 5 minutes, at-least-once, no .sync or task tokens |
- Step Functions has a native Bedrock integration (call
InvokeModelwith no Lambda).
Enterprise integration
- Loose coupling with EventBridge (S3 upload → re-index), SQS, SNS, Lambda webhooks.
- GenAI gateway: one central API (API Gateway + Lambda) for auth, per-team quotas, logging, guardrails, and routing.
- Hybrid and residency: AWS Outposts (on-prem data), AWS Wavelength (edge).
- CI/CD: CodePipeline + CodeBuild running prompt and RAG evals as quality gates, security scans, then canary or blue/green with automatic rollback.
- Dev tools: Amazon Q Developer, Kiro (spec-driven agentic IDE), Amplify for UI.
Code shape to recognize
import boto3
brt = boto3.client("bedrock-runtime")
resp = brt.converse(
modelId="<inference-profile-id>", # e.g. a us. or global. profile
system=[{"text": "You are a support assistant."}],
messages=[{"role": "user", "content": [{"text": "Where is order 123?"}]}],
inferenceConfig={"maxTokens": 512, "temperature": 0.2},
toolConfig={"tools": [{"toolSpec": {
"name": "get_order_status",
"description": "Look up an order by ID",
"inputSchema": {"json": {"type": "object",
"properties": {"order_id": {"type": "string"}},
"required": ["order_id"]}}}}]},
guardrailConfig={"guardrailIdentifier": "<guardrail-id>", "guardrailVersion": "1"},
)
# resp["stopReason"] == "tool_use" -> run the tool yourself,
# send a toolResult block back in the next user message
bar = boto3.client("bedrock-agent-runtime")
bar.retrieve_and_generate(
input={"text": "What is our refund policy?"},
retrieveAndGenerateConfiguration={
"type": "KNOWLEDGE_BASE",
"knowledgeBaseConfiguration": {"knowledgeBaseId": "<kb-id>",
"modelArn": "<model-arn>"}},
)
bedrock-runtime= inference.bedrock-agent-runtime= Retrieve, RetrieveAndGenerate, InvokeAgent. Same split shows up in VPC endpoint questions.
AI Safety, Security, and Governance
Bedrock Guardrails is the center of this domain. Most questions stack it with a network control, an IAM control, and a PII control for defense in depth.
Bedrock Guardrails
| Policy | What it does | Question cue |
|---|---|---|
| Content filters | Hate, insults, sexual, violence, misconduct (strength NONE to HIGH, separate for input and output, text and images) | “Block toxic content” |
| Prompt attack | Input-side filter for jailbreaks and prompt injection (prompt leakage needs Standard tier) | “Detect jailbreaks” |
| Denied topics | Natural-language topic definitions to refuse | “Bank bot must not give investment advice” |
| Word filters | Exact words, phrases, profanity | “Never mention competitor names” |
| Sensitive information | PII types + custom regex; BLOCK or ANONYMIZE (masks as {NAME}, {EMAIL}) |
“Redact PII in call summaries” |
| Contextual grounding | Scores grounding (supported by source) and relevance (answers the query) | “Reduce hallucinations in RAG” |
| Automated Reasoning checks | Validates answers against formal rules built from your policy | “Provably follow the HR policy” |
ApplyGuardrailruns a guardrail on any text without calling a model (works for models outside Bedrock too).- Use numbered versions in production, not DRAFT.
- Detect mode (action NONE) returns findings without blocking. Handy for tuning.
- Tiers: Classic or Standard (more languages, detection inside code). Standard needs a cross-Region guardrail profile.
- Reasoning content blocks are not evaluated.
- Blocked content shows in plain text in invocation logs if logging is on.
- Enforce it with IAM: condition key
bedrock:GuardrailIdentifieron InvokeModel, InvokeModelWithResponseStream, Converse, and ConverseStream. Requests without the approved guardrail get denied.
Defense in depth
- Comprehend pre-filter (toxicity, PII) → Bedrock guardrail → grounded generation → Lambda post-validation → API Gateway response filtering
- Hallucination controls:
- Ground with Knowledge Bases + citations
- Contextual grounding threshold
- JSON Schema for structured output
- Text-to-SQL when answers must be deterministic
- Run automated adversarial testing (prompt injection, jailbreaks) before each release.
Data privacy
- Bedrock does not store prompts and completions, does not use them for training, and does not share them with model providers.
- Model invocation logging is off until you turn it on.
- PII:
- Macie = find PII in S3 at rest
- Comprehend = detect and redact PII in text
- Guardrails = mask PII at runtime
- KMS customer managed keys for S3 sources, Knowledge Bases, vector stores, agent sessions, custom models, logs.
- S3 Lifecycle rules for retention of logs and transcripts.
Network and IAM
- VPC interface endpoints (PrivateLink):
bedrock= control planebedrock-runtime= inferencebedrock-agent= build-timebedrock-agent-runtime= Retrieve, RetrieveAndGenerate, InvokeAgent- With private DNS on, existing SDK code routes through the endpoint with no code change. Endpoint policies restrict actions.
- Least privilege: allow
bedrock:InvokeModelonly on specific model or inference profile ARNs. bedrock:InferenceProfileArncondition to limit which CRIS profiles can be used.- Service roles for Knowledge Bases, Agents, Flows, and batch jobs need S3, KMS, vector store, and model permissions.
- SCPs to block unapproved models or Regions; IAM Access Analyzer for broad access.
- Cognito for app users, IAM Identity Center for employees, Secrets Manager for third-party API keys.
- Per-user RAG access: filter at retrieval with user metadata. Never rely on the prompt to hide documents.
Governance
- Model cards (SageMaker AI) = intended use, limits, evaluation results.
- Lineage: AWS Glue Data Catalog registers sources; metadata tags carry source attribution into answers.
- Audit:
- CloudTrail = who called what (no prompt text)
- Invocation logs = what was actually said
- Continuous monitoring for misuse, drift, bias drift (SageMaker Model Monitor, Clarify), with automated alerts and remediation.
Responsible AI
- Transparency: citations, reasoning summaries, agent traces.
- Fairness: SageMaker Clarify bias metrics, A/B tests of prompts, LLM-as-a-judge (stereotyping metric).
- Human oversight: A2I for low-confidence outputs, approval steps for high-impact actions.
- OWASP LLM Top 10 (2025) worth knowing by name: prompt injection, sensitive information disclosure, supply chain, data and model poisoning, improper output handling, excessive agency, system prompt leakage, vector and embedding weaknesses, misinformation, unbounded consumption.
Operational Efficiency and Optimization
Scenario questions here ask for the cheapest or fastest fix. Match the traffic pattern to the right lever, and know which metric or log proves the problem.
Cost levers
| Lever | Saves | Use when |
|---|---|---|
| Prompt caching | Cheaper, faster cached input tokens | Same long system prompt, document, or tool list on every call |
| Batch inference | 50% vs on-demand | Offline, latency-tolerant jobs |
| Flex tier | 50% vs Standard | Synchronous but non-urgent |
| Intelligent Prompt Routing | Sends easy prompts to the cheaper model in a family | Mix of simple and complex questions |
| Model Distillation | Smaller student model | High volume, narrow task |
| Semantic cache (ElastiCache for Valkey) | Skips the FM call entirely | Lots of near-duplicate questions |
| Token controls | Fewer tokens | maxTokens, context pruning, summarized history, fewer chunks |
- Prompt caching details:
- You place cache checkpoints (
cachePointin Converse) - Each checkpoint needs a model-specific minimum token count
- TTL is 5 minutes by default (1 hour on some models), resets on every hit
- Nova caches text prompts automatically
- Put static content first so it can be cached
- You place cache checkpoints (
- Provisioned Throughput only pays off with steady volume. Watch utilization so you don’t overbuy model units.
- Cost per team: application inference profiles with cost allocation tags (call the profile ARN instead of the model ID). Tags are not retroactive.
- Cost Explorer for trends, AWS Budgets for thresholds, Cost Anomaly Detection for spikes (like a runaway agent loop).
Performance
- Latency-optimized inference:
performanceConfiglatency set tooptimizedon supported models. Falls back to standard when the quota runs out. - Priority tier for faster output tokens under load.
- Perceived latency: stream responses. Real latency: shorter outputs, smaller model, parallel calls, pre-computed answers.
- Retrieval speed: tune the index (HNSW params, shards), metadata pre-filtering, fewer but better chunks.
- Parameters:
- Low temperature for extraction, classification, SQL, factual RAG
- Higher for creative writing
- Tune temperature or top-p, not both
maxTokensand stop sequences bound the output
- Throughput: batch, concurrency limits, auto scaling for SageMaker endpoints, CRIS for bursts.
Monitoring
- CloudWatch
AWS/Bedrockmetrics need no setup: Invocations, InvocationLatency, InputTokenCount, OutputTokenCount, InvocationThrottles, errors. - Model invocation logging: off by default. Full prompts and responses to CloudWatch Logs, S3, or both (large or binary payloads go to S3). Query with Logs Insights or Athena.
- Guardrails, Knowledge Bases, and Agents publish their own CloudWatch metrics.
- X-Ray traces across API Gateway, Lambda, Step Functions, and Bedrock.
- CloudWatch Synthetics canaries with known questions to catch regressions.
- GenAI-specific signals: token burst anomalies, response drift, hallucination rate against a golden dataset, tool-call success rate, retrieval latency.
- Dashboards: CloudWatch or Amazon Managed Grafana. AgentCore Observability for agent traces.
Testing, Validation, and Troubleshooting
The smallest domain, but the questions are very pattern-based. Know which evaluation type answers which question, and the usual root cause behind each failure.
Evaluations
| Type | Scores with | Typical metrics | Use for |
|---|---|---|---|
| Programmatic (automatic) | Algorithms on built-in or your datasets | Accuracy, robustness, toxicity (BERTScore, F1, exact match) | Repeatable model comparison |
| LLM-as-a-judge | An evaluator FM | Correctness, completeness, faithfulness, relevance, harmfulness | Quality at scale, no human reviewers |
| Human | Your team or an AWS-managed team | Custom: brand voice, style | Subjective quality |
| RAG retrieval | LLM-as-a-judge | Context relevance, context coverage | Tuning chunking, embeddings, vector store |
| RAG retrieve-and-generate | LLM-as-a-judge | Correctness, completeness, faithfulness, citation precision and coverage | End-to-end RAG quality |
- Bring your own inference responses to evaluate models or RAG pipelines running outside Bedrock.
- Diagnose RAG by splitting the score:
- Low context coverage = retrieval problem
- Good context but low faithfulness = generation problem
- LLM-as-a-judge biases: position, verbosity, self-preference. Use a clear rubric and a different judge model.
- Agent metrics: task completion rate, tool selection accuracy, steps per task, reasoning quality from traces.
- Rollout testing:
- Golden dataset as regression tests
- A/B and canary releases
- Automated quality gates in CodePipeline
- User feedback: thumbs up/down via API Gateway, annotation with SageMaker Ground Truth or A2I.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Ignores part of a long document | Context window overflow or truncation | Smaller chunks, fewer chunks, summarize history, larger-context model |
ValidationException |
Malformed request or parameter out of range | Validate the request; use Converse for one shape |
ThrottlingException |
Hit tokens or requests per minute quota | Backoff with jitter, CRIS, quota increase |
AccessDeniedException |
Model access not enabled, IAM, or SCP blocking a Region | Enable model access, fix IAM, allow CRIS destination Regions |
| Irrelevant chunks retrieved | Chunking, embedding model, no filters | Hierarchical or semantic chunking, hybrid search, reranker, filters |
| Right document never retrieved | Stale index or failed sync | Check the ingestion job, re-sync |
| Output breaks the parser | No schema enforced | JSON Schema or tool use for structured output, validate and retry |
| Quality drops after a prompt edit | Untested change | Version prompts, diff on a golden set, roll back |
| Made-up facts | Ungrounded answer | RAG with citations, contextual grounding check, lower temperature |
- Diagnose with invocation logs + CloudWatch Logs Insights, X-Ray traces, agent traces, and embedding drift monitoring.
If the question says X, pick Y
Keywords in the question stem usually point straight at one answer. Read this the night before and the morning of.
| Question stem says | Answer is usually |
|---|---|
| “Ground answers in company documents”, “least operational overhead” | Bedrock Knowledge Bases |
| “Switch models without code changes” | Converse API + model ID in AppConfig |
| “Model not available in our Region”, “burst capacity” | Cross-Region inference profile |
| “Data must stay in the EU” + inference | Geographic (eu) CRIS profile, not Global |
| “Predictable, steady high volume” | Provisioned Throughput |
| “Occasional ThrottlingException” | Backoff with jitter, CRIS, quota increase |
| “Millions of docs overnight”, “not time-sensitive” | Batch inference |
| “Same long document/system prompt every call” | Prompt caching |
| “Many near-identical questions” | Semantic cache (ElastiCache for Valkey) |
| “Mix of simple and complex questions, minimize cost” | Intelligent Prompt Routing |
| “Teacher-level quality, smaller and cheaper” | Model Distillation |
| “Exact product codes or error codes missed” | Hybrid search |
| “Retrieved chunks lack surrounding context” | Hierarchical chunking |
| “PDFs full of charts and tables” | Bedrock Data Automation or FM parser |
| “Only documents from the last quarter” | Metadata filter |
| “Multi-part question” | Query decomposition |
| “Sales numbers in Redshift” | Knowledge Bases structured data (NL to SQL) |
| “Multi-hop relationships across documents” | GraphRAG with Neptune Analytics |
| “Huge vector set, lowest cost” | S3 Vectors |
| “Vectors next to relational data” | Aurora PostgreSQL with pgvector |
| “Expose existing APIs as agent tools” | AgentCore Gateway (MCP) |
| “Run my LangGraph/Strands agent in production, isolated per user” | AgentCore Runtime |
| “Remember user preferences across sessions” | AgentCore Memory (long-term strategies) |
| “Route requests to the right specialist agent” | Agent Squad (classifier) or Bedrock Agents routing mode |
| “Agent needs info from the client app before acting” | Return of control |
| “Human must approve before the action” | Step Functions waitForTaskToken or A2I |
| “No-code prompt chain with branching” | Bedrock Flows |
| “Versioned prompt templates, A/B test variants” | Bedrock Prompt Management |
| “Stream tokens to the browser” | ConverseStream + WebSockets/SSE, API Gateway STREAM mode |
| “Request takes longer than 29 seconds” | Raise API Gateway timeout, stream, or go async (SQS) |
| “Block toxic content”, “jailbreak” | Guardrails content filters + prompt attack filter |
| “Bot must not discuss topic X” | Guardrails denied topics |
| “Mask PII in responses” | Guardrails sensitive information (ANONYMIZE) |
| “Find PII in S3 before ingestion” | Amazon Macie |
| “Reduce hallucinations in RAG answers” | Contextual grounding check + citations |
| “Must follow written policy rules exactly” | Automated Reasoning checks |
| “Every call must use the approved guardrail” | IAM condition bedrock:GuardrailIdentifier |
| “No traffic over the public internet” | VPC interface endpoint (PrivateLink) |
| “Who called which model” | CloudTrail |
| “See the actual prompts and responses” | Model invocation logging |
| “Charge back GenAI costs per team” | Application inference profiles + cost allocation tags |
| “Faster responses for a voice or chat UX” | Streaming, latency-optimized inference, Priority tier |
| “Compare models on our own data” | Bedrock Evaluations (LLM-as-a-judge) |
| “Is retrieval or generation the problem?” | RAG evaluation: context coverage vs faithfulness |
| “Subjective quality, brand voice” | Human evaluation |
| “Host many fine-tuned LLMs cheaply” | SageMaker inference components |
| “Large payloads, long processing, scale to zero” | SageMaker async inference |
| “Version and approve custom models” | SageMaker Model Registry |
| “Measure bias” | SageMaker Clarify |
| “Document model limitations for auditors” | Model cards |
| “Track data lineage” | AWS Glue Data Catalog |
| “Run evals automatically before deploy” | Eval step as a quality gate in CodePipeline |
Common traps
- “Least operational overhead” means the managed feature. Knowledge Bases, Guardrails, Prompt Management beat a custom Lambda build.
- Fine-tuning does not add fresh knowledge well.
- Knowledge gaps → RAG
- Style/format/behavior → fine-tuning
- Provisioned Throughput is not the fix for occasional throttling. Backoff, CRIS, or a quota increase is.
- Global CRIS is not a residency answer. Residency → Geographic profile.
- CloudTrail has no prompt text. For that you need invocation logging, and it is off by default.
- Batch is never right for a user waiting on screen.
- Tool use does not run your code. The model returns
toolUse; your app executes it and sendstoolResult. - Guardrails are not enforced by default. Without the
bedrock:GuardrailIdentifiercondition, a caller can skip them. - Hybrid is not reranking. Hybrid = keyword + vector. A reranker is a separate layer on top.
- Changing the embedding model means re-embedding the whole corpus.
- Temperature and top-p: tune one, not both.
- Step Functions Express can’t wait for a human (no
waitForTaskToken). Use Standard. - Old names in answers: Bedrock Agents (Agents Classic), Kendra, Q Business are closed to new customers but can still be the right answer.
Self-check questions
| Question | Answer |
|---|---|
| EU customer data must never be processed outside the EU, but the model has limited Regional capacity. What do you use? | Geographic (eu) cross-Region inference profile |
| Users ask about product SKUs and the RAG app keeps missing exact matches. First fix? | Hybrid search |
| Retrieved chunks are relevant but too short to answer. Chunking strategy? | Hierarchical (search child, return parent) |
| You need to summarize 2 million support tickets by tomorrow at the lowest cost. | Batch inference |
| Every request sends the same 40-page policy document. How do you cut cost and latency? | Prompt caching |
| Security says every model call must go through the approved guardrail. How do you enforce it? | IAM condition bedrock:GuardrailIdentifier |
| An agent must collect a user’s location from the mobile app before calling a weather tool. | Return of control (or AMAZON.UserInput to ask the user) |
| A refund agent must wait for a manager’s approval before issuing money. | Step Functions Standard with waitForTaskToken |
| You need to see the exact prompts that produced bad answers last week. | Model invocation logs (CloudWatch Logs or S3) |
| RAG evaluation shows high context coverage but low faithfulness. Where is the problem? | Generation (prompt, grounding, temperature), not retrieval |
| Finance wants GenAI spend per department. | Application inference profiles with cost allocation tags |
| You need to host 30 LoRA fine-tuned models with uneven traffic, cheaply. | SageMaker inference components (scale each to zero) |
Resources
- AWS Certified Generative AI Developer - Professional
- Exam guide (AIP-C01)
- In-scope AWS services
- Skill Builder Exam Prep Plan (official pretest, practice question set, practice exam)
- Bedrock Knowledge Bases chunking
- Bedrock Guardrails
- Cross-Region inference
- Bedrock Evaluations
- Bedrock service tiers