Generative AI basics · 14 min
Advantages and limitations of generative AI
In this lesson you will learn which advantages and disadvantages of generative AI the exam guide lists, what a hallucination is and why it happens, how a model is chosen by its factors and which metrics measure its business value.
Task 2.2 of the AIF-C01 exam guide asks for three things about generative AI: its advantages and disadvantages, how a model is chosen and how to measure whether an application is worth what it costs. The advantages and the limitations come from the same mechanism: a foundation model chooses each token by probability, that is, it writes the continuation that seems most likely to it. For example, an online store's help assistant can naturally answer any question from a customer, and for the same reason it can make up a return policy that sounds believable and doesn't exist.
Advantages of generative AI

The exam guide names four advantages of generative AI:
- Adaptability, which lets the same model summarize, translate or classify by changing only the prompt, and which AWS calls the unique feature of foundation models. For example, the store uses the same model to translate a review and to say whether that review is a complaint.
- Responsiveness, which consists of answering in seconds requests that nobody programmed one by one. For example, a customer asks whether a coat is good for snow and gets an answer, even though nobody wrote that answer beforehand.
- Conversational ability, which makes it possible to hold a multi-turn conversation in natural language and which makes assistants possible. For example, the customer asks about a coat, then writes "and in blue?", and the assistant understands they are still talking about the same coat.
- Content generation, which consists of creating text, images, code, audio or video that didn't exist before. For example, the store asks for a description of a new product and the model writes it from scratch.
cloud path tip: learn these four as advantages. That way, when a question asks you to choose disadvantages, you can quickly rule them out if they appear among the options.
What is a hallucination?
AWS defines a hallucination as an incorrect or misleading response generated by a foundation model. Hallucinations come from the same mechanism that makes the model useful: the model predicts likely tokens and doesn't consult a database of facts, so it can answer something false with the same confidence as something true. For example, if a customer asks how many days they have to return a product and the model didn't receive the store's policy, it can answer any number that sounds reasonable.
Types of hallucination

AWS describes three types of hallucination, each with an example:
- Factual errors, such as when the model says that Benjamin Franklin was the first president of the United States.
- Misclassification, such as when a self-driving car mistakes a cardboard box for a person and stops.
- Contradictions, where one sentence says the opposite of the previous one or the response doesn't match the request, such as a birthday card for your brother that starts with "Dear Dad".
For example, at the store, a factual error would be the assistant saying that a product comes in red when it only exists in black.
Causes and how to reduce them
According to AWS, hallucinations have four causes:
- Poor or biased training data, because the model repeats what it saw. For example, if almost all the texts it read on a topic were wrong, the model repeats the error.
- Overfitting, which happens when the model memorized its training examples instead of learning the general idea, and fails on new cases. For example, a model that only saw questions about domestic shipping can answer one about international shipping badly.
- A limited context window, which is the maximum amount of text the model can consider at once. For example, if a conversation is very long, the model no longer has in view what the customer said at the beginning.
- Ambiguous language, such as sarcasm or idioms. For example, a customer writes "wow, so fast, it only took a month" and the model takes it as praise.
To reduce them, AWS recommends quality data, clear prompts with context and examples, and RAG (retrieval-augmented generation). RAG searches your documents for relevant, current information and gives it to the model inside the prompt, so it answers with that information. For example, before the model answers about returns, the store's application looks up the return policy and pastes it into the prompt.
In addition, Amazon Bedrock Guardrails has a contextual grounding check, which detects responses that aren't supported by the source documents. For example, if the store's assistant answers something that doesn't appear in the policy it was given, that check detects that the response has no support in the document.
What reduces hallucination?
An internal support assistant makes up steps that aren't in the company's documentation. Which technique gives the model the correct information in each response?
Other disadvantages

Besides hallucinations, the exam guide names three other disadvantages of generative AI:
- Interpretability, because AWS says that, due to their complexity, these models are considered black boxes, meaning that nobody can see inside them why they gave a response. This is a problem if a regulation requires you to explain each decision. For example, if a bank used a model to reject a loan and a rule required it to explain the reason, it couldn't know what weighed in that decision.
- Inaccuracy, which appears because the model repeats the errors and biases of its training data. For example, if the texts it learned from had an old price, the model can give that old price.
- Nondeterminism, which means that the same prompt can give different responses. For example, two customers ask the store's assistant the same question and get answers with different wording.
This last disadvantage is part of the nature of the models. The Generative AI Lens says that foundation models are nondeterministic by nature, and to handle it, it recommends adjusting the inference parameters, which are the options you choose on each call to the model, and collecting user feedback. For example, the store can lower the temperature, which is the parameter that decides how much risk the model takes when it chooses each token, so the answers vary less, and add a button for the customer to say whether the answer helped.
Advantage or disadvantage?
0 of 6Tap the correct column for each characteristic of generative AI.
Adaptability
Nondeterminism
Conversational ability
Interpretability
Hallucinations
Content generation
How is a model chosen?
The exam guide lists the factors for choosing a model: model types, performance requirements, capabilities, constraints, compliance, cost, latency and model complexity. The AWS decision guide "Choosing a generative AI service" explains those factors like this:
- The model type (modality), which has to be the one that processes your data, such as a text model for language, an embeddings model to search by meaning or an image model to generate or analyze images. For example, to write product descriptions the store needs a text model, and to create product photos it needs an image model.
- Size and complexity, where more parameters usually give better responses but cost more and respond more slowly, and where, according to the guide, large models usually have more than 50 billion parameters. Parameters are the values the model learned in its training. For example, to tell whether a review is positive or negative, a small model is enough for the store.
- Latency, which is noticeable in a chatbot or in real-time translation, so sometimes a faster model is the better choice even if it is a little less accurate. For example, a customer who writes in the store's chat expects the answer in seconds.
- The context window, which is how much text the model can consider at once and which matters for long documents or conversations. For example, to summarize a long contract with a supplier, the store needs a window that fits the whole contract.
- Cost, which depends on the provider's price and on the model's complexity. For example, a large model charges more for each answer than a small one.
- Constraints and compliance, which include which Regions the model is in, what the provider does with the data and what your regulations require, which are the rules your business has to follow. For example, if a rule requires the store to keep its customers' data inside its country, only models available in a Region in that country work for it.
cloud path tip: the Generative AI Lens recommends starting with the smallest model that can do the job and moving up in size only if the quality isn't enough.
Business metrics
A metric is a number you measure to know whether something works. The exam guide also asks you to know which metrics measure whether a generative AI application is worth what it costs:
- ROI (return on investment), which compares what the application brings in with what it cost to build and operate, tokens included. For example, if the store's assistant cost little and saved it a lot of money on customer service, its ROI is good.
- Efficiency, which measures the time or work the application saves on each task. For example, how many fewer minutes a support person takes to answer an email with the model's help.
- Conversion rate, which measures how many visits end in a purchase or a sign-up. For example, out of every hundred people who use the shopping assistant, how many end up buying.
- Average revenue per user (ARPU) and customer lifetime value, which measure whether the people who use the feature spend more or stay longer. For example, whether the customers who use the recommendations keep buying at the store for more years.
- Accuracy and cross-domain performance, which measure whether the model is also right on questions about different topics. For example, whether the assistant answers well about shipping as well as about sizes and payments.
Match each goal with its metric
0 of 4 pairsTap a goal and then the metric that measures it.
0 of 4 pairs.
In both accounts
The advantages, the limitations and the factors for choosing a model are the same in the full AWS account and in the new experience account. If you want to compare models in the Amazon Bedrock playground from the new experience, choose models available within us-east-2. That account doesn't support cross-Region inference, which is sending your request to a model that runs in another Region, so the list of models you can try is shorter. For example, a model that is only offered by sending the request to another Region won't show up for you to compare.
On the exam
A question on this topic may ask you to choose two disadvantages from options that include the four advantages. In addition, some phrases in the question point to the answer:
- "Same prompt, different responses", which points to nondeterminism.
- "We can't explain why it decided", which points to interpretability.
- "Responds in real time", which points to latency and a smaller model.
- "Helps sell", which points to conversion rate.
For example, if the options are "adaptability", "hallucinations", "conversational ability" and "interpretability", and you are asked for two disadvantages, you rule out the two advantages and keep hallucinations and interpretability.
Review question
An application classifies 10 million emails a day as "urgent" or "not urgent" and needs to respond quickly. Which model should you try first?
Next
- Choosing a generative AI service, the AWS decision guide. Its "Consider" section explains the factors for choosing a model. This guide was last updated on February 14, 2025, and some services it mentions have since been renamed or no longer accept new customers.
- Take an AI Practitioner practice exam at /examenes and review your result in domain 2.