AWS AI Practitioner · 6 of 12

What generative AI can and cannot do, and the AWS stack built for it

What generative AI is good at (adaptability, responsiveness, simplicity), where it fails (hallucination, nondeterminism, bias, cut-off, cost, latency, prompt sensitivity), how to choose a model, which business metrics prove it worked, and the AWS stack built for it: Bedrock, SageMaker JumpStart, PartyRock, Amazon Q, Trainium and Inferentia, with the pricing modes and cost trade-offs.

Updated 2026-09-10AIF-C01 · Domain 2
On this page

The previous article explained how a foundation model works. This one is about whether to use one, and with what. Generative AI is the first technology in years that a business can try in an afternoon and misjudge for a year: the demo is dazzling, the failure modes are quiet, and the bill arrives per token. So the first half of this article is an honest ledger, the advantages, the limitations, the factors that pick a model and the metrics that say whether it paid off. The second half is the AWS stack that exists to make the ledger come out positive: Amazon Bedrock and SageMaker JumpStart for building, PartyRock for playing, Amazon Q for using, and Trainium, Inferentia and the GPU fleet underneath, ending with how each of them is priced and what you are trading when you choose one.

The map

Read this first when short on time. Every branch is a section below.

Figure 1. The whole article on one page. Every branch is a section below; fold what you know, open what you do not.

Advantages: adaptability, responsiveness and simplicity

Generative AI earns its place because one model adapts to many tasks without retraining, answers in seconds in natural language, and removes the data collection and feature engineering that a classical machine learning project needs before it produces anything.

The exam guide names three advantages and they are worth taking one at a time, because each one is also the reason a specific limitation exists.

Adaptability

A classical model does one thing. A foundation model does the thing the prompt describes. The same Claude model that summarises a contract this morning classifies support tickets this afternoon and drafts SQL tonight, and none of those tasks appeared in a training plan. New requirements become new prompts, not new projects, and a task that would never have justified a data science team (rewrite these 300 product descriptions in a friendlier tone) becomes a ten-minute job. Adaptability also means graceful handling of inputs nobody anticipated: a misspelled question, a mixed-language email, a screenshot instead of a form.

Responsiveness

A foundation model answers in seconds and in the user's own language, and it streams its answer token by token so the wait feels shorter than it is. That is a different interaction from a nightly batch job or a form with fifteen fields. A customer types "my order arrived broken, what now" and gets a relevant answer, not a menu. A developer writes a comment and the code appears below it. Responsiveness is why generative AI spread first into chat, search and coding assistants: the places where a human is waiting.

Simplicity

Before generative AI, using machine learning meant collecting a labelled dataset, engineering features, training, tuning and deploying, months of work described in the SageMaker lifecycle article. A foundation model skips all of it for a first version: an API call with a prompt is the whole system. There is no training data to gather because the model already knows English, law, code and chemistry to a useful degree, and no infrastructure to run because the model is behind a managed endpoint. The simplicity is real, and it is why the exam repeatedly pairs "lowest operational overhead" with Bedrock.

flowchart TD
  M["One foundation model<br/>weights fixed, behaviour set by the prompt"]
  A["Summarise a 40-page contract<br/>Classify support tickets by urgency"]
  B["Draft SQL from a plain question<br/>Rewrite 300 product descriptions"]
  M --> A
  M --> B
Figure 2. Adaptability in one picture. Four tasks that would once have been four models with four datasets are four prompts to one model. The price is that the model's mistakes are also shared across all four.
In the wild
  • Amazon.com review highlights turn thousands of reviews into a short summary per product, a task that had no classical solution because the output is prose, not a score.
  • Amazon Q Developer adapts to whatever code is on screen, from a Terraform file to a unit test, with one model and no per-language training by the customer.
  • Amazon Connect summarises each call for the agent as soon as it ends, replacing the note-taking minute that used to follow every conversation.
Watch out
  • Simplicity ends at the prototype. The first version is one API call; the production version has retrieval, guardrails, evaluation, logging and cost controls, and those are the work.
  • Adaptability includes adapting to bad instructions. A model that does whatever the prompt says will also do what an attacker's prompt says; see the prompt engineering article on injection.
Exam angle

The three named advantages are adaptability (one model, many tasks), responsiveness (fast, natural-language answers) and simplicity (no dataset, no training, an API call). A scenario asking why a company would choose a foundation model over building a custom model is asking for one of these, usually simplicity or speed to market.

adaptability
The ability of one foundation model to perform many different tasks, chosen at run time by the prompt, without retraining.
responsiveness
Fast, conversational output in natural language, often streamed token by token as it is generated.
simplicity
Getting useful output from an API call and a prompt, with no dataset, feature engineering or training pipeline of your own.

Limitations: hallucination, nondeterminism, bias and the other quiet failures

Foundation models fail in ways that look like success: fluent text that is wrong, answers that change between runs, prejudices absorbed from the training data, knowledge that stops at a date, and a bill and a delay attached to every call.

The exam guide lists these limitations, and every one of them is a question waiting to happen, usually paired with the AWS feature that mitigates it. Take them in turn.

Hallucination

A hallucination is a confident, fluent statement that is false: an invented court case, a product feature that does not exist, a function that was never in the library. It is not a bug to be fixed but a consequence of how the model works: it predicts plausible next tokens, and a plausible-sounding citation is exactly what next-token prediction produces when the true one is not in the weights. Hallucinations cluster where the model lacks knowledge (your company's data, anything after its cut-off, niche facts), where the prompt pressures it to answer rather than decline, and where a long chain of reasoning lets an early error compound.

Cause of hallucinationWhat it looks likeMitigationAWS feature
Knowledge the model never had (private data, post-cut-off events)Invented policy details, wrong prices, outdated factsRetrieve the facts and put them in the prompt (RAG)Amazon Bedrock Knowledge Bases, Amazon Kendra
Prompt demands an answerThe model guesses rather than saying it does not knowInstruct it to answer only from the provided context and to say when it cannotPrompt engineering, Bedrock Prompt Management
High temperatureCreative but loose factsLower temperature and top-p for factual tasksInference parameters on every Bedrock call
Answer not grounded in the retrieved sourceCitation present, claim not in the cited textCheck the answer against the source and block or flag what is unsupportedBedrock Guardrails contextual grounding check
Long, unverified reasoningA wrong step early, confident conclusion lateAsk for step-by-step reasoning, verify with tools, break the task upBedrock Agents calling APIs for facts
High-stakes output with no reviewA wrong answer acts before anyone sees itHuman review of sampled or low-confidence outputsAmazon Augmented AI (A2I), human evaluation in Bedrock Model Evaluation

Interpretability

A foundation model has billions of weights and no readable rule for why it produced a sentence. You can ask it to explain itself, but the explanation is another generated text, not a trace of the computation. That is a problem in regulated domains where a decision must be justified, and it is the reason the responsible AI article spends time on explainability tools and on choosing a simpler model where a reason is required.

Inaccuracy

Separate from hallucination, models are simply imprecise at some things: arithmetic on long numbers (because numbers are chopped into tokens), counting, exact quotation, following twenty constraints at once. Where the output must be exactly right, have the model call a tool that is (a calculator, a database query) rather than trust its own answer.

Nondeterminism

The same prompt can give a different answer each time because the next token is sampled, not chosen. That is fine for brainstorming and fatal for a test suite. Lowering temperature towards zero makes output nearly deterministic; asking for structured output (JSON with fixed keys) reduces variation in shape even when wording varies.

Bias

The model learned from text people wrote, with all the prejudice that text contains, and then from human raters whose preferences have their own slant. Bias appears as stereotyped associations, uneven quality across languages and dialects, and images that default to one kind of face. Curated training data, evaluation across demographic groups and output filters reduce it; they do not remove it. Amazon SageMaker Clarify measures bias in data and predictions, and Bedrock Guardrails can block the worst outputs.

Knowledge cut-off

The model knows nothing after the date its training data was gathered. It will describe last year's product line as current and be unaware of a law passed last month. Retrieval is the fix: current facts arrive in the prompt at question time. Fine-tuning does not solve it well, because fine-tuning teaches style and format far more reliably than facts.

Cost and latency

Every call costs money per token and takes seconds, more for long outputs since each output token is a full pass over the sequence. A chat application re-sends its history every turn, so cost grows with conversation length. Large models are slower and dearer than small ones. The levers are shorter prompts, capped output length, smaller models where they pass, caching common answers and batch processing where nobody is waiting.

Prompt sensitivity

Small changes in wording, order or formatting of the prompt can change the answer a lot, which makes behaviour hard to guarantee and makes prompts something to version and test like code. It also opens the door to prompt injection, where text inside a document or a user message rewrites the model's instructions.

flowchart TD
  U["User question"]
  R["Retrieve facts<br/>Knowledge Base adds the source text<br/>fixes cut-off and missing knowledge"]
  P["Prompt with instructions<br/>answer only from context, low temperature<br/>fixes guessing and nondeterminism"]
  M["Foundation model"]
  G["Guardrails on the output<br/>grounding check, content and PII filters<br/>fixes unsupported claims and harmful text"]
  H["Human review for high stakes<br/>Amazon A2I on sampled or low-confidence answers"]
  U --> R --> P --> M --> G --> H
Figure 3. Where each mitigation sits on the path from question to answer. Retrieval fixes what the model does not know, the prompt fixes how it answers, guardrails check what came out, and a person catches what the rest missed.
In the wild
  • Invented legal citations filed by lawyers who trusted a chat assistant are the best-known hallucination cases; the cure in that profession is retrieval from the real case database plus reading what you file.
  • Amazon Bedrock Guardrails added contextual grounding checks specifically because customers building RAG systems needed a way to catch answers that drifted from their sources.
  • Every coding assistant, Amazon Q Developer included, occasionally proposes a library method that does not exist; the compiler is the grounding check that makes the failure cheap.
Watch out
  • Fluency is not evidence. A model's confidence does not vary with its correctness, so a reviewer cannot skim for doubt; they have to check facts.
  • Fine-tuning does not fix the cut-off. The exam will offer it; retrieval is the answer for current or private facts.
  • Lower temperature reduces variation, not error. A deterministic wrong answer is still wrong; grounding is what fixes accuracy.
Exam angle

Match limitation to mitigation: hallucination or cut-off or company data → Knowledge Bases (RAG) and Guardrails contextual grounding; nondeterminism → lower temperature; bias → SageMaker Clarify and Guardrails; interpretability → a simpler model or explainability tooling; cost and latency → smaller model, shorter prompts, batch inference; harmful output → Guardrails content filters. "Fluent but factually wrong" is the definition of hallucination.

hallucination
Output that is fluent and confident but false or unsupported by any source, produced because the model predicts plausible text rather than checking facts.
interpretability
The degree to which a human can understand why a model produced an output. Foundation models score low; their explanations are themselves generated text.
nondeterminism
Different outputs for the same input, caused by sampling the next token; reduced by lowering temperature.
knowledge cut-off
The date after which the model's training data contains nothing; anything newer must be supplied in the prompt.
prompt sensitivity
Large changes in output from small changes in the prompt's wording, order or format.

Choosing a model: the factors that decide

Selecting a foundation model means listing what the task needs (modality, quality, latency, throughput), what the business allows (cost, compliance, licence, region, data handling), and how much you intend to customise, then testing the shortlist on your own data and picking the smallest model that passes.

The Bedrock catalogue alone has dozens of models across seven providers, and the temptation is to take the most capable. The exam, and a sensible budget, prefer the model that meets the requirement at the lowest cost and latency. The factors below are the ones the exam guide names, grouped by the question they answer.

FactorQuestion to askExamples of what changes the answer
Model type and modalityWhat goes in and what comes out?Text to text needs an LLM; images in need Claude or Nova Lite and Pro; images out need Nova Canvas or Stability AI; vectors need Titan Embeddings
Performance requirementsHow good, how fast, how many per second?A legal summariser needs top quality; an autocomplete needs sub-second latency; a batch job needs throughput and can wait
CapabilitiesDoes it reason, follow complex instructions, call tools, handle long documents?Agents need reliable tool use; multi-step analysis favours the larger models in a family
Context windowHow much must the model see at once?Whole contracts or codebases need 100,000 tokens or more; a chatbot with retrieval does fine with far less
CostWhat is the price per input and output token, per image, or per instance-hour, at expected volume?Nova Micro and Claude Haiku class models are a fraction of the cost of the largest models; volume decides whether provisioned throughput pays
LatencyIs a human waiting?Smaller models and shorter outputs respond faster; streaming hides part of the wait
Customisation optionsWill prompting be enough, or is fine-tuning or continued pre-training needed?Not every Bedrock model supports fine-tuning; JumpStart open models allow full training control
Compliance and data handlingWhere does data go, who can see it, is the service in scope for the required standards?Bedrock keeps data in your account and region and does not train on it; regulated data may require a specific region
LicenceWhat may you do with the model and its output?Open-weights models (Llama, Mistral) carry their own licences; proprietary models have usage terms in the provider's EULA on Bedrock
ConstraintsRegional availability, quotas, languages supported, provider preferenceA model not offered in the required region is out, whatever its quality; cross-region inference can widen the choice
flowchart TD
  S["List the requirement<br/>task, modality, quality bar, latency, volume, region, compliance"]
  Q1{"Modality?"}
  T["Text and reasoning<br/>Claude, Nova, Llama, Mistral, Command, Jamba"]
  I["Images or video out<br/>Nova Canvas, Titan Image, Stability AI, Nova Reel"]
  V["Vectors<br/>Titan Embeddings, Cohere Embed"]
  E["Shortlist two or three sizes<br/>evaluate on your own prompts and data"]
  Q2{"Passes?"}
  C["Take the smallest that passes<br/>then choose the pricing mode by traffic shape"]
  U["Step up a size, add retrieval,<br/>or consider fine-tuning"]
  S --> Q1
  Q1 -- text --> T
  Q1 -- media --> I
  Q1 -- search --> V
  T --> E
  I --> E
  V --> E
  E --> Q2
  Q2 -- yes --> C
  Q2 -- no --> U
  U --> E
Figure 4. A selection routine. Fix the modality first, shortlist by capability and constraints, evaluate against your own data, and stop at the smallest model that meets the bar; only then decide how to pay for it.

The evaluation step is not optional. Public benchmarks rank models on generic tasks; your task is specific. Bedrock's playgrounds let you send the same prompt to several models side by side, and Amazon Bedrock Model Evaluation runs a dataset of your prompts through candidate models and scores them automatically or with human raters. The evaluation article covers the metrics.

In the wild
  • Amazon Bedrock ships each provider's family in several sizes (Claude Haiku, Sonnet and Opus; Nova Micro, Lite, Pro and Premier) precisely so the selection routine has a ladder to climb and, more often, to stop early on.
  • Amazon Bedrock Model Evaluation runs the same prompt set through candidate models and reports accuracy, robustness and toxicity, or collects human ratings from your own team.
  • Customer service chat deployments commonly use a small, fast model for classification and routing and a larger model only for the answers that need it, which is the selection routine applied per step.
Watch out
  • The biggest model is rarely the right answer on the exam. Look for the requirement the scenario stresses (cost, latency, a modality, a region) and choose the model that satisfies it with the least excess.
  • Check fine-tuning support before promising it. Only some Bedrock models can be customised; if the scenario demands fine-tuning a specific open model with full control, JumpStart is the door.
Exam angle

Questions give a requirement and expect the matching factor: "lowest cost for simple classification" (a small model), "analyse 300-page documents" (context window), "must stay in a specific region for regulatory reasons" (regional availability and compliance), "needs to generate images" (modality). Multiple factors together point at "evaluate candidate models on your own data with Bedrock Model Evaluation".

context window
The number of tokens a model can consider in one call; a selection factor whenever inputs are long.
open-weights model
A model whose trained weights are published under a licence (Llama, Mistral), so it can be hosted and fine-tuned anywhere, unlike a proprietary model reachable only through its provider's API.
EULA
End-user licence agreement: the provider's terms you accept when enabling a model in Bedrock, which set what you may do with it and its output.

Business value: the metrics that say it worked

A generative AI application is justified by business metrics, time saved, tasks completed, conversion, revenue per user, satisfaction, cost per outcome, and not by model metrics alone, because a model can score well on a benchmark and still change nothing a customer or an accountant notices.

The exam guide lists the metrics below. The habit to build is pairing every model-level measure (accuracy, ROUGE, toxicity) with a business-level one it is supposed to move, and measuring the second before and after the launch. A pilot that cannot name its business metric is a demo.

MetricWhat it measuresTypical generative AI useHow to measure it
Time savedHours a person no longer spends on a taskDrafting, summarising calls, writing boilerplate codeTime per task before and after, multiplied by volume
Task completion rateShare of requests the system finishes without a humanChatbot resolutions, agent workflows, form fillingCompleted without escalation divided by attempted
EfficiencyOutput per unit of cost or effortTickets per agent per day, assets produced per designerThroughput and cost per outcome, including token spend
AccuracyHow often the output is correct or acceptableExtraction, classification, factual answersHuman-rated sample, or automatic comparison to known answers
Cross-domain performanceWhether one model performs across several tasks or departmentsA single assistant for HR, IT and finance questionsAccuracy and satisfaction per domain, compared
Conversion rateShare of visitors who buy, sign up or actGenerated product descriptions, personalised recommendations, shopping assistantsA/B test with and without the feature
Average revenue per user (ARPU)Revenue divided by users over a periodUpsell suggestions, premium AI featuresCohort comparison over time
Customer lifetime value (CLV)Total expected revenue from a customerBetter support and personalisation raising retentionRetention and spend modelled over the relationship
Customer satisfactionHow users rate the experienceSupport chat, self-service answersCSAT surveys, thumbs up and down, net promoter score

Two of these deserve a note. Cross-domain performance is the metric of adaptability: it asks whether the one model you deployed is genuinely serving every department or quietly failing in the one whose vocabulary it did not know. Efficiency must include the token bill: a chatbot that resolves 80 percent of tickets but costs more per resolution than a human is not efficient, and the fix (a smaller model, shorter prompts, caching) is technical.

In the wild
  • Amazon's Java upgrade with Amazon Q Developer is the widely quoted time-saved case: the code transformation agent upgraded thousands of internal applications to Java 17, saving what Amazon described as thousands of developer-years of effort.
  • Amazon Connect customers measure generative call summaries in seconds of after-call work saved per contact, multiplied by contact volume: efficiency and time saved.
  • E-commerce teams A/B test generated product descriptions and shopping assistants on conversion rate, the only metric that settles whether prettier text sold more.
Watch out
  • Model metrics are not business metrics. ROUGE and accuracy live in the evaluation article; the exam asks for business value in terms of revenue, time, completion and satisfaction.
  • Measure the baseline first. Time saved with no "before" number is a guess.
  • Count the humans in the loop. If reviewers now check every output, their time belongs on the cost side of efficiency.
Exam angle

When a question asks how to measure the business value of a generative AI application, the answers are metrics like conversion rate, average revenue per user, customer lifetime value, task completion rate, time saved and customer satisfaction; distractors are model metrics such as BLEU or perplexity. "Cross-domain performance" is the odd one in the list, and it means how well one model serves several different tasks or business areas.

conversion rate
The fraction of users who take the desired action, such as a purchase or a sign-up.
average revenue per user (ARPU)
Total revenue in a period divided by the number of users in that period.
customer lifetime value (CLV)
The total revenue a business expects from one customer over the whole relationship.
cross-domain performance
How consistently one model performs across different subject areas or business functions.

Three layers: how the AWS generative AI stack is arranged

AWS organises its generative AI offering in three layers: infrastructure to train and run models (chips, instances, clusters), tools to build with models (Amazon Bedrock, Amazon SageMaker), and finished applications that use models (Amazon Q, PartyRock).

The first article drew the whole AI stack; this is the generative slice of it. The layering is how AWS talks about itself and how the exam frames "which service" questions: a scenario that wants to use generative AI for a business task with no code is at the top; one that wants to build an application on a foundation model is in the middle; one that wants to train or host a model at scale is at the bottom. Most customers live in the middle layer and never touch the bottom one directly, because Bedrock hides it.

flowchart TD
  A["Applications<br/>Amazon Q Business, Developer, QuickSight, Connect · PartyRock<br/>your own apps on Bedrock Agents and Knowledge Bases"]
  T["Tools<br/>Amazon Bedrock: serverless FMs, one API<br/>SageMaker JumpStart: model hub, your endpoints<br/>Amazon SageMaker: train, tune, host"]
  I["Infrastructure<br/>AWS Trainium for training, AWS Inferentia for inference<br/>GPU instances (P and G families)<br/>HyperPod and UltraClusters: resilient clusters at scale"]
  A --> T --> I
Figure 5. The three layers of the AWS generative AI stack. Applications at the top are built on the tools in the middle, which run on the infrastructure at the bottom. A customer chooses the layer that matches how much they want to build.
LayerYou bringAWS providesServicesChoose it when
ApplicationsYour data, your usersA finished assistant with the model, retrieval and interface built inAmazon Q Business, Amazon Q Developer, Amazon Q in QuickSight, Amazon Q in Connect, PartyRockThe business task is standard and nobody wants to write code
ToolsPrompts, data, application codeModels behind an API, plus managed RAG, agents, guardrails, customisation and evaluationAmazon Bedrock, SageMaker JumpStart, SageMakerYou are building a product or workflow of your own on a foundation model
InfrastructureModels and training codeAccelerators, networking and cluster managementAWS Trainium, AWS Inferentia, EC2 P and G instances, SageMaker HyperPod, EC2 UltraClustersYou train or host large models yourself and need control of cost and performance
In the wild
  • Amazon Q Developer is a top-layer application that runs on Bedrock in the middle layer, which in turn runs on Trainium and GPUs at the bottom: the three layers stacked inside one AWS product.
  • Anthropic works at the bottom layer, training on Trainium clusters, and its models surface in the middle layer through Bedrock.
  • A typical enterprise buys Amazon Q Business for staff questions (top), builds a customer-facing assistant on Bedrock (middle) and never sees an accelerator.
Exam angle

Read the verb in the scenario. "Employees need to ask questions about company documents" is Amazon Q Business (application layer). "Developers need to build a chatbot on a foundation model" is Bedrock (tools layer). "A research team needs to train a large model cost-effectively" is Trainium or SageMaker HyperPod (infrastructure layer).

Amazon Bedrock: the middle layer in one API

Amazon Bedrock is a fully managed, serverless service that offers foundation models from Amazon and other providers behind one API, together with the managed pieces an application needs around a model: knowledge bases for retrieval, agents for multi-step tasks, guardrails for safety, customisation, evaluation and logging.

The next article is the full reference; this section places Bedrock in the stack and lists what the exam expects you to associate with it. You choose a model from the catalogue (Amazon Titan and Nova, Anthropic Claude, Meta Llama, Mistral AI, Cohere, AI21 Labs, Stability AI), call it with a prompt and inference parameters, and pay per token or per image on demand. There is no server to size. Your prompts and completions are not used to train the providers' models, are encrypted in transit and at rest, and stay in the region you called. Around the model, Knowledge Bases give managed RAG over your documents, Agents plan and call your APIs, Guardrails filter input and output, custom models let you fine-tune or continue pre-training some models on your data, and Model Evaluation compares candidates.

In the wild
  • Amazon Q itself is built on Bedrock, which is the strongest argument AWS makes for the platform.
  • Regulated industries pick Bedrock for the data-handling promise: prompts stay in the account and region and never train a base model, which is what a data protection officer needs to hear.
  • Start-ups pick it because a proof of concept is one API call and a production system is the same call with Guardrails and a Knowledge Base attached.
Exam angle

Any scenario that wants to build on a foundation model with the least operational effort, switch between models without code changes, or keep prompts private and untrained-upon points at Amazon Bedrock. The words "serverless", "single API", "multiple providers" and "fully managed" are its fingerprints.

Amazon SageMaker JumpStart: the model hub you deploy yourself

SageMaker JumpStart is a catalogue inside Amazon SageMaker of pre-trained models and solution templates that you deploy with one click to an endpoint in your own account and can fine-tune with your own data, trading Bedrock's convenience for a wider choice of models and full control of the instance they run on.

JumpStart lives in SageMaker Studio. It lists hundreds of models: open-weights foundation models (Meta Llama, Mistral and Mixtral, Falcon, Stable Diffusion, Hugging Face text and vision models), proprietary models from the AWS Marketplace, and classical models for tabular and vision tasks, plus end-to-end solution templates (document summarisation, demand forecasting) with notebooks. For a foundation model, you pick it, choose an instance type, and JumpStart creates a SageMaker endpoint in your account running that model; you call the endpoint like any SageMaker model. To fine-tune, you point JumpStart at a dataset in S3 and it runs a SageMaker training job that produces your own version of the model, which you then deploy the same way. The model artefacts never leave your account and the endpoint sits inside your VPC if you want it to.

flowchart TD
  H["JumpStart model hub<br/>Llama, Mistral, Falcon, Stable Diffusion, Hugging Face"]
  P["Pick a model and an instance type<br/>for example an ml.g5 GPU instance"]
  F["Optional: fine-tune<br/>training job on your data in S3"]
  E["SageMaker endpoint in your account<br/>you pay per instance-hour while it runs"]
  A["Your application<br/>calls InvokeEndpoint"]
  H --> P --> F --> E --> A
Figure 6. The JumpStart path. The model is copied into an endpoint you own, on an instance you chose, billed by the hour whether or not requests arrive. Compare Bedrock, where none of the boxes but the last exist for you.

JumpStart versus Bedrock

Amazon BedrockSageMaker JumpStart
Who runs the modelAWS, serverless, shared capacityYou, on a SageMaker endpoint in your account
PricingPer token or per image on demand; provisioned throughput; batchPer instance-hour for the endpoint (plus training job time), whether busy or idle
Model choiceCurated catalogue from seven providersHundreds of open-weights and Marketplace models
CustomisationFine-tuning and continued pre-training on supported models, managedFine-tune any supported model with full control of the training job and hyperparameters
Managed extrasKnowledge Bases, Agents, Guardrails, Model Evaluation, Prompt ManagementSageMaker tooling: pipelines, Clarify, Model Monitor; RAG and agents are yours to build
OperationsNone: no instances, scaling handledInstance sizing, auto scaling, patching the container image, endpoint costs when idle
Data locationIn your account and region, not used for trainingIn your account and VPC, fully under your control
Choose whenYou want the least operational overhead and a managed application stackYou need a model Bedrock does not offer, full training control, or a fixed-cost endpoint for steady heavy load
In the wild
  • Hugging Face models reach AWS customers mostly through JumpStart and the SageMaker Hugging Face containers, which is how a team runs a niche open model that no managed catalogue offers.
  • Teams with steady, heavy inference sometimes host Llama on a JumpStart endpoint because a fully used instance costs less than the equivalent tokens, and they own the scaling.
  • Research groups use JumpStart fine-tuning to adapt open models with custom training recipes that Bedrock's managed fine-tuning does not expose.
Watch out
  • An idle endpoint still bills. JumpStart endpoints run on instances; delete them after an experiment or the invoice will remind you.
  • JumpStart is not serverless. If a question stresses "no infrastructure to manage", JumpStart is the distractor and Bedrock is the answer.
  • Guardrails and Knowledge Bases are Bedrock features. A JumpStart-hosted model can use them only in the limited ways Bedrock exposes (the ApplyGuardrail API works on any text); most of the managed stack is Bedrock-only.
Exam angle

"Deploy an open-source foundation model with one click", "fine-tune a model with full control", "model hub", "solution templates" and "endpoint in my account" point at SageMaker JumpStart. "Serverless", "pay per token", "no endpoints" point at Bedrock. Both give access to foundation models; the difference is who runs them and how you pay.

SageMaker endpoint
A hosted HTTPS endpoint running your model on instances you chose, billed per instance-hour; real-time, serverless and asynchronous variants exist.
model hub
A catalogue of ready-to-deploy pre-trained models; JumpStart is SageMaker's, Hugging Face Hub is the best-known public one.
solution template
A JumpStart package that deploys a complete example (data, model, notebook, endpoint) for a business problem in one step.

PartyRock: the Bedrock playground for no-code apps

PartyRock is a free web playground built on Amazon Bedrock where anyone can build, share and remix small generative AI applications by wiring text, image and chat widgets to prompts, with no code and no AWS account.

PartyRock exists to teach prompting and to let people try ideas before they build them properly. An app is a page of widgets: a text input, a "generate text" widget whose prompt references the input, an image generation widget, a chatbot widget. You describe the app you want and PartyRock drafts the widgets, or you build them by hand and edit each prompt. Apps are shareable by link and any user can remix one to see and change its prompts, which is why it works as a learning tool: every app is a worked example of prompt engineering with the answers visible. It uses Bedrock models behind the scenes (Anthropic Claude, Amazon Nova, Meta Llama and others), and it is free within usage limits, with a sign-in through social accounts rather than an AWS account.

What PartyRock is not: a production service. There is no API, no SLA, no VPC and no place for company data. The path from a PartyRock idea to a product is to rebuild it on Bedrock with the same prompts.

In the wild
  • Hackathons and workshops use PartyRock because a room of non-developers can each have a working app in twenty minutes.
  • Product managers mock up an assistant's behaviour in PartyRock to show engineers what "summarise then suggest three replies" should feel like before a line of code exists.
  • Prompt engineering courses lean on remix: open a good app, read its prompts, change one word, see what happens.
Exam angle

PartyRock is the answer to "experiment with generative AI and build a prototype app without code or an AWS account", and it is "the Amazon Bedrock playground". It is never the answer for production, security or enterprise data.

Amazon Q: the assistants at the top of the stack

Amazon Q is AWS's family of ready-made generative AI assistants: Amazon Q Business answers questions over a company's own data with permissions respected, Amazon Q Developer helps write code and operate AWS, and Amazon Q inside QuickSight and Connect brings the same assistant to business intelligence and contact centres.

Where Bedrock gives you the parts, Amazon Q gives you the finished assistant. You do not choose a model, write a prompt template or set up a vector store; you connect data, assign users and use it. All Amazon Q products run on Bedrock and inherit its data handling: your content is not used to train the underlying models.

Amazon Q Business

Amazon Q Business is an enterprise assistant that answers employees' questions from the company's own documents and systems, with citations. You connect data sources through built-in connectors (Amazon S3, SharePoint, Confluence, Salesforce, ServiceNow, Jira, Google Drive, Slack, web crawlers and dozens more) and Q Business indexes the content. Users sign in through AWS IAM Identity Center, and every answer respects the permissions of the source: a user only gets answers drawn from documents they were already allowed to open. Plugins let Q take actions in connected systems (create a Jira ticket, open a ServiceNow case), and Amazon Q Apps let employees build small purpose-built apps from a description, PartyRock-style but on company data. It is priced per user per month, in tiers.

flowchart TD
  S["Data sources<br/>S3, SharePoint, Confluence, Salesforce, Jira, web"]
  C["Connectors crawl and index<br/>content plus each document's access list"]
  I["Amazon Q Business<br/>retrieval over the index, generation on Bedrock"]
  U["Employee signs in<br/>IAM Identity Center"]
  A["Answer with citations<br/>only from documents this user may open"]
  P["Plugins take actions<br/>create a ticket, update a record"]
  S --> C --> I
  U --> I
  I --> A
  I --> P
Figure 7. Amazon Q Business. Connectors bring documents and their permissions into an index; the signed-in user's identity filters what retrieval may see; answers cite their sources; plugins act in connected systems.

Amazon Q Developer

Amazon Q Developer, formerly Amazon CodeWhisperer, is the assistant for people who build on AWS. In the IDE (VS Code, JetBrains, Visual Studio, Eclipse) and the command line it completes code as you type, answers questions in a chat panel with awareness of your project, and runs agents that implement a feature across files from a description, write unit tests, document code, and scan for security vulnerabilities. Its code transformation agent upgrades Java applications across major versions. In the AWS Management Console it answers questions about services, explains errors, helps diagnose issues and writes CLI commands; it is also in Slack and Teams through AWS Chatbot. There is a free tier and a Pro tier with higher limits and enterprise controls.

Amazon Q in QuickSight

Inside Amazon QuickSight, the BI service, Amazon Q lets business users ask questions of their data in plain language and get a chart back, build dashboards by describing them, generate executive summaries of a dashboard, and produce "data stories", narrative documents assembled from the data.

Amazon Q in Connect

Inside Amazon Connect, the contact centre service, Amazon Q listens to the live conversation and offers agents suggested responses and relevant knowledge articles in real time, so the agent does not search while the customer waits. Together with generative post-contact summaries, it is the contact-centre face of the same assistant.

Amazon BedrockSageMaker JumpStartPartyRockAmazon Q
Who it is forDevelopers building applications on foundation modelsML engineers and data scientists who want to host and tune models themselvesAnyone experimenting or learning, no AWS account neededEmployees, developers and analysts who want a finished assistant
What you getModels behind one API plus Knowledge Bases, Agents, Guardrails, customisation, evaluationA model hub, one-click endpoints in your account, fine-tuning jobs, solution templatesA web playground to build and share widget-based apps from promptsQ Business (enterprise knowledge), Q Developer (code and AWS), Q in QuickSight (BI), Q in Connect (contact centre)
Pricing modelPer token or image on demand; provisioned throughput; batch; custom model storagePer instance-hour for endpoints and training jobsFree within limitsPer user per month, tiered; Q Developer has a free tier
CustomisationPrompt, RAG, fine-tuning, continued pre-training on supported modelsFull control: any fine-tuning recipe, your own containersPrompts and widgets onlyConnect your data sources and plugins; no model choice
OperationsNone, serverlessYou manage endpoints and scalingNoneNone, administer users and connectors
LayerToolsToolsApplicationsApplications
In the wild
  • Amazon used Amazon Q Developer's code transformation agent to move thousands of internal Java applications to Java 17, the case AWS quotes most often for developer time saved.
  • Amazon Q Business is bought by companies that would otherwise have to build RAG over SharePoint, Confluence and Salesforce themselves, and then rebuild every permission model those systems already have.
  • Contact centres on Amazon Connect put Amazon Q in Connect in front of new agents first, because suggested answers and surfaced articles shorten the learning curve.
Watch out
  • Amazon Q is not one product. Q Business (documents and permissions), Q Developer (code and AWS), Q in QuickSight (BI), Q in Connect (contact centre) are different answers to different scenarios.
  • Q Business does not let you pick the model or the prompt. If the scenario needs a specific model, custom prompts or a custom agent, it is Bedrock.
  • Permissions come from the source. Q Business respects existing document access lists; it does not invent a new permission model, so fix the source permissions first.
Exam angle

"Employees ask questions about internal documents, answers must respect existing permissions, with citations, and no development" is Amazon Q Business. "Help developers write code and answer AWS questions" is Amazon Q Developer, and the exam may still call it by its old name, CodeWhisperer. "Business users ask questions of dashboards in natural language" is Amazon Q in QuickSight. "Real-time suggestions for contact centre agents" is Amazon Q in Connect.

connector
A built-in integration that crawls a data source (SharePoint, Salesforce, S3, Confluence and others) into Amazon Q Business's index along with each document's permissions.
IAM Identity Center
The AWS single sign-on service that Amazon Q Business uses to know who the user is and therefore which documents they may see.
plugin
An Amazon Q Business integration that lets the assistant perform an action in another system, such as creating a ticket.
code transformation
The Amazon Q Developer agent that upgrades an application's code between language versions, notably Java 8 or 11 to Java 17.

The infrastructure layer: Trainium, Inferentia, GPUs, HyperPod and UltraClusters

Underneath every model on AWS are accelerators (AWS's own Trainium and Inferentia chips and NVIDIA GPUs), grouped into resilient clusters (SageMaker HyperPod) and very large networked fleets (EC2 UltraClusters), and the exam expects you to know which is for training and which for inference.

Foundation models are made of matrix multiplications, and the hardware that does those fastest per dollar decides who can afford to train and serve them. AWS offers two routes. NVIDIA GPU instances are the general answer: the P family (P4d with A100, P5 with H100 and newer generations) for training and heavy inference, the G family (G5 and G6, with A10G and L4-class GPUs) for cost-efficient inference and graphics. AWS's own silicon is the specialised answer, built to cut the cost of exactly this workload.

ComponentPurposeInstancesChosen when
AWS TrainiumTraining (and large-model inference) at lower cost than GPUsTrn1, Trn2Training or fine-tuning large models with a cost target; the model is supported by Neuron
AWS InferentiaHigh-throughput, low-cost inferenceInf1, Inf2Serving a trained model at volume where cost per inference matters
NVIDIA GPU instancesGeneral training and inference, broadest software supportP4d, P5 and newer (training); G5, G6 (inference)Anything not yet supported by Neuron, or when the team's tooling is CUDA-based
SageMaker HyperPodResilient managed clusters for distributed trainingRuns on P-family or Trainium instancesLong training runs that must survive node failures without manual intervention
EC2 UltraClustersThousands of accelerators with petabit networkingLarge placement groups of P or Trn instancesPre-training frontier-scale models
In the wild
  • Amazon Nova was trained on Trainium, and Amazon's own services (Alexa, Amazon Search, Amazon Ads) run inference on Inferentia to cut serving cost at their scale.
  • Anthropic trains and serves Claude on AWS using Trainium-based clusters alongside GPUs, the largest public Trainium deployment.
  • Amazon Bedrock itself sits on this layer; when you call a model on demand, AWS is choosing the accelerator for you, which is the point of the managed service.
Watch out
  • Trainium trains, Inferentia infers. The names say it. The exam will swap them in a distractor.
  • Custom silicon needs Neuron support. An exotic model architecture may run only on GPUs; check before promising the cost saving.
  • Most customers never choose an accelerator. Bedrock hides the layer; JumpStart exposes it as an instance type; only self-managed training touches it directly.
Exam angle

"Reduce the cost of training a large model" is AWS Trainium (or SageMaker HyperPod for the cluster); "reduce the cost of inference at scale" is AWS Inferentia; "run a long distributed training job that recovers from hardware failures" is SageMaker HyperPod; "thousands of GPUs with high-bandwidth networking" is EC2 UltraClusters. Neuron is the SDK that makes PyTorch models run on the AWS chips.

accelerator
A processor built for the parallel arithmetic of neural networks: a GPU, or a purpose-built chip such as Trainium or Inferentia.
AWS Neuron
The compiler and runtime SDK that runs PyTorch and JAX models on Trainium and Inferentia.
Elastic Fabric Adapter (EFA)
The low-latency network interface that lets thousands of instances in an UltraCluster exchange gradients fast enough for distributed training.
checkpoint
A saved snapshot of model weights during training, from which a run resumes after a failure instead of starting over.

Why build on AWS: service advantages and infrastructure benefits

The case for AWS's generative AI services is that they make foundation models accessible to teams without ML expertise, at lower cost and faster than building from scratch, on infrastructure whose security, compliance and data-handling promises are already audited.

The exam guide splits the argument into two lists, and a question may draw on either.

Advantages of using AWS generative AI services

Benefits of AWS infrastructure for generative AI

In the wild
  • Healthcare customers build on Bedrock under a HIPAA business associate agreement, something a consumer chat product cannot offer.
  • Banks and insurers require private connectivity and customer-managed keys, both of which Bedrock provides through PrivateLink and KMS.
  • Public sector teams rely on the regional promise: a prompt sent to a model in Frankfurt is processed in Frankfurt.
Watch out
  • Compliance scope is not compliance. Bedrock being HIPAA eligible makes your compliant application possible; it does not make it compliant. Your configuration, logging and access controls still have to be right.
  • "Not used to train" is a Bedrock promise, not a universal one. The exam contrasts it with consumer AI tools that may train on inputs.
Exam angle

Advantages of the services: accessibility, lower barrier to entry, efficiency, cost-effectiveness, speed to market, meeting business objectives. Benefits of the infrastructure: security, compliance, responsibility, safety. The single most-tested fact in this section: Bedrock does not use your prompts or data to train its foundation models, and your data stays in your account and region.

AWS PrivateLink
Private connectivity from your VPC to an AWS service over the AWS network, exposed as a VPC endpoint, so calls to Bedrock need no internet route.
AWS KMS
Key Management Service: the managed keys that encrypt data at rest; customer-managed keys give you control over who can decrypt.
AWS Artifact
The portal for downloading AWS's compliance reports (SOC, ISO, PCI) and agreements such as the HIPAA BAA.
AI service card
AWS's published document for an AI service describing its intended use, limitations and responsible-use guidance.

Cost trade-offs: tokens, pricing modes, model size and placement

The cost of a generative AI application is set by how many tokens it moves, which pricing mode it uses (on-demand, provisioned throughput or batch), how big a model it calls, and where and how redundantly it runs, and every one of those trades money against responsiveness, availability or quality.

Token-based pricing

Bedrock on-demand pricing charges per 1,000 (or per million) tokens, with separate rates for input tokens (what you send) and output tokens (what the model writes), and output is the dearer of the two. Image models charge per image, with resolution and quality steps. Larger models charge more per token than smaller ones in the same family. Two consequences: the prompt (system instructions, retrieved chunks, history) is the bulk of most bills, because it is re-sent every turn, and capping the maximum output length is the simplest cost control. Prompt caching, where a provider reuses the processed prefix of a repeated long prompt at a discount, is the newer lever for applications with a big fixed preamble.

Pricing modes

On-demandProvisioned throughputBatch inference
You pay forTokens (or images) actually processedModel units, a fixed hourly throughput, reserved by the hour or with a 1- or 6-month commitmentTokens processed, at a discount to on-demand
Traffic shapeVariable, unpredictable, small to mediumSteady and high, or spiky with a strict latency requirementLarge offline jobs with no one waiting
LatencyInteractive, subject to shared-capacity throttling at peaksInteractive with guaranteed capacityHours; results land in S3
Required forMost base modelsCustom (fine-tuned or continued pre-trained) models, and base models needing guaranteed throughputSupported base models via a JSONL input file in S3
RiskBill grows with usage; quotas can throttle a spikePaying for reserved units you do not fillNot for anything interactive
Choose whenStarting out, variable load, experimentsPredictable heavy production load, a custom model, or a latency SLAOvernight summarisation, bulk classification, embedding a whole corpus
flowchart TD
  S["A workload to price"]
  Q1{"Custom model?"}
  PT["Provisioned throughput<br/>model units, hourly or committed"]
  Q2{"Anyone waiting?"}
  BA["Batch inference<br/>JSONL in S3, discounted tokens"]
  Q3{"Steady and heavy?"}
  OD["On-demand<br/>pay per input and output token"]
  S --> Q1
  Q1 -- yes --> PT
  Q1 -- no --> Q2
  Q2 -- no --> BA
  Q2 -- yes --> Q3
  Q3 -- yes --> PT
  Q3 -- no --> OD
Figure 8. Choosing a Bedrock pricing mode. Custom models need provisioned throughput; jobs with nobody waiting go to batch; steady heavy interactive traffic justifies reserved units; everything else starts on demand.

Custom model hosting

A fine-tuned or continued pre-trained model in Bedrock costs three ways: the training job (per token processed), monthly storage for the custom model, and provisioned throughput to run it, because custom models cannot be invoked on demand. That last item is what makes customisation a decision rather than a default: a fine-tuned model that runs one hour a day still pays for its reserved units. On JumpStart the equivalent is the endpoint's instance-hours.

Model size versus cost and latency

Within a family, a larger model gives better reasoning and instruction following, costs more per token and answers more slowly. A small model (Nova Micro, Claude Haiku class) is the right default for classification, extraction, routing and short answers; a mid-size model for most generation; the largest for complex reasoning and agents. Because latency scales with output length as well as size, a small model with a short output is dramatically cheaper and faster than a large one with a long one. Bedrock's latency-optimised inference option on some models trades a little cost for faster tokens where a human is waiting.

Responsiveness, availability, redundancy and regional coverage

Cost also buys placement. Running in one region on demand is cheapest; a latency-sensitive global product may need the model in several regions and a multi-region design with failover, which multiplies provisioned units or requires cross-region inference, where Bedrock routes requests across regions within a geography to absorb bursts. Not every model is in every region, so regional coverage can force a model choice or a cross-region profile. Redundancy (a second model or region as fallback) improves availability and costs the standby capacity. Each step up in responsiveness, availability and redundancy is a step up in spend; the requirement, not the maximum, should set the level.

In the wild
  • Batch inference is how teams embed a million documents or summarise a year of call transcripts: an S3 file in, an S3 file out, at a discount, overnight.
  • Provisioned throughput is bought by consumer apps before a launch or a seasonal peak so a surge does not hit on-demand throttling.
  • Cross-region inference profiles let a US or EU application spill over to neighbouring regions during spikes while keeping data inside the geography, which is what the compliance team needs to agree.
Watch out
  • Custom models need provisioned throughput. The exam likes this: "the fine-tuned model cannot be invoked on demand" is expected behaviour, not a bug.
  • Batch is not slow on-demand. It is a different mode with an S3 input file and hours of turnaround; never propose it for a chatbot.
  • Provisioned throughput bills while idle. Buy it for load you can predict, and size the commitment to the steady part, not the peak.
Exam angle

"Unpredictable or low traffic" is on-demand. "Consistent high throughput", "guaranteed capacity" or "custom model" is provisioned throughput. "Large volume, results not needed immediately, lowest cost" is batch inference. "Reduce cost of a chat app" is a smaller model, shorter prompts and a lower maximum output. "Users in several regions with low latency" is regional deployment or cross-region inference, at higher cost. Input tokens are cheaper than output tokens.

on-demand
Pay per token or image processed, with no commitment; the default Bedrock pricing mode for base models.
provisioned throughput
Reserved model units that guarantee a level of throughput for a model, billed hourly with optional commitments; required to run custom models.
batch inference
Submitting many prompts as a file in S3 and receiving the results as a file, at a discount, with turnaround in hours rather than seconds.
model unit
The unit of provisioned throughput: a fixed number of input and output tokens per minute for a given model.
cross-region inference
A Bedrock inference profile that routes requests to a set of regions within a geography to increase available throughput.

Recap

  • Advantages of generative AI: adaptability (one model, many tasks by prompt), responsiveness (fast natural-language answers, streamed) and simplicity (an API call instead of a dataset and a training pipeline).
  • Limitations: hallucination, poor interpretability, inaccuracy at exact tasks, nondeterminism from sampling, bias from training data, knowledge cut-off, per-token cost, latency that grows with output, and prompt sensitivity.
  • Mitigations pair with limitations: RAG (Knowledge Bases) for cut-off and private facts, Guardrails contextual grounding for unsupported claims, lower temperature for consistency, Clarify and Guardrails for bias, A2I for human review, smaller models and shorter prompts for cost and latency.
  • Choose a model by modality, performance, capabilities, context window, cost, latency, customisation options, compliance, licence and regional constraints; evaluate a shortlist on your own data with Bedrock Model Evaluation and take the smallest model that passes.
  • Business value is measured in time saved, task completion rate, efficiency, accuracy, cross-domain performance, conversion rate, average revenue per user, customer lifetime value and customer satisfaction, not in model metrics.
  • The AWS generative AI stack has three layers: infrastructure (Trainium, Inferentia, GPUs, HyperPod, UltraClusters), tools (Bedrock, SageMaker JumpStart, SageMaker) and applications (Amazon Q, PartyRock).
  • Amazon Bedrock is serverless, one API, many providers, per-token pricing, with Knowledge Bases, Agents, Guardrails, customisation and evaluation; your data is not used to train the models and stays in your account and region.
  • SageMaker JumpStart is a model hub that deploys open-weights and Marketplace models to endpoints in your account with one click and fine-tunes them with full control; you pay per instance-hour and run the operations.
  • PartyRock is the free, no-code Bedrock playground for building and remixing prompt-driven apps without an AWS account; never a production service.
  • Amazon Q Business answers over enterprise data through connectors with source permissions respected and citations; Amazon Q Developer (formerly CodeWhisperer) helps with code, agents, Java upgrades and the AWS console; Amazon Q in QuickSight is natural-language BI; Amazon Q in Connect is real-time agent assist.
  • Trainium trains, Inferentia infers, Neuron compiles for both; HyperPod keeps long training runs alive across failures; UltraClusters join thousands of accelerators with EFA networking.
  • AWS service advantages: accessibility, lower barrier to entry, efficiency, cost-effectiveness, speed to market, meeting business objectives. Infrastructure benefits: security (IAM, KMS, PrivateLink), compliance (HIPAA eligible, GDPR, SOC, ISO), responsibility, safety.
  • Cost: input tokens are cheaper than output tokens; on-demand for variable load, provisioned throughput for steady heavy load and for all custom models, batch for offline volume at a discount; smaller models are cheaper and faster; more regions, redundancy and responsiveness cost more.

Questions

Try answering each one out loud before opening it. Lead with the one-line answer, then the reasoning, then one detail that shows you have used it.

What are the three advantages of generative AI the exam names, and what does each mean?

Adaptability (one model performs many tasks chosen by the prompt), responsiveness (fast, conversational, natural-language output) and simplicity (an API call and a prompt replace a dataset, feature engineering and a training pipeline).

  • Adaptability is why a new requirement is a new prompt rather than a new project.
  • Responsiveness is why generative AI arrived first in chat, search and coding assistants.
  • Simplicity is why the exam pairs "lowest operational overhead" with Bedrock.

Each advantage has a shadow: adaptability includes adapting to injected instructions, and simplicity ends where production concerns like guardrails and evaluation begin.

A company's chatbot confidently quotes policy details that do not exist. What is happening and how would you fix it on AWS?

It is hallucinating, producing fluent but false statements because the facts are not in the model's weights; fix it by grounding answers in the real policy documents with Amazon Bedrock Knowledge Bases (RAG) and adding a Bedrock Guardrails contextual grounding check to block answers unsupported by the retrieved text.

  • Instruct the model to answer only from the provided context and to say when it cannot.
  • Lower the temperature for factual tasks to reduce loose generation.
  • Route high-stakes answers to human review with Amazon A2I.

Fine-tuning is the distractor here: it teaches style and format, not reliably current facts, and does not stop invention.

Why does a foundation model give different answers to the same prompt, and what setting controls it?

Because the next token is sampled from a probability distribution rather than always chosen as the most likely; lowering the temperature (and tightening top-p or top-k) makes output more deterministic.

  • This is the nondeterminism limitation in the exam guide.
  • Requesting structured output, such as JSON with fixed keys, reduces variation in shape.
  • Even at temperature 0 output is not guaranteed byte-identical across runs.

Lower temperature reduces variation but not error; a consistently wrong answer still needs grounding.

List the limitations of generative AI and one mitigation for each.

Hallucination (RAG and grounding checks), interpretability (simpler models or explainability tools), inaccuracy (call tools for exact tasks), nondeterminism (lower temperature), bias (curated data, SageMaker Clarify, Guardrails), knowledge cut-off (retrieval of current facts), cost and latency (smaller model, shorter prompts, batch), prompt sensitivity (version and test prompts, defend against injection).

  • Retrieval fixes what the model does not know; the prompt fixes how it answers; guardrails check what came out.
  • Human review with Amazon A2I sits at the end for high-stakes outputs.
  • Bias is measured with SageMaker Clarify and filtered with Guardrails but never fully removed.

Fluency does not vary with correctness, so reviewers must check facts rather than skim for doubt.

A team must pick a foundation model to summarise 300-page contracts in a regulated industry at the lowest cost. Which selection factors dominate?

Context window (the model must hold a long document), compliance and data handling (a Bedrock model in the required region, data not used for training), and cost (the smallest model that summarises well enough), verified by evaluating a shortlist on real contracts.

  • Modality is text to text, so any Bedrock LLM qualifies; capability and context window narrow the field.
  • Use Bedrock Model Evaluation or the playground to compare candidates on your own documents.
  • Regional availability may exclude some models before quality is even considered.

Claude models on Bedrock offer a 200,000-token window, which covers a 300-page contract in one call, so chunking is a cost choice rather than a necessity.

How should the business value of a generative AI application be measured?

With business metrics such as time saved, task completion rate, efficiency, accuracy, cross-domain performance, conversion rate, average revenue per user, customer lifetime value and customer satisfaction, measured against a baseline taken before launch.

  • Model metrics like ROUGE or accuracy belong to evaluation; business metrics prove the outcome moved.
  • Efficiency must include the token bill and the time of any humans reviewing outputs.
  • Cross-domain performance asks whether one model serves every department it was deployed to.

Amazon quotes its Java 17 migration with Amazon Q Developer in developer-years saved, a time-saved metric, not a benchmark score.

Describe the three layers of the AWS generative AI stack with an example service in each.

Infrastructure (AWS Trainium, AWS Inferentia, GPU instances, SageMaker HyperPod, EC2 UltraClusters), tools for building with models (Amazon Bedrock, SageMaker JumpStart, SageMaker) and applications that use models (Amazon Q, PartyRock).

  • The verb in a scenario picks the layer: train or host at scale (bottom), build an application (middle), use an assistant (top).
  • Most customers live in the middle layer and never choose an accelerator because Bedrock hides it.
  • Amazon Q runs on Bedrock, which runs on the infrastructure layer.

Anthropic works at the bottom layer on Trainium clusters and appears in the middle layer as Claude on Bedrock.

What is the difference between Amazon Bedrock and SageMaker JumpStart?

Bedrock is serverless: AWS runs a curated catalogue of models and you pay per token with managed Knowledge Bases, Agents and Guardrails around them; JumpStart is a model hub that deploys hundreds of open-weights and Marketplace models to endpoints in your own account, paid per instance-hour, with full control over fine-tuning and operations.

  • Bedrock: least operational overhead, switch models with no infrastructure changes.
  • JumpStart: models Bedrock lacks, custom training recipes, a fixed-cost endpoint for steady heavy load.
  • A JumpStart endpoint bills while idle; Bedrock on demand bills only for tokens.

Guardrails, Knowledge Bases and Agents are Bedrock features; on JumpStart you build retrieval and agents yourself.

A product manager with no coding experience wants to prototype a generative AI app idea this afternoon. Which tool?

PartyRock, the Amazon Bedrock playground: a free web app for building, sharing and remixing widget-based generative AI apps from prompts, with no code and no AWS account.

  • Apps are wired from text, image and chat widgets whose prompts reference each other.
  • Remixing someone else's app exposes its prompts, which is how it teaches prompt engineering.
  • It runs Bedrock models behind the scenes but offers no API, SLA or place for company data.

The route to production is to rebuild the prototype on Bedrock with the same prompts.

Employees need to ask questions about documents in SharePoint and Confluence, with answers limited to what each person may already see, and the company wants no development work. Which service?

Amazon Q Business: connectors index the sources along with each document's permissions, users sign in through IAM Identity Center, and every answer is drawn only from documents that user could open, with citations.

  • No model choice, prompt template or vector store to manage; it is a finished assistant on Bedrock.
  • Plugins let it act in connected systems, and Amazon Q Apps let staff build small apps on the same data.
  • Priced per user per month, not per token.

Bedrock Knowledge Bases is the answer when the company wants to build its own application with a chosen model and custom prompts.

What is Amazon Q Developer, and what was it called before?

Amazon Q Developer is AWS's generative AI assistant for developers, formerly Amazon CodeWhisperer: it completes code in the IDE and CLI, answers questions about your project and about AWS in a chat panel and in the console, and runs agents that implement features, write tests, scan for vulnerabilities and upgrade Java versions.

  • The code transformation agent upgraded thousands of Amazon's internal applications to Java 17.
  • Available in VS Code, JetBrains, Visual Studio, Eclipse, the command line, the AWS console, Slack and Teams.
  • Free tier plus a Pro tier with enterprise controls.

The exam may still use the CodeWhisperer name in a scenario about code suggestions; the answer is the same product.

Which AWS chip is for training and which for inference, and where do HyperPod and UltraClusters fit?

AWS Trainium (Trn1, Trn2 instances) is for training, AWS Inferentia (Inf1, Inf2) is for inference; SageMaker HyperPod is the managed resilient cluster for long distributed training runs, and EC2 UltraClusters are the very large accelerator fleets joined by petabit-scale networking.

  • Both AWS chips run PyTorch and JAX models through the AWS Neuron SDK.
  • NVIDIA P-family instances handle training and heavy inference; G-family handle cost-efficient inference.
  • HyperPod replaces failed nodes and resumes from checkpoints automatically.

Amazon Nova was trained on Trainium and Anthropic trains Claude on Trainium clusters; Amazon's own services serve on Inferentia.

What does AWS promise about your data when you use Amazon Bedrock?

Your prompts, completions and fine-tuning data are not used to train the base models, are not shared with model providers, are encrypted in transit and at rest, and stay in the AWS account and region where you used them; custom models are private to your account.

  • Access is controlled with IAM; encryption can use customer-managed KMS keys.
  • Bedrock is reachable over VPC endpoints through AWS PrivateLink with no internet path.
  • Bedrock is in scope for HIPAA, GDPR, SOC and ISO programmes, with reports in AWS Artifact.

Being in compliance scope makes a compliant application possible; your own configuration and controls make it actual.

Name the advantages of using AWS generative AI services and the benefits of AWS infrastructure for generative AI.

Service advantages: accessibility, lower barrier to entry, efficiency, cost-effectiveness, speed to market and the ability to meet business objectives. Infrastructure benefits: security, compliance, responsibility and safety.

  • Accessibility and low barrier: an API call or an assistant instead of GPUs and an ML team.
  • Speed to market: managed retrieval, agents and guardrails replace months of plumbing.
  • Responsibility and safety: AI service cards, Guardrails, SageMaker Clarify and image watermarks.

The single most-tested fact is that Bedrock does not train on your data and keeps it in your account and region.

A company needs to summarise two million archived support tickets once, at the lowest cost, with results needed next week. Which Bedrock pricing mode?

Batch inference: submit the prompts as a JSONL file in Amazon S3, receive the outputs in S3 within hours, and pay a discounted per-token rate compared with on-demand.

  • Nobody is waiting on a response, so the hours of turnaround cost nothing.
  • On-demand would work but at full price and subject to throughput quotas.
  • Provisioned throughput is for steady interactive load or custom models and would be wasted here.

Pair batch with the smallest model that summarises acceptably to cut the bill further.

When does provisioned throughput make sense, and when is it required?

It makes sense for steady, high-volume interactive traffic or a strict latency SLA where reserved capacity beats on-demand cost and avoids throttling, and it is required to run any custom model, fine-tuned or continued pre-trained, because custom models cannot be invoked on demand.

  • You buy model units, each a fixed rate of input and output tokens per minute, hourly or with a 1- or 6-month commitment.
  • It bills while idle, so size it to the steady load and let on-demand absorb the rest where possible.
  • Custom models also incur training cost and monthly storage.

Consumer apps often buy provisioned throughput ahead of a launch or seasonal peak so a surge does not hit on-demand limits.

How do model size, prompt length and output length affect cost and latency, and what would you change first to cut a chat application's bill?

Larger models cost more per token and answer more slowly; input tokens are cheaper than output tokens but the prompt is re-sent every turn so it dominates volume; output length drives latency because each token is a full pass. Cut the bill by shortening the system prompt and history, capping maximum output tokens, and moving to the smallest model that passes evaluation.

  • Summarise or drop old turns so the history does not grow without bound.
  • Use a small model for routing and classification and reserve a large one for hard answers.
  • Prompt caching, where offered, discounts a repeated long preamble.

Latency-optimised inference on some Bedrock models buys faster tokens for interactive use at a higher rate, the opposite trade from batch.