Amazon Bedrock Prompt Management and Guardrails for GenAI

Implement prompt engineering strategies and governance for FM interactions.
Answer Correct answer: A — Use Amazon Bedrock Prompt Management to configure reusable templates and business unit-specific prompt variants, and apply Amazon Bedrock guardrails to block prohibited content.

A company is developing an internal generative AI (GenAI) assistant that uses Amazon Bedrock to summarize corporate documents for multiple business units. The GenAI assistant must generate responses in a consistent format that includes a document summary, classification of business risks, and terms that are flagged for review. The GenAI assistant must adapt the tone of responses for each user's business unit, such as legal, human resources, or finance. The GenAI assistant must block hate speech, inappropriate topics, and sensitive information such as personal health information. The company needs a solution to centrally manage prompt variants across business units and teams. The company wants to minimize ongoing orchestration efforts and maintenance for post-processing logic. The company also wants to have the ability to adjust content moderation criteria for the GenAI assistant over time. Which solution will meet these requirements with the LEAST maintenance overhead?

  1. Use Amazon Bedrock Prompt Management to configure reusable templates and business unit-specific prompt variants. Apply Amazon Bedrock guardrails that have category filters and sensitive term lists to block prohibited content. Correct Answer
  2. Use Amazon Bedrock Prompt Management to define base templates. Enforce business unit-specific tone by using system prompt variables. Configure Amazon Bedrock guardrails to apply audience-based threshold tuning. Manage the guardrails by using an internal administration API.
  3. Use Amazon Bedrock with business unit-based instruction injection in API calls. Store response formatting rules in Amazon DynamoDB. Use AWS Step functions to validate responses. Use Amazon Comprehend to apply content filters after the GenAI assistant generates responses.
  4. Use Amazon Bedrock with custom prompt templates that are stored in Amazon DynamoDB. Create one AWS Lambda function to select business unit-specific prompts. Create a second Lambda function to call Amazon Comprehend to filter prohibited content from responses.

Community Insight

The exam tests knowledge of native AWS GenAI management tools; the trap is choosing custom orchestration (Lambda/Step Functions) or external services (Comprehend) when managed services offer lower maintenance.

This question evaluates the use of Amazon Bedrock Prompt Management for centralized template handling and Bedrock Guardrails for built-in content moderation to minimize maintenance overhead.

Candidates often select Option D because they prioritize granular control via Lambda, failing to recognize that this approach significantly increases maintenance overhead compared to using native Bedrock features.

Community Discussion (6 comments)

SSSam26 👍 1 Selected: A
Why A is Correct Consistent format (summary, risks, flagged terms) : Prompt templates enforce output structure Tone per business unit : Business unit-specific prompt variants (legal tone, HR tone, finance tone) Block hate speech + inappropriate topics : Guardrails category filters (hate, misconduct, sexual, violence)
thanhpolimi 👍 2 Selected: A
Got the same answer from "brain-gym" site Answer The correct choice is A. Short Reason: Amazon Bedrock Prompt Management natively centralizes and manages reusable prompt templates and their variants. Amazon Bedrock Guardrails provide built-in capabilities to block hate speech, inappropriate topics, and sensitive information like PHI without requiring any custom post-processing logic, fulfilling the requirement for the least maintenance overhead.
Chibuzo1 👍 1 Selected: A
The answer is A because Bedrock Prompt Management with variants handles business-unit-specific tone through managed configuration, Bedrock Guardrails handles content moderation adjustably without code changes, and together they eliminate all custom orchestration infrastructure — delivering the required capabilities with the least maintenance overhead.
ArunRav 👍 1 Selected: A
A to be used as it has reusable templates as an option and bedrock guardrails which can be set to avoid the maintenance overhead compared to the other options
Andorkien 👍 1 Selected: A
Answer is A
GiorgioGss 👍 1 Selected: A
guardrails are meant to block - so A CD out - comprehend is not suited here B out - audience based tuning cannot be made with guardrails

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

Option A is the correct solution because it leverages two fully managed Amazon Bedrock features: Prompt Management and Guardrails. Prompt Management allows you to create reusable base templates and define variants for specific business units (e.g., Legal, HR), ensuring consistent formatting and tone without code changes. Guardrails provide a centralized way to implement safety controls, including category filters for hate speech and sensitive data detection for PHI, which can be adjusted over time via configuration rather than code deployment.

Why the Other Options Are Wrong

Option B incorrectly suggests 'audience-based threshold tuning' for guardrails, which is not a standard feature; guardrails use static or dynamic configurations but do not inherently tune based on audience in the manner described. Option C and Option D rely on custom infrastructure like DynamoDB, Step Functions, and Lambda, combined with Amazon Comprehend for filtering. These options require significant development, deployment, and ongoing maintenance efforts, directly contradicting the requirement to minimize orchestration and maintenance overhead.

Community Comment Notes

Community consensus strongly favors Option A. As user thanhpolimi noted, 'Bedrock Prompt Management natively centralizes and manages reusable prompt templates,' while Guardrails handle blocking prohibited content without custom post-processing. User SSSam26 highlighted that 'Prompt templates enforce output structure' and 'Guardrails category filters' meet the requirements efficiently. Users ArunRav and Andorkien confirmed that A minimizes overhead compared to other options.

Exam Strategy

When a requirement emphasizes 'least maintenance overhead' or 'minimize orchestration,' prioritize fully managed, native service features (like Bedrock Guardrails/Prompt Management) over custom code solutions (Lambda/Step Functions) or third-party integrations.

Frequently Asked Questions

Why is Amazon Comprehend not the best choice for content moderation here?

While effective, using Comprehend requires custom Lambda logic and orchestration, increasing maintenance. Bedrock Guardrails are native, centrally managed, and require less code.

How does Prompt Management help with different business unit tones?

It allows you to create variant prompts based on a base template, enabling specific instructions (like tone or format) for each unit without maintaining separate codebases.

More AIP-C01 FAQ →

Related Analysis

Practice All AIP-C01 Questions

Access 110 questions with complete answers and detailed explanations.

View Full AIP-C01 Practice Test →

← Back to AIP-C01 Study Guide