Learning Objectives
By the end of this chapter, you will be able to:
- Explain the basic concepts of generative AI, including its advantages and the cost tradeoffs of AWS GenAI services.
- Define foundational GenAI concepts: tokens, chunking, embeddings, vectors, prompt engineering, transformer-based LLMs, FMs, multi-modal models, and diffusion models, and identify the disadvantages of GenAI solutions.
- Identify potential use cases for GenAI models and the factors to weigh when selecting a model.
- Describe the FM lifecycle and the business value metrics that justify GenAI investment.
- Describe the token-based pricing model and the AWS infrastructure that supports GenAI workloads.
- Describe the role of context engineering in FM applications and identify the AWS services and features that support GenAI development.
- Define foundational agentic AI concepts and describe the advantages of using AWS GenAI services to build applications.
- Understand the capabilities and limitations of GenAI for business problems and describe the security, compliance, responsibility, and safety benefits of AWS infrastructure.
Executive Summary
- GenAI on AWS centers on Amazon Bedrock for managed FM access and Amazon SageMaker AI for custom training and hosting; the choice between them depends on customization depth, data residency posture, and operational ownership.
- Token-based pricing dominates inference economics: input tokens, output tokens, and provisioned throughput each carry distinct rate cards, and chunk size, context window, and output length flow directly into cost and latency.
- The FM lifecycle (data selection, model selection, pre-training, fine-tuning, evaluation, deployment, feedback) maps onto Amazon Bedrock, Amazon SageMaker AI, Amazon SageMaker JumpStart, and Amazon Bedrock Model Evaluation; understanding which AWS service owns which stage is heavily tested.
- Agentic AI on AWS uses Amazon Bedrock Agents and Amazon Bedrock AgentCore for managed agent runtime, Strands Agents as an open source agent SDK, and Model Context Protocol (MCP) for connecting agents to external tools and data sources.
Assumptions
- AI/ML terminology from Chapter 1 (FM, LLM, RAG, inference patterns, MLOps, drift) is treated as known and is not re-defined.
- Service names follow AWS conventions: Amazon Bedrock, Amazon SageMaker AI, Amazon Q (Q Business, Q Developer, QuickSight Q), Kiro, Strands Agents, Amazon Bedrock Agents, Amazon Bedrock AgentCore. The exam syllabus uses "Amazon Quick" as shorthand for the Amazon Q family; the chapter uses the full product names.
- Regional and pricing structures reflect Amazon Bedrock documentation in its latest stable revision. Absolute dollar figures vary by Region and model provider and are referenced by structural concept rather than fixed number.
