AWS Certified AI Practitioner AIF-C01 Practice Question
A development team integrates an Amazon Bedrock foundation model into a customer-facing app. To keep requests consistent, every call is built from a fixed text pattern that contains placeholders such as <customer_name> and . At runtime the placeholders are replaced with user-specific values before being sent to the model. Which prompt-engineering technique does this approach demonstrate?
Applying a prompt template with runtime variable substitution
Zero-shot prompting that supplies no worked examples
Chain-of-thought prompting that requests the model's reasoning steps
Few-shot prompting that embeds several demonstration examples
Using a prompt template means defining a reusable text pattern that contains variables (placeholders). Each invocation fills the placeholders with context-specific values, ensuring prompts follow a uniform structure with minimal manual effort. Zero-shot, few-shot, and chain-of-thought prompting refer to how many examples or reasoning steps are supplied, not to creating reusable patterns. Instruction tuning is a model fine-tuning method, not a prompt-engineering technique.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is prompt engineering in machine learning?
Open an interactive chat with Bash
How do prompt templates help in AI applications?
Open an interactive chat with Bash
What is runtime variable substitution in prompt engineering?
Open an interactive chat with Bash
AWS Certified AI Practitioner AIF-C01
Applications of Foundation Models
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .