Lesson 2 of 4 AWS AI Services for Business Strategy

Amazon Bedrock: Models, Guardrails and Knowledge Bases

Amazon Bedrock is the AWS service for building generative AI applications and agents. This lesson explains, at a business level, what it provides, how its main features support business requirements, and how it is priced.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe what Amazon Bedrock provides and its data protection commitments.
  • Explain Knowledge Bases, Guardrails, agents, evaluation and customisation at a business level.
  • Compare the Amazon Bedrock pricing options.
  • Map Amazon Bedrock Guardrails controls to the business requirements they address.
  • Match Amazon Bedrock pricing options to workload characteristics.
  • Describe the responsibilities that remain with the organisation when it uses Amazon Bedrock.

What Amazon Bedrock provides

Amazon Bedrock is a fully managed service that offers a choice of foundation models from Amazon (the Amazon Nova family) and from leading AI companies through a single, consistent interface. Because the service is managed, organisations do not provision or operate the infrastructure that runs the models; they pay for what they use. A consistent interface across models also makes it easier to evaluate several models and to switch when a better or cheaper one becomes available, which reduces dependence on a single model provider.

Bedrock is designed for enterprise data protection. Customer prompts and outputs are not used to train the base models and are not shared with the model providers, data is encrypted, and organisations control which Regions process their data. These properties often decide whether a regulated organisation can use generative AI at all.

Capabilities that map to business needs

Bedrock includes features that address the most common requirements of business use cases. The following terms describe them at the level the exam expects.

Knowledge Bases
Managed Retrieval Augmented Generation: connects the model to company content so that answers are current, grounded and cited.
Guardrails
Configurable safeguards applied to inputs and outputs: content filters for harmful content, denied topics, word filters, sensitive information (PII) filters, contextual grounding checks that detect hallucinations, and Automated Reasoning checks that verify answers against defined rules.
Agents and AgentCore
Capabilities to build agents that plan and use tools, and Amazon Bedrock AgentCore to run and operate agents securely at scale.
Model evaluation
Comparing models and configurations on your own tasks using automatic metrics, human reviewers or a model acting as a judge.
Model customisation
Fine-tuning, continued pre-training and distillation of selected models with your own data.

Guardrails mapped to business requirements

Guardrails are configured once and can be applied consistently across applications and models, to both user inputs and model outputs. Their value is easiest to see by mapping each type of control to the business requirement it addresses, as the following table does.

Guardrail controlBusiness requirement it addressesExample
Content filtersPrevent harmful or abusive contentBlocking hateful or violent content in a customer chat
Denied topicsKeep the application within its intended purposeRefusing investment advice in a banking support assistant
Word filtersAvoid specific termsBlocking competitor names or profanity
Sensitive information filtersProtect personal dataMasking card numbers or national identifiers in responses
Contextual grounding checksReduce hallucination in RAG applicationsBlocking an answer that is not supported by the retrieved policy text
Automated Reasoning checksVerify answers against defined rulesChecking an eligibility answer against formal policy rules
Prompt attack detectionResist attempts to override instructionsDetecting an input that tries to make the assistant ignore its rules

Guardrails reduce risk but do not remove the need for testing, monitoring and human oversight proportionate to the use case. The module on human oversight and AI safeguards discusses how they fit into a wider control design.

Match the pairs

Guardrail controls

Exam skills 3.1.4 · 3.3.3

Match each business requirement with the Amazon Bedrock Guardrails control that addresses it.

Log in to try this activity Interactive activities are free with an account.

Choosing among models

The range of models in Bedrock is both an advantage and a decision to manage. Models differ in quality, speed, price, context window, languages and modalities, and the same provider usually offers larger and smaller versions. Organisations should shortlist models against the use case's requirements, compare them with Bedrock's model evaluation on their own examples, and keep the evaluation set for later model changes. For applications with a mix of simple and complex requests, Bedrock can also route each request to a more or less capable model within a family through intelligent prompt routing, which reduces cost without manual sorting of requests.

How Amazon Bedrock is priced

Bedrock pricing is mainly consumption-based: on-demand inference is charged per input and output token, with prices that vary by model, so the choice of model has a direct effect on cost. Several options let organisations trade speed, flexibility and commitment against price. The following table summarises them; exact prices and model support change, so the Amazon Bedrock pricing page is the reference.

OptionHow it worksWhen to use it
Standard (on-demand)Pay per token with no commitment; the default tierMost workloads, variable or unpredictable usage
PriorityA price premium for faster responses and preferential processingCustomer-facing, latency-critical applications
FlexA discount in exchange for lower priority at busy timesWork that can tolerate slower responses, such as evaluations or summarisation queues
ReservedA fixed monthly price for reserved tokens-per-minute capacity, on a 1-month or 3-month termSteady, high-volume workloads that need guaranteed capacity
Batch inferenceSubmit many requests as a job; selected models are about 50% cheaper than on-demandLarge, non-urgent jobs such as classifying an archive overnight

Customised models and some capacity guarantees use Provisioned Throughput, purchased as dedicated model units. Other cost levers include prompt caching for repeated context and routing simple requests to smaller, cheaper models.

Sort into groups

Choose the pricing option

Exam skills 2.2.5

Choose the Amazon Bedrock pricing option for each workload.

Log in to try this activity Interactive activities are free with an account.

What AWS manages and what the organisation manages

Using a managed service does not transfer every responsibility to AWS. Under the AWS shared responsibility model, AWS operates and secures the infrastructure and the service that hosts the models. The organisation remains responsible for who can access its applications and data, which content it connects to a knowledge base, how guardrails are configured, how outputs are used in business decisions, and compliance with the laws that apply to its use case. The module on securing AI systems and data covers this division in detail.

The following diagram divides the responsibilities described above between AWS and the organisation.

Shared responsibility when using Amazon Bedrock. AWS operates and secures the infrastructure and the service that hosts the models. The organisation remains responsible for access to its applications and data, the content it connects to knowledge bases, guardrail configuration, how outputs are used in business decisions, and compliance with the laws that apply to its use case.
A managed service removes infrastructure work, not accountability for how AI is used.
Sort into groups

Who is responsible?

Exam skills 3.2.3

Apply the shared responsibility model to an application built on Amazon Bedrock.

Log in to try this activity Interactive activities are free with an account.
Worked example

A regulated firm's first generative AI application

An insurer wants to build a claims assistant that answers adjusters' questions from policy documents. Compliance requires that claimant data is not used to train third-party models, that answers can be traced to the policy text and that the assistant refuses to give legal advice. Which Bedrock capabilities address each requirement?

Bedrock's data protection commitments address the first requirement: prompts and outputs are not used to train base models or shared with model providers. Knowledge Bases address traceability, because answers come from retrieved policy passages with citations. Guardrails address the third, with a denied topic for legal advice; sensitive information filters and contextual grounding checks add further protection. Standard on-demand pricing suits a pilot, with Reserved capacity considered only once usage is steady and high.

Worked example

Matching pricing options to workloads

A publisher runs three generative AI workloads on Amazon Bedrock: a reader-facing assistant on its website that must respond quickly at all times; a nightly job that tags 200,000 archive articles with topics; and internal experiments by an innovation team, whose usage varies from week to week. Which pricing option suits each?

The reader-facing assistant is latency-critical, so Priority processing may be justified for it, with Reserved capacity worth considering once its traffic is steady and high. The nightly archive tagging is large and not urgent, which makes batch inference the natural choice, at a substantial discount for supported models. The experiments are unpredictable, so Standard on-demand pricing avoids paying for unused commitment. Matching each workload to its option is more effective than choosing one option for everything.

Check yourself

A team needs to classify two million archived documents and results are needed next week, not in real time. Which Amazon Bedrock option lowers the cost?

Show answer

Batch inference, which offers about 50% lower prices than on-demand for selected models for large, non-urgent jobs.

Exam Tips

Remember for the exam

  • Amazon Bedrock offers many foundation models through one managed interface.
  • Prompts and outputs are not used to train base models or shared with model providers.
  • Knowledge Bases = managed RAG; Guardrails = safety, privacy and grounding controls.
  • Pricing: per token on demand; Priority for speed, Flex and batch for savings, Reserved for steady high volume.
  • Guardrails apply across models to inputs and outputs: content, topics, words, sensitive data, grounding and prompt attacks.
  • Choose models by evaluation on your own examples; prompt routing can send simple requests to cheaper models.
  • AWS secures the service; the organisation remains responsible for access, data, configuration and use.