Fundamentals of GenAI
Tokens, embeddings and foundation models, what GenAI can and cannot do, and the AWS services for building with it.
2.1Task
Explain the basic concepts of generative AI (GenAI).
You should be able to: Explain tokens, embeddings, foundation models and the other core GenAI ideas, how a foundation model is built and priced, and the basics of agentic AI.
2.1Task
Explain the basic concepts of generative AI (GenAI).
You should be able to: Explain tokens, embeddings, foundation models and the other core GenAI ideas, how a foundation model is built and priced, and the basics of agentic AI.
- Tokens and the context windowThe small pieces of text a model reads and writes, and the limit on how many fit in one request.
- Embeddings and vectorsMeaning turned into a list of numbers, so a computer can tell which texts are similar.
- ChunkingSplitting long documents into smaller pieces before they are turned into embeddings.
- Foundation modelsVery large models, pre-trained on broad data, that can be adapted to many different tasks.
2.1 Explain the basic concepts of generative AI (GenAI).
- Large language models and transformersText models built on the transformer design that write by predicting the next token, again and again.
- Multi-modal and diffusion modelsModels that handle text, images, audio and video together, and models that make images by removing noise.
- GenAI use casesWhat businesses use generative AI for: media, summaries, assistants, translation, code, service, search and recommendations.
- The foundation model lifecycleThe stages a foundation model goes through, from choosing data to learning from users, as a loop.
- Token-based pricingYou pay for the tokens you send in and the tokens the model writes out.
- Context engineeringChoosing what goes into the model's context so it can give better answers.
- Agentic AI conceptsThe building blocks of AI agents: tools, memory, workflows, and teams of agents.
- Model Context Protocol (MCP)An open standard that lets agents connect to tools and data with one common method.
2.2Task
Understand the capabilities and limitations of GenAI for solving business problems.
You should be able to: Weigh what GenAI does well and badly, choose a model for a business need, and measure the value it brings.
2.2Task
Understand the capabilities and limitations of GenAI for solving business problems.
You should be able to: Weigh what GenAI does well and badly, choose a model for a business need, and measure the value it brings.
- Advantages of GenAIWhat generative AI does well: it adapts, responds fast, holds a conversation and creates content.
- Limitations of GenAIWhere generative AI falls short: hallucinations, hard-to-explain output, errors and varying answers.
- Factors in choosing a GenAI modelThe questions to ask before picking a model: type, performance, capability, limits, rules, cost, speed and size.
- Business value and metrics for GenAIHow to show that a GenAI application pays off, and which metric fits which goal.
2.3Task
Describe AWS infrastructure and technologies for building GenAI applications.
You should be able to: Match AWS services to building GenAI applications, and explain the advantages and cost tradeoffs of using them.
2.3Task
Describe AWS infrastructure and technologies for building GenAI applications.
You should be able to: Match AWS services to building GenAI applications, and explain the advantages and cost tradeoffs of using them.
Amazon BedrockA fully managed service that gives you foundation models from several providers through one API.
- PartyRockA free, no-code playground built on Amazon Bedrock, for trying prompts and building small GenAI apps.
Amazon SageMaker JumpStartA hub inside SageMaker AI with ready-to-use models and solution templates you can deploy in a few steps.
- AWS Trainium, AWS Inferentia and GPU instancesAWS Trainium and AWS Inferentia are AWS-designed AI chips. GPU instances are the general choice.
2.3 Describe AWS infrastructure and technologies for building GenAI applications.
- Compute for AI applicationsWhere your own code and models run: Amazon EC2, AWS Lambda, containers, or a managed endpoint.
Amazon QuickAn AI workspace that answers questions, builds dashboards and automates work from your business data and apps.
Amazon QThe Amazon Q name covered several AWS assistants. Most are now renamed, replaced or closed to new customers.
- KiroAn agentic AI development environment that turns an idea into a written spec and then into working software.
- Strands AgentsAn open source SDK for building AI agents in a few lines of code, on Amazon Bedrock or other models.
Amazon Bedrock AgentCoreA managed platform to run AI agents securely at scale, with memory, identity, tool access and monitoring.
Amazon NovaAmazon's own family of foundation models, available through Amazon Bedrock.
- Why build GenAI on AWSManaged AWS services make GenAI easier to start, cheaper to run and faster to ship.
2.3 Describe AWS infrastructure and technologies for building GenAI applications.
- Benefits of AWS infrastructure for GenAIAWS offers security, compliance, responsibility and safety features for GenAI applications.
- Cost tradeoffs of AWS GenAI servicesOn demand, provisioned throughput or a custom model: what each costs and when it fits.
Explained under another task