Choosing Generative AI Services by Requirement
This lesson gathers the phrases in AIP-C01 questions that point strongly to one service or feature, as a map to the earlier modules to revisit before the exam.
Learning outcomes
After completing this lesson, you will be able to:
- Choose between Amazon Bedrock and SageMaker AI.
- Map knowledge and retrieval requirements to services.
- Map agent, workflow, integration, safety and operations requirements to services.
Amazon Bedrock or SageMaker AI
Amazon Bedrock is the default for this exam: a fully managed service that offers FMs from Amazon and other providers through one API, with features for RAG, agents, prompts, guardrails, evaluation and customisation. It removes infrastructure management and charges per token or for provisioned capacity. Amazon SageMaker AI is chosen when the scenario needs a model that Bedrock does not offer, full control of the serving container, specific instance types or quantisation, or a fine-tuned open-weight model with custom inference code. SageMaker JumpStart provides pre-trained open-weight models that deploy to endpoints in a few steps.
Bedrock also bridges the two: Custom Model Import brings supported open-weight architectures fine-tuned elsewhere into Bedrock for serverless invocation. The following table summarises the signals.
| Signal in the question | Usually points to |
|---|---|
| Least overhead, many models through one API | Amazon Bedrock |
| Model not available on Bedrock, custom container, GPU control | SageMaker AI real-time endpoint (LMI container) |
| Pre-trained open-weight model deployed quickly | SageMaker JumpStart |
| Fine-tuned supported open-weight model, serverless invocation | Bedrock Custom Model Import |
| Many LoRA adapters on one base model | SageMaker AI inference components with adapters |
Knowledge and retrieval
Bedrock Knowledge Bases are the managed RAG choice. When the scenario asks for a specific store, OpenSearch Service signals hybrid keyword and vector search at high query rates, Aurora PostgreSQL with pgvector signals vectors next to relational data and SQL filters, Amazon S3 Vectors signals very large collections at the lowest storage cost with less frequent queries, and Neptune Analytics signals GraphRAG over relationships between entities. Amazon Kendra signals enterprise search with many connectors, and Amazon Q Business a managed assistant for employees; Q Business closed to new customers on 31 July 2026, so new deployments use Amazon Quick. The following table summarises these signals.
| Signal | Usually points to |
|---|---|
| Managed ingestion, chunking, retrieval and citations | Bedrock Knowledge Bases |
| Exact identifiers plus meaning, high query rate | OpenSearch hybrid search |
| Vectors joined with relational records | Aurora PostgreSQL with pgvector |
| Billions of vectors, lowest cost | Amazon S3 Vectors |
| Relationships between entities (GraphRAG) | Neptune Analytics |
| Ready-made employee assistant over enterprise sources | Amazon Quick (Amazon Q Business for existing customers) |
Phrase to retrieval service
Agents, workflows and integration
Strands Agents signals a code-first, model-driven agent SDK; AWS Agent Squad signals routing among specialised agents; Amazon Bedrock Agents signals a fully managed agent configured with action groups and knowledge bases; Amazon Bedrock AgentCore signals secure, scalable hosting and services (runtime, memory, gateway, identity, tools, observability) for agents built with any framework. AWS Step Functions signals deterministic orchestration, human approval with task tokens, circuit breakers and parallel model calls. Bedrock Flows signals no-code prompt chains.
For integration, API Gateway signals a managed front door with validation and throttling, EventBridge signals event-driven loose coupling, SQS signals buffering and controlled throughput, and AppConfig signals switching models or parameters without deployments.
Agent, workflow or integration?
Safety, operations and evaluation
Safety requirements usually point to Amazon Bedrock Guardrails, which provides content filters, denied topics, word filters, sensitive information (PII) masking, contextual grounding checks and prompt attack detection in one configurable policy. When the model runs outside Bedrock, for example on a SageMaker AI endpoint or with another provider, the ApplyGuardrail API applies the same policy to any text, so the requirement "the same protection for every model" also points to Guardrails.
Operational requirements are distinguished by what must be recorded. Model invocation logging captures the full prompts and responses sent to Bedrock models, which audits of model behaviour and debugging need. AWS CloudTrail records the API calls themselves, namely who invoked a model or changed a guardrail, knowledge base or agent, but not the prompt content. Evaluation requirements point to Amazon Bedrock Evaluations, which compares models or knowledge bases with built-in metrics, an LLM acting as a judge, or human reviewers.
Cost requirements have several signals. Prompt caching reduces the cost and latency of long prompt prefixes that repeat across requests, batch inference halves the price of work that can wait, and Intelligent Prompt Routing sends each request to the cheaper or the more capable model in a family according to its predicted difficulty.
One phrase, one service
A company runs a self-hosted open-weight model on a SageMaker AI endpoint and must block hate speech and mask credit card numbers in both prompts and responses with the least custom code.
The phrase "self-hosted on SageMaker AI" rules out attaching a guardrail to a Bedrock invocation. A custom Comprehend and Lambda pipeline would work but needs more code. The ApplyGuardrail API evaluates any text against a Bedrock guardrail, so the application calls it on the prompt before invoking the endpoint and on the response afterwards.
When does SageMaker AI become the answer instead of Bedrock?
Show answer
When more control is needed or the model is not available on Bedrock.
Exam Tips
Remember for the exam
- Bedrock is the default; SageMaker AI appears when control or an unsupported model is required.
- Hybrid search: OpenSearch. Relational joins: pgvector. Lowest-cost scale: S3 Vectors.
- Deterministic orchestration and human approval: Step Functions.
- Guardrails for a non-Bedrock model: ApplyGuardrail.
- Prompt content for analysis: invocation logging; who did what: CloudTrail.