AI Associate AI Fundamentals Practice Question
A developer is creating a prompt template for Einstein GPT to summarize customer case details. The prompt must include the case subject, description, and last 3 comments, but only when the case priority is High. Which approach best achieves this in Prompt Builder?
⚠ Common exam trap
Salesforce often tests the misconception that static prompts or token limiters are sufficient for dynamic content filtering, when in fact conditional merge fields are the only built-in mechanism for rule-based inclusion in Prompt Builder.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use merge fields with a conditional IF statement to include fields only when priority is High
Prompt Builder supports conditional merge fields using IF statements, allowing dynamic inclusion of case subject, description, and last 3 comments only when the case priority is High. This approach ensures the prompt is concise and relevant, avoiding unnecessary tokens or manual edits.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Hardcode example cases in the prompt and rely on the model to generalize
Why it's wrong here
Hardcoding examples is not scalable and may cause the model to overfit to those examples.
- ✗
Include all fields in the prompt and use a token limiter to truncate the response
Why it's wrong here
This would include all fields even for non-high cases, consuming more tokens and possibly including irrelevant data.
- ✗
Create a static prompt and manually edit it for each High-priority case
Why it's wrong here
Manual editing defeats automation and is inefficient for large volumes.
- ✓
Use merge fields with a conditional IF statement to include fields only when priority is High
Why this is correct
Prompt Builder supports merge fields and conditional logic to dynamically include data based on field values.
Go deeper
Related to this question
About these practice questions
Courseiva writes every AI Associate question from scratch — 753 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AI Associate practice question is part of Courseiva's free Salesforce certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI Associate exam.