Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
AWS · AIB-C01 · BETA

Adapting models: RAG, fine-tuning, and AWS AI services

AIB-C01 · Lesson 6 of 26 · 35:58

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

Learning with these videos? Subscribe for new courses and exam-style questions.

In this lesson

Lesson 6 of the free AWS Certified AI Business Strategist series (AIB-C01 beta exam, domain 1, AI fundamentals and literacy). In this lesson: retrieval augmented generation, fine-tuning, choosing a technique, Amazon Bedrock, SageMaker AI and AWS Quick, and managed or custom. With three quick checks and a recap, and AnyCompany Foods, a fictional maker of soups, sauces, and snacks, as the running example.

Study notes

The text of this lesson, to read at your own pace. Information as of November 2026.

A fluent assistant that knows nothing

AnyCompany's assistant writes fluent answers, but it knows nothing about the company's own recipes, policies, or prices. Leaders ask whether they must train their own model. Usually not: there are lighter ways to adapt a model to the business, and AWS offers them at different levels of control.

Retrieval augmented generation

Retrieval augmented generation, or RAG, connects a model to your own documents at the moment of the question. The system searches a knowledge source, such as policy documents or product sheets, retrieves the most relevant passages, and adds them to the prompt. The model then answers from that information, and it can cite its sources. Because the documents stay outside the model, you change the knowledge by changing the documents, with no retraining. RAG is the usual first choice for answers that depend on current or private company information.

Fine-tuning

Fine-tuning continues the training of an existing model on your own examples, so that it learns a style, a format, or a specialized task. For example, AnyCompany could fine-tune a model on thousands of approved product descriptions, to match its brand voice. Fine-tuning needs good labeled examples, takes more time and money than prompting or RAG, and must be repeated when needs change. It changes how a model behaves, but it is a poor way to give it facts that change often.

Choosing a technique

A simple order works for most business cases. Start with prompt engineering, which is fast and cheap. Add RAG when answers need current or private knowledge, with sources. Consider fine-tuning when you need a consistent style, format, or specialized behavior that prompting cannot achieve. And training a model from scratch is rarely justified, because it needs huge amounts of data, budget, and expertise.

Amazon Bedrock

Amazon Bedrock is the AWS service for building generative AI applications with foundation models from Amazon and other leading providers, through one managed service. Its Knowledge Bases provide managed RAG: they connect models to company documents, and return answers with citations. Its Guardrails apply safeguards, such as blocking harmful content, denied topics, or sensitive information. Bedrock also supports fine-tuning for some models, and AWS states that your content is not used to improve the base models, and is not shared with model providers. Bedrock also offers pricing tiers that trade speed for cost, which lesson twelve covers.

SageMaker AI and AWS Quick

Amazon SageMaker AI is the AWS service for building, training, and deploying your own machine learning models, with full control. It fits when you need a custom model on your own data, such as a demand forecast for AnyCompany's stores, and you have a data science team. AWS Quick, which evolved from Amazon QuickSight, and which the exam guide calls Amazon Quick, brings AI-powered assistants to business users. They analyze data, build dashboards, run research, and automate routine tasks in natural language, connected to company data. There are no models to host, and no machine learning expertise is needed.

Managed or custom?

The business question is how much to build. Ready-made AI in business tools, like AWS Quick, is the fastest to adopt, but the least flexible. Amazon Bedrock offers foundation models as a managed service, with customization through prompts, RAG, and fine-tuning. SageMaker AI offers the most control, for custom models, at the price of more skills, time, and responsibility.

Recap

Let's recap. RAG answers from your own current documents, with sources, and no retraining. Fine-tuning teaches a style, a format, or a task, but it is a poor way to add facts that change. Start with prompts, then add RAG, then consider fine-tuning, and rarely train from scratch. Amazon Bedrock offers managed foundation models, with Knowledge Bases and Guardrails. SageMaker AI is for custom models, and AWS Quick brings AI assistants to business users.

Quick checks for this lesson

The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.

  1. AnyCompany’s assistant must answer questions about return policies that change every month, and show where each answer comes from. Which technique fits best?

    • Fine-tuning every month
    • Retrieval augmented generation
    • Training a model from scratch
    • A longer prompt, without the documents
    Show the answer

    Retrieval augmented generation

    Retrieval augmented generation answers from the current documents, and can cite them, with no retraining when the policies change. “Fine-tuning every month” is wrong, because fine-tuning every month is slow and costly, and it does not show sources. “Training a model from scratch” is wrong, since training a model from scratch is far too expensive for this need. And “A longer prompt, without the documents” is wrong, because a longer prompt without the policy documents still leaves the model guessing.

  2. AnyCompany wants an assistant on a foundation model, connected to its policy documents, with cited answers and filters for harmful content, and no infrastructure to manage. Which AWS service fits?

    • Amazon SageMaker AI
    • AWS Cost Explorer
    • AWS Pricing Calculator
    • Amazon Bedrock
    Show the answer

    Amazon Bedrock

    Amazon Bedrock offers foundation models as a managed service, with Knowledge Bases for cited answers, and Guardrails for safeguards. “Amazon SageMaker AI” is wrong, because SageMaker AI is for building and training your own models, which this need does not require. “AWS Cost Explorer” is wrong, since Cost Explorer analyzes spending, and it builds nothing. And “AWS Pricing Calculator” is wrong, because the Pricing Calculator calculates expected costs, and it does not run an assistant.

  3. AnyCompany’s data science team wants a demand forecasting model trained on its own sales history, with full control over training and deployment. Which service fits?

    • Amazon SageMaker AI
    • AWS Quick
    • Amazon Bedrock Guardrails
    • AWS Pricing Calculator
    Show the answer

    Amazon SageMaker AI

    SageMaker AI is built for training and deploying custom machine learning models, with full control. “AWS Quick” is wrong, because AWS Quick brings ready-made assistants to business users, not custom model training. “Amazon Bedrock Guardrails” is wrong, since Guardrails apply safeguards to generative AI, and they do not train forecasting models. And “AWS Pricing Calculator” is wrong, because the Pricing Calculator only calculates expected costs.