Deployment and Orchestration of ML and AI Workflows
What lets an Amazon Bedrock managed prompt reuse the same instructions with a different customer question on each invocation?
Show the answer
Correct answerD. A prompt variable
AWhy not this: A variant provides an alternative prompt configuration rather than a placeholder for each request's question.
BWhy not this: A model package describes a registered model rather than a prompt's runtime inputs.
CWhy not this: A knowledge base supplies retrieved information rather than defining a prompt input placeholder.
DWhy this is right: A variable accepts a runtime value while the reusable prompt instructions remain the same.
A prompt variable is a placeholder populated with an input value when the prompt is used. A prompt variant represents an alternative prompt configuration, not a per-invocation input placeholder.