D2 · Generative AI fundamentals
Icon-Architecture/48/Arch_Amazon-Bedrock_48

Bedrock is AWS's central generative AI service and probably the most tested one on the exam. It gives access to foundation models from multiple providers through a unified API, without managing your own infrastructure.

What Bedrock is and why it is serverless

Amazon Bedrock is a fully managed service that exposes foundation models through a consistent REST API. "Serverless" means AWS fully manages the hardware (GPUs), scaling, and availability — the user just sends inference requests and pays for what they consume, without provisioning or administering any instance.

What Bedrock does NOT do

Bedrock does not train foundation models from scratch — it gives access to models already trained by Amazon or third parties. To train your own model from scratch, the corresponding service is .

SageMaker JumpStart — a complement, not a competitor

SageMaker JumpStart is a hub of pre-trained models (foundation models and others) that can be deployed with one click directly onto your own SageMaker infrastructure, with more control over the deployment environment than Bedrock. It's complementary to Bedrock: Bedrock offers serverless API access to managed foundation models; JumpStart lets you deploy models (including some from the same providers) onto SageMaker endpoints that you manage.

Related labD2 · Fundamentals of Generative AI

Invoke a foundation model in Amazon Bedrock

Invoke your first foundation model from the Amazon Bedrock playground.

Understand what Amazon Bedrock is and API access to foundation models
Request access to a model before using it

+1 more...

8 min5 steps
Related labD2 · Fundamentals of Generative AI

Adjust temperature in Bedrock Playground

Adjust the temperature parameter in Bedrock Playground and observe its effect on the model's response.

Understand the effect of temperature on text generation
Configure a low temperature for consistent responses

+1 more...

7 min3 steps

Unified access to models from multiple providers

Instead of integrating separately with each AI provider's own API, Bedrock offers a single, consistent interface to invoke models from different makers: Amazon (Titan / Nova family), Anthropic (Claude), Meta (Llama), Mistral AI, among others available depending on the region.

This lets you compare models from different providers for the same use case, or switch models with minimal code changes, without managing separate credentials or infrastructure for each provider.

Bedrock Knowledge Bases — brief mention

is AWS's managed implementation of RAG (Retrieval-Augmented Generation): it connects your own documents to a foundation model without you having to manage a vector database or the retrieval pipeline separately. Covered in more depth in the D3 module (Foundation model applications).

Bedrock Agents — brief mention

lets a foundation model orchestrate concrete actions: calling APIs, executing Lambda functions, or querying external systems from natural language instructions, automatically chaining multiple reasoning steps. Covered in more depth in the D3 module.

Bedrock Guardrails — content filtering

is a configurable safety layer applied to both user inputs and model responses, filtering:

Harmful content

Blocks topics like violence, hate, explicit sexual content, self-harm

Denied topics

Defines specific topics the business doesn't want the model to discuss (e.g. legal or medical advice)

PII (personal information)

Detects and redacts (hides) sensitive data such as card or ID numbers

Prompt injection and jailbreaks

Detects attempts to manipulate the model into bypassing its original instructions

Key point for the exam

Guardrails filters and controls content for safety and compliance reasons — it doesn't improve the model's accuracy or factual knowledge. Don't confuse it with RAG (which does improve accuracy by adding real context).

Model customization / fine-tuning in Bedrock

Bedrock lets you customize existing foundation models with your own data, without needing to train a model from scratch as you would with SageMaker. Two main approaches:

Fine-tuning

Adjusts the base model's weights using your own labeled dataset (prompt-response pairs), creating a private version of the model specialized in your business's style, tone, or domain.

Continued pre-training

Continues the base model's pre-training with your own unlabeled data (for example, extensive internal documentation), broadening its domain knowledge before applying prompt engineering or fine-tuning.

The resulting customized models remain private to your AWS account — they are not shared with or used to train the base model for other customers.

Did you get this topic?

Test what you just learned

A company uses Amazon Bedrock for its public chatbot and needs to prevent the model from answering questions about medical topics and from exposing credit card numbers that users might accidentally type into the chat. Which Bedrock feature directly addresses this requirement?

Ready to test "Amazon Bedrock"?

Put what you learned to the test with original AIF-C01 exam questions.

Start AIF-C01 mock exam

Unlimited mock exams with the Pro plan

Log in to track your progress.