Prompt Engineering
AGENTFORCE-SPEC · 40 questions
- A front-desk coordinator at a general-practice clinic wants a single click that drafts a personalized reminder email to a pet owner whose dog is due for a vaccination booster, pulling the pet's name and last visit date into natural, varied wording each time. Which capability should the team reach for?
- A referral coordinator needs a tool that can both read data from a Case record and take the deterministic action of updating the Case status field once a referral hospital confirms receipt. Which combination correctly describes how this should be built?
- An operations analyst wants to know precisely which upcoming appointments will collide with a clinic's holiday closure, so the schedule can be reworked before the day arrives. No text needs to be generated - only a filtered, deterministic list of appointment records. What is the best-fit tool for this need?
- A clinical operations lead asks for a way to auto-generate a plain-language summary of a pet's last three visits whenever a vet opens the Patient record, phrased differently each time depending on what changed. Which statement correctly identifies why this is a Prompt Builder use case?
- An emergency hospital manager wants a chatbot-style, ongoing back-and-forth conversation with pet owners about triage urgency, able to ask follow-up questions and hand off to a human when needed. Why would an architect say this belongs to an Agentforce agent rather than to a standalone Prompt Builder template?
- A specialty hospital's marketing coordinator wants a one-time bulk export of ready-to-send discharge-instruction letters for 200 recently completed surgeries, each personalized with the pet's name and procedure. Which factor makes Prompt Builder (invoked via a batch or Flow-triggered process) a reasonable fit here, rather than an ongoing Agentforce agent?
- A clinic operations director is deciding who should be allowed to activate a newly built prompt template that emails discharge instructions directly to pet owners, given that activation makes the template available for live execution across the org. What is the best practice for this activation decision?
- At the veterinary group, a business systems administrator has built and activated a prompt template that drafts insurance-claim denial follow-up letters. Front-desk staff need to run that template against a specific claim record every day, but should not be able to modify its grounding or instructions. Which statement about roles is correct?
- A veterinary group's Salesforce team is scoping who should be allowed to build new prompt templates that ground on Patient and Case data. Which consideration should most directly shape that role decision?
- A regional operations manager asks why front-desk staff who can execute a claim-summary prompt template cannot also see the raw instructions and grounding configuration behind it. What is the best justification?
- A prompt template that summarizes lab results for vets is currently in draft. A veterinary technician tries to run it against a patient record and gets an error that the action is unavailable. What is the most likely explanation?
- A clinic wants a prompt template that, given a Case record for a pet-owner inquiry, automatically populates a custom 'Suggested Resolution Notes' field on that same Case with a synthesized recommendation for the front-desk agent to review. Which prompt template type fits this requirement?
- During template design review, a Salesforce admin flags that a new field generation template intended to draft a 'Recommended Follow-Up' note for Case records has no instructions constraining tone or length, and pulls in the entire Case description verbatim as grounding. What consideration is most important to address before activating this template?
- An architect is choosing between a flex template and a field generation template for a new requirement: drafting a short, friendly appointment-confirmation text that references the pet's name, the appointment time, and a location-specific parking note, to be inserted into three different outbound channels with slightly different formatting per channel. Which factor most strongly favors flex here?
- A vet wants a template that, when opened from a Patient record, produces a flowing narrative paragraph covering the pet's recent visits, active prescriptions, and any flagged lab abnormalities all together, rather than filling in one specific field. Which template type is the natural fit, and why?
- A clinic wants a prompt template that drafts an outbound message to a corporate client (a working-dog training partner) proposing a discounted wellness-plan bundle for their next cohort of dogs. Which template type is purpose-built for this kind of outbound, relationship-oriented business messaging?
- A referral coordinator's new record-summary template occasionally includes the pet owner's home address in its generated summary, even though the summary is only meant to describe clinical history for a receiving specialist. What is the most appropriate fix, consistent with prompt engineering best practice?
- A prompt template author is choosing what to include as grounding for a template that drafts a response to 'what were the vet's recommendations from my pet's last visit,' triggered from the pet owner's portal. Which grounding choice best follows the considerations-for-creating-a-template guidance on this exam?
- A prompt template needs to reference the specific pet's name and species when drafting a vaccination reminder, values that live directly on the Patient record being viewed. Which grounding technique is the simplest correct fit?
- A prompt engineering lead reviewing a new template notices its instructions say only 'Write something helpful about this pet's visit.' Why is this instruction, on its own, a poor practice regardless of which template type is used?
- A prompt template needs to calculate a pet's current age in months from its stored date of birth before including that computed value in a generated response, a calculation the declarative merge-field and related-list grounding options cannot perform on their own. Which grounding technique is appropriate for this need?
- A template needs to pull in every open Case and every Prescription linked to a Patient record, so it can draft a combined 'items needing attention' note for the front desk. Which grounding technique fits this multi-record requirement within the same object relationships?
- A template must answer pet-owner questions by searching across hundreds of unstructured discharge-instruction PDFs stored in the Data Library, where the exact wording of the question rarely matches the exact wording in the documents, but the underlying meaning often does. Which grounding technique should be selected, and why?
- A grounding requirement calls for exact, literal matching against a controlled vocabulary of clinic policy codes (e.g., a specific internal code like 'RX-HOLD-07') that pet owners' questions sometimes quote verbatim. Which search type is the better fit than a pure semantic approach, and why?
- An architect is deciding between an individual retriever and an ensemble retriever for a template that must draw from both the clinic policy knowledge base and the discharge-instruction PDF library simultaneously to answer a single pet-owner question. Which choice is correct, and why?
- A newly onboarded prompt author grounds a template entirely on Data 360 retrievers for a question that could be answered directly and more reliably from a single CRM field on the Case record itself. What is the concern with this choice?
- A template author needs the generated response to include the referring clinic's phone number, which is stored as a field on the Account record associated with the Case, one hop away from the Case record the template runs against. Which grounding approach correctly reaches that value?
- A prompt template author has just finished configuring a new field generation template's instructions and grounding. What is the correct next step before the template can be run against a live Case record by end users?
- After activating a new prescription-refill-explanation template, the prompt engineering team wants to verify it produces acceptable answers across a representative range of refill scenarios before rolling it out broadly to every clinic. What activity best fits this need within the development lifecycle?
- During a Testing Center run against the discharge-instruction summary template, several test cases fail because the generated summaries occasionally omit a medication dosage that was present in the source record. What is the appropriate next step in the lifecycle?
- Six months after a prescription-refill prompt template went live, a compliance review asks the team to demonstrate that the template's behavior can be monitored and its usage over time can be audited. Which capability directly supports this ask?
- A veterinary group has validated a prompt template thoroughly in its sandbox org and now needs it available in production. Which lifecycle consideration is most important to verify as part of that sandbox-to-production move?
- Comparing two candidate instruction sets for a claim-status explanation template, one says 'Explain the claim status,' and the other says 'In 2-3 sentences, explain the current claim status using plain language a non-expert pet owner would understand, referencing the claim number and the most recent status update date.' Which is the better instruction, and why?
- A prompt author wants a lab-result follow-up template to consistently avoid stating a diagnosis, even when the grounded lab values look clearly abnormal. Which instruction-writing practice best achieves this?
- A prompt template author wants to make a meaningful change to an already-activated appointment-reminder template's instructions, without disrupting the version currently running for live users mid-rollout. What is the best-practice approach?
- A prompt author drafting instructions for a triage-escalation note generator writes: 'Summarize the situation and tell the vet what to do.' A reviewer flags this as a problem specifically because of the veterinary framing lock. What is the reviewer's most likely and correct concern?
- A compliance officer asks whether the Einstein Trust Layer means the veterinary group's org can claim the underlying LLM provider permanently stores and reuses pet-owner data to improve its models. What is the accurate answer?
- During an internal review, a manager asks whether Einstein Trust Layer masking alone is sufficient to guarantee a prompt template never surfaces inappropriate or harmful language in its generated response to a distressed pet owner. What is the accurate answer?
- An author is refining instructions for a template that answers 'has my pet's referral to the cardiology specialty hospital been scheduled yet,' grounded on the Referral and Appointment objects. The draft instruction says: 'Answer using only the grounded data provided; if the grounded data does not contain a scheduled appointment, say the appointment is not yet scheduled rather than guessing.' Why is this an example of a good practice?
- A pet owner's request to a prompt template includes their home phone number typed directly into a free-text intake field, which then flows into the model as part of the grounding context. Which Einstein Trust Layer capability is specifically designed to reduce the risk of that sensitive value being exposed unnecessarily?