AWS Certified AI Practitioner (AIF-C01) Exam Prep›one customer question answered by a foundation model
Card 1 of 5

Foundation models explained

A customer types “My tea pack arrived crushed. Can I get a refund?” ChaiCart’s support chatbot answers in seconds. The answer is not copied from a list of ready-made replies. It is written by a foundation model: a large AI model trained on a broad range of text, so it can handle many kinds of questions, from refunds to shipping to brewing tips, without being built for just one of them.

1 / 5

One customer question answered by a foundation model

Lesson 1 of 89 in AWS Certified AI Practitioner (AIF-C01) Exam Prep. Free to read, no account needed.

Foundation models explained

A customer types “My tea pack arrived crushed. Can I get a refund?” ChaiCart’s support chatbot answers in seconds. The answer is not copied from a list of ready-made replies. It is written by a foundation model: a large AI model trained on a broad range of text, so it can handle many kinds of questions, from refunds to shipping to brewing tips, without being built for just one of them.

Amazon Bedrock access

ChaiCart does not train its own foundation model. It reaches one through Amazon Bedrock, the AWS service that gives applications access to foundation models. The chatbot runs in the ap-south-1 (Mumbai) region. For each customer message, it sends the words to Bedrock. Bedrock passes them to the chosen model, and the written answer travels back to the chat window.

Tracing one answer

Here is one customer question followed through the system. Each step passes the work to the next party, and only the model writes the answer.

StepWhoWhat happens
1CustomerTypes: “My ₹450 tea pack arrived crushed. Refund?”
2ChaiCart chatbotSends the words to Amazon Bedrock
3Foundation modelReads the words and writes a new reply about refunds
4CustomerSees the reply in the chat window

The customer only sees step 4. The reply is the model’s generated answer, shaped to fit this question and this ₹450 pack.

Generated vs copied answers

A generated answer is written fresh by the model for this question. A copied answer is a stored FAQ entry that someone wrote earlier and the system pastes back. Both can look helpful, but they behave differently.

QuestionCopied from FAQGenerated by model
Where the words come fromA stored entry written earlierWritten new for this question
WordingIdentical every timeCan be worded differently each time
Matching the exact situationOnly if an entry fitsCan mention the ₹450 pack and the crush

Because the model writes its own words, the answer can sound tailored, but it still has to be checked.

Checking fluent answers

Read this reply to the crushed-pack question and decide what is wrong with it: “Yes! Crushed packs can be returned within 30 days for a full refund. Just reply with a photo.” ChaiCart’s actual policy allows returns within 7 days. The reply is smooth, confident, and well written, yet the number is wrong. Fluent means the text reads naturally, not that it is correct. The model produces plausible-sounding text, so every generated answer must be checked against ChaiCart’s real return policy before a customer acts on it.

Practice questions

  1. 1.

    A ChaiCart chatbot reply quotes a ₹150 cancellation fee, but no ChaiCart document, past or present, mentions that fee. What does this reveal about where the fee came from?

    • A.

      The fee was copied from a since-removed FAQ entry.

    • B.

      The model composed the fee rather than retrieving it.

    • C.

      Amazon Bedrock supplied the fee from its pricing records.

    • D.

      The customer's message must have mentioned the fee first.

    Show answer
    Answer: B.

    The model composed the fee rather than retrieving it.

    The correct option is right because a generated reply is written fresh by the model, so a specific figure can appear with no stored source behind it. The option about a since-removed FAQ entry is wrong because a copied answer must come from a stored entry, and no ChaiCart document, past or present, contains the fee. The option claiming Amazon Bedrock supplied the fee is wrong because Bedrock only routes the message to the model and carries the reply back; it holds no ChaiCart records. The option saying the customer mentioned the fee is wrong because the scenario describes the fee appearing in the reply, not in the customer's words, and the fee is still unsourced.

  2. 2.

    ChaiCart's policy: crushed tea packs are refundable only if unopened, and only within 7 days of delivery. A customer who opened a crushed ₹450 pack receives this chatbot reply: "Yes! Crushed packs qualify for a full refund. Just send a photo." What is the problem with the reply?

    • A.

      It is a copied FAQ answer, so its wording must match the stored entry

    • B.

      It omits the unopened condition, so it contradicts the stated policy

    • C.

      Crushed packs can never be refunded, so any refund offer is wrong

    • D.

      Nothing is wrong; the confident wording means the policy was applied

    Show answer
    Answer: B.

    It omits the unopened condition, so it contradicts the stated policy

    The correct option identifies that the reply promises a refund without the unopened condition, so it contradicts the stated policy even though it reads smoothly. The option claiming nothing is wrong treats fluency as proof of accuracy, which the lesson rejects. The option saying crushed packs can never be refunded contradicts the policy, which allows refunds for unopened crushed packs. The option calling it a copied FAQ answer misreads the lesson: the reply is a generated answer, and copied-or-generated status does not decide whether it is correct.

  3. 3.

    Why can one foundation model answer refund, shipping and brewing questions for ChaiCart?

    • A.

      ChaiCart retrains the model every time a new topic appears.

    • B.

      It was trained on broad text covering many different topics.

    • C.

      Amazon Bedrock sorts each question into a topic label first.

    • D.

      It stores a separate pre-written FAQ entry for each topic.

    Show answer
    Answer: B.

    It was trained on broad text covering many different topics.

    Option 2 is correct because a foundation model's broad training lets one model handle many kinds of questions. Option 4 describes copied FAQ answers, not a foundation model. Option 1 is wrong because the model is not retrained per topic; ChaiCart uses an existing model. Option 3 is wrong because Bedrock only passes the words to the chosen model and does not classify topics.

  4. 4.

    Does a model trained only on ChaiCart's order records count as a foundation model?

    • A.

      No, its training covers one narrow use, not broad data.

    • B.

      No, only models hosted in Amazon Bedrock count as foundation models.

    • C.

      Yes, any model large enough to answer customer questions qualifies.

    • D.

      Yes, ChaiCart trained it on its own business data.

    Show answer
    Answer: A.

    No, its training covers one narrow use, not broad data.

    A foundation model is defined by broad training that supports many kinds of questions. A model trained only on ChaiCart order records is narrow, so it does not qualify. The option saying ChaiCart's own business data is enough confuses the source of data with its breadth. The option about size ignores breadth of training. The option requiring Amazon Bedrock hosting confuses where a model is accessed with what makes it a foundation model.

  5. 5.

    ChaiCart's chatbot sends a customer's refund message to a foundation model and gets the reply back. Which component carries that message to the model and back?

    • A.

      Amazon Bedrock

    • B.

      Customer chat window

    • C.

      Stored FAQ entry

    • D.

      Model training data

    Show answer
    Answer: A.

    Amazon Bedrock

    Amazon Bedrock is the AWS service through which the chatbot reaches a foundation model, so it carries the message out and the reply back. The customer chat window only displays the reply at the end and does not carry the message to the model. A stored FAQ entry is a copied answer, not a transport route, so it never reaches the model. Model training data is what the model learned earlier, not the component that carries a live message.

  6. 6.

    Does ChaiCart need to build its own foundation model to answer customer chats?

    • A.

      ChaiCart reaches an existing foundation model through Amazon Bedrock.

    • B.

      ChaiCart trains its own foundation model on its order records.

    • C.

      ChaiCart hosts its own foundation model in the ap-south-1 region.

    • D.

      ChaiCart copies replies from a stored FAQ kept in Bedrock.

    Show answer
    Answer: A.

    ChaiCart reaches an existing foundation model through Amazon Bedrock.

    The reading says ChaiCart does not train its own foundation model and reaches one through Amazon Bedrock. Option 2 wrongly claims ChaiCart trains a model on its own order records, which is also too narrow to be a foundation model. Option 3 wrongly says ChaiCart hosts its own model; the region is only where the chatbot runs. Option 4 describes a copied answer from a stored FAQ, which is not how the chatbot's replies are produced.

  7. 7.

    ChaiCart's chatbot uses a foundation model. Why can that model's broad training not reliably supply ChaiCart's own 7-day return window?

    • A.

      Amazon Bedrock stores each shop's return rules inside the model.

    • B.

      General training text never included ChaiCart's private return policy.

    • C.

      Its answers are copied from the latest FAQ entries.

    • D.

      Broad training teaches it each shop's return rules.

    Show answer
    Answer: B.

    General training text never included ChaiCart's private return policy.

    The correct option is right because a foundation model's broad training covers general text, and a business's private policy is not part of that text, so the model cannot reliably know it. The option claiming broad training teaches each shop's return rules is wrong because breadth does not mean it learned every business's specific facts. The option claiming Amazon Bedrock stores each shop's return rules is wrong because Bedrock is the route that passes messages to the model, not a store of policies. The option claiming answers are copied from the latest FAQ entries is wrong because the reading says the chatbot's answer is generated fresh, not copied.

  8. 8.

    ChaiCart's chatbot writes a reply about returning a ₹480 tea order. When must that generated reply be checked?

    • A.

      Only once, when the chatbot is first set up

    • B.

      Only after the customer has received the refund

    • C.

      Against ChaiCart's real return policy, before the customer acts

    • D.

      Only if the customer reports a problem afterwards

    Show answer
    Answer: C.

    Against ChaiCart's real return policy, before the customer acts

    Each generated answer must be checked against ChaiCart's real return policy before a customer acts on it, because fluent text can still be wrong. The option about checking only after the refund is received is wrong because the check must come before the customer acts. The option about checking once at setup is wrong because every generated reply is written fresh and needs its own check. The option about checking only when a customer complains is wrong because waiting for complaints lets wrong replies reach customers unchecked.

  9. 9.

    ChaiCart's chatbot answers the same refund question twice, and the two replies are worded differently. The chatbot answers from the prompt each time. What explains this?

    • A.

      The second message changed which policy the chatbot applies.

    • B.

      The chatbot picked a different stored FAQ entry.

    • C.

      Bedrock edited the first reply after the customer read it.

    • D.

      The model wrote each reply fresh, so wording can vary.

    Show answer
    Answer: D.

    The model wrote each reply fresh, so wording can vary.

    The foundation model writes a new reply for each question, so identical questions can get differently worded answers. The option about choosing a different stored FAQ entry is wrong because the reading says a copied answer is identical every time, and the chatbot does not pick entries in the generated case. The option about Bedrock editing the first reply is wrong because Bedrock only passes the words to the model and returns the answer. The option about the second message changing the policy is wrong because the policy is ChaiCart's real return policy, which does not change with wording.

  10. 10.

    ChaiCart's support chatbot answers a crushed-pack refund question with no hedging and total certainty. What does that confident tone show?

    • A.

      It shows nothing about accuracy; the reply still needs checking.

    • B.

      It shows the reply fits the customer's crushed-pack wording exactly.

    • C.

      It shows the wording was copied from a stored FAQ entry.

    • D.

      It shows the model checked ChaiCart's return policy before replying.

    Show answer
    Answer: A.

    It shows nothing about accuracy; the reply still needs checking.

    A confident tone describes how the text reads, not whether it is true. A generated answer is plausible-sounding text, so its certainty tells you nothing about accuracy and it must be checked against ChaiCart's actual policy. The option claiming the model checked the policy assumes a verification step the reading never describes; the option about fitting the customer's wording confuses relevance with correctness; the option about copying confuses tone with origin, since a confident reply can be either generated or copied.

Take these as a timed quiz

Lessons in AI In One Support Chat

  1. One customer question answered by a foundation model
  2. Prompt and response
  3. Predicting vs generating
  4. Ai that assists human decisions
  5. Training data vs new inputs

89 lessons across 10 topics. See the full course