Bedrock Prompt Management & Guardrails Detection
Short answer
AD Use Prompt Management to specify inputs and output format, and create a guardrail with the insults filter set to detect.
Question
The company creates an Amazon Bedrock flow that takes an input prompt and sends it to the Amazon Nova Pro FM. The Amazon Nova Pro FM provides a response.
Which additional steps must the company take to meet these requirements? (Choose two.)
Key Takeaways
The question tests the distinction between guardrail 'detect' and 'block' actions, and the use of Prompt Management for enforcing consistent prompt structures and output formats.
This scenario tests configuring Amazon Bedrock Prompt Management for structured inputs and output formats, alongside Bedrock Guardrails set to detect rather than block. The correct choices are A and D, ensuring consistent formatting and notification-only content filtering.
Common mistake: Choosing B instead of D because it uses the hate filter and blocks the response, violating the requirement to only notify without blocking.
Expert Analysis
Why the Answer Is Correct
Option A correctly uses Amazon Bedrock Prompt Management to define the four required input variables and enforce a consistent output format, which is then added to the flow's prompt node. Option D correctly creates a guardrail with the insults content filter (which covers bullying) and sets the response to 'detect', allowing the application to receive notifications without blocking the flagged responses.
Why the Other Options Are Wrong
Option B is incorrect because setting the filter response to 'block' violates the requirement to not block flagged responses, and 'hate' is less appropriate than 'insults' for bullying. Option C is incorrect because a prompt router is used to dynamically route prompts to different models based on intent, not to enforce input variables and output formats for a single model. Option E is incorrect because an inference profile is used for tracking metrics and costs across models, not for defining prompt variables and output formatting.
Community Comment Notes
The community consensus strongly supports A and D. As Chibuzo1 noted, "Bedrock Prompt Management is exactly the right tool for structured, consistent prompting". Users also correctly identified that D meets the constraint to "detect bullying language without blocking responses".
Official Reference
- https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management.html
- https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html
These links open the official vendor documentation in a new tab.
Exam Strategy
When a question requires consistent formatting and defined input variables in Bedrock, look for Prompt Management. For guardrails, carefully distinguish between 'detect' (notify/flag) and 'block' (intervene) based on the exact wording of the requirements.
Discussion 5 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 5
-
shuvo_123 👍 1Requirement 1 The application contains four required inputs and must provide responses in a consistent text format. This is exactly what Amazon Bedrock Prompt Management is designed for: Define prompt templates. Define required input variables. Enforce a consistent output structure. Reuse prompts within Bedrock Flows. Hence - Option A Requirement 2 Receive a notification if a response contains bullying language, but do not block all flagged responses. In Bedrock Guardrails: Bullying language falls under the Insults content category. To flag content without blocking it, use Detect rather than Block. Hence Option D Finally A,D
-
Chibuzo1 👍 1Why A is correct: Bedrock Prompt Management is exactly the right tool for structured, consistent prompting with required inputs. It lets you define variables (the four required inputs), lock in an FM (Nova Pro), Why D is correct: The guardrail requirement has two precise constraints: detect bullying language without blocking responses. "Bullying" falls under the insults content filter category in Bedrock Guardrails (not "hate," which covers discrimination based on identity).
-
Bansel 👍 1We need: Prompt variables → enforce required inputs Output formatting → consistent structure Guardrails with detection only → notification without blocking. A. Use Amazon Bedrock Prompt Management D. Create a Bedrock Guardrail with insult detection
-
GiorgioGss 👍 1B - guardrail will block and we need it to pass C - used for routing between multiple models E - mainly for model selection and metadata
-
rosnl 👍 1A and D. Provides both requirement. D is kind of given in the way it says detect only, not block, as per the question.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All AIP-C01 Questions
Access 110 questions with complete answers and detailed explanations.
View Full AIP-C01 Practice Test →