CertBrain
CoursesBlog
Sign in
← Back to decks
Sign in to save your progress, vote, and build your own decks.Sign in

Amazon Bedrock Prompt Management

Once a team has a prompt that works, it needs to store it, reuse it, improve it safely and know which version is running in production. Amazon Bedrock Prompt Management does that: it stores reusable prompts with variables, lets you test variants side by side, and saves numbered versions you can…

8 cards
Study this deck

Amazon Bedrock Prompt Management

Once a team has a prompt that works, it needs to store it, reuse it, improve it safely and know which version is running in production. Amazon Bedrock Prompt Management does that: it stores reusable prompts with variables, lets you test variants side by side, and saves numbered versions you can deploy and roll back. This lesson covers how it works and when the exam expects you to choose it.

Prompts and variables

In Prompt Management, a prompt is a saved, reusable template. You write the prompt text once and mark the parts that change as variables, such as product_name or customer_question. You supply values for those variables when you test the prompt, or at runtime when your application calls the model. Each saved prompt also stores the model or inference profile it should run on and its inference settings, such as temperature and maximum length. The whole configuration travels together rather than being scattered through application code.

Variants and testing

A prompt variant is an alternative configuration of the same prompt: different wording, a different model, or different inference settings. In the console's prompt builder you fill in test values for the variables, run the variants and compare their outputs side by side, then keep the one that works best. Bedrock's prompt optimization feature fits into this workflow too. It can generate a rewritten version of your prompt for a chosen model, shown next to the original so you can compare them.

Drafts and versions

When you save a prompt, you're editing its draft. You can keep changing and saving the draft as you iterate. When you're happy with a configuration, you create a version: a numbered snapshot of the draft at that moment. Versions are numbered upward from 1. The draft can keep changing while each version stays as it was when you created it.

Versions are what make prompt changes safe in production. Your application can use a specific version, so edits to the draft don't change live behavior until you choose to switch. If a new version performs badly, you point the application back to the previous one. The console can also compare two versions, highlighting what differs between their configurations and letting you run both against the same test values.

Using prompts in applications

There are two ways to put a managed prompt to work. You can specify the prompt when you run model inference, passing values for its variables. Or you can add it as a prompt node in an Amazon Bedrock Flows workflow. Either way, the prompt lives in one managed place instead of being copied into every application that uses it.

NeedPrompt Management feature
Reuse one prompt for many inputsVariables
Try different wording or modelsVariants, compared side by side
Keep iterating without affecting productionThe draft
Freeze a tested configurationA version
Undo a bad changePoint back to an earlier version

On the exam

Look for requirements about storing, reusing, versioning or comparing prompts across a team or applications. "Track changes to prompts and roll back" means versions. "Compare different wordings or models" means variants. Don't confuse Prompt Management with Bedrock Guardrails, which filters content, or Bedrock Knowledge Bases, which retrieves documents. Prompt Management manages the prompts themselves.

Quiz me on this
A company uses the same carefully tuned summarization prompt in five internal applications, each with its own copy pasted into the code. Every improvement has to be made five times, and the copies have drifted apart. Which AWS capability addresses this?
  1. Amazon Bedrock Guardrails
  2. ✓ Amazon Bedrock Prompt Management
  3. Amazon Bedrock Knowledge Bases (RAG)
  4. Amazon SageMaker AI Model Cards
A team stores its customer-reply prompt in Amazon Bedrock Prompt Management. Engineers keep editing it as they experiment, but the production app must keep using the tested configuration until the team deliberately approves a change. What should the team do?
  1. Point the production app at the prompt's draft
  2. Create a new variant each time the prompt is edited
  3. Copy the prompt text into the app's code for safety
  4. ✓ Create a version and point production at it
A content team wants to try three wordings of a product-description prompt, each on a different foundation model, using the same test product details, and keep the best one. They want to do it without writing application code. What should they use?
  1. ✓ Prompt variants compared in the Prompt Management prompt builder
  2. A separate Amazon Bedrock Guardrails configuration for each of the three wordings
  3. Three prompt versions run in production, one for each customer group
  4. Fine-tuning jobs that train a custom model for each of the wordings
Amazon Bedrock Prompt Management
A Bedrock capability to create, store, test and version reusable prompts, with variables, variants and saved model settings.
Prompt variable (Prompt Management)
A placeholder in a saved prompt, filled with a value at test time or when the application calls the model.
Prompt variant
An alternative configuration of a prompt (wording, model or inference settings) that you test and compare side by side.
Draft vs version (Prompt Management)
The draft is the working copy you keep editing; a version is a numbered snapshot of it that applications can use.
Two ways to use a managed prompt
Specify it when running model inference, or add it as a prompt node in an Amazon Bedrock Flows workflow.