Free Agentforce Specialist Practice Test Questions
380 questionsUpdated 23-Nov-20266 topics
TopicPrompt Engineering
Question 81Choose 1
Universal Container's internal auditing team asks An Agentforce to verify that address information is properly masked in the prompt being generated.
How should the Agentforce Specialist verify the privacy of the masked data in the Einstein Trust Layer?
Correct answer:
C. Inspect the AI audit trail
Explanation
The scenario is all about verifying data masking in the Einstein Trust Layer. Let’s break it down:
The Einstein Trust Layer is designed to:
Detect sensitive fields (like addresses, names, PII).
Mask or tokenize those fields before sending data to a large language model (LLM).
Maintain logs of what was masked for auditing and compliance purposes.
✅ To verify that masking is working:
The Einstein Trust Layer generates an AI audit trail, which logs:
The original prompt.
The masked version of the prompt.
Responses from the LLM.
Which fields were masked and how.
Inspecting the AI audit trail is the correct way to confirm whether address data is indeed masked as intended. The logs provide visibility and evidence for security and compliance teams.
Hence, Option C is correct.
Option A (Enable data encryption on the address field) is incorrect:
Encryption protects data at rest or in transit but does not affect masking in prompts sent to an LLM.
Encryption doesn’t replace the Trust Layer’s masking capability.
Option B (Review the platform event logs) is incorrect:
Platform events capture system and business events (e.g. record updates, flows firing).
They do not contain Trust Layer masking logs or prompt content.
Therefore, the correct way to verify privacy for masked data in Einstein Trust Layer is:
C. Inspect the AI audit trail
Universal Containers has seen a high adoption rate of a new feature that uses generative AI to populate a summary field of a custom object, Competitor Analysis. All sales users have the same profile but one user cannot see the generative AlI-enabled field icon next to the summary
field.
What is the most likely cause of the issue?
Correct answer:
C. The user does not have the field Generative AI User permission set assigned.
Explanation
In Salesforce, Generative AI capabilities are controlled by specific permission sets. To use features such as generating summaries with AI, users need to have the correct permission sets that allow access to these functionalities.
Generative AI User Permission Set: This is a key permission set required to enable the generative AI capabilities for a user. In this case, the missing Generative AI User permission set prevents the user from seeing the generative AI-enabled field icon. Without this permission, the generative AI feature in the Competitor Analysis custom object won't be accessible.
Why not A?
The Prompt Template User permission set relates specifically to users who need access to prompt templates for interacting with Einstein GPT, but it's not directly related to the visibility of AI- enabled field icons.
Why not B?
While a prompt template might need to be activated, this is not the primary issue here. The question states that other users with the same profile can see the icon, so the problem is more likely to be permissions-based for this particular user.
For more detailed information, you can review Salesforce documentation on permission sets related to AI capabilities at Salesforce AI Documentation and Einstein GPT permissioning guidelines.
Question 83Choose 1
Universal Containers (UC) recently rolled out Einstein Generative AI capabilities and has created a custom prompt to summarize case records. Users have reported that the case summaries generated are not returning the appropriate information. What is a possible explanation for the poor prompt performance?
Correct answer:
B. The data being used for grounding is incorrect or incomplete.
Explanation
Comprehensive and Detailed In-Depth Explanation: UC’s custom prompt for summarizing case records is underperforming, and we need to identify a likely cause. Let’s evaluate the options based on Agentforce and Einstein Generative AI mechanics.
Option A: The prompt template version is incompatible with the chosen LLM.Prompt templates in Agentforce are designed to work with the Atlas Reasoning Engine, which abstracts the underlying large language model (LLM). Salesforce manages compatibility between prompt templates and LLMs, and there’s no user-facing versioning that directly ties to LLM compatibility. This option is unlikely and not a common issue per documentation.
Option B: The data being used for grounding is incorrect or incomplete. Grounding is the process of providing context (e.g., case record data) to the AI via prompt templates. If the grounding data— sourced from Record Snapshots, Data Cloud, or other integrations—is incorrect (e.g., wrong fields mapped) or incomplete (e.g., missing key case details), the summaries will be inaccurate. For example, if the prompt relies on Case. Subject but the field is empty or not included, the output will miss critical information. This is a frequent cause of poor performance in generative AI and aligns with Salesforce troubleshooting guidance, making it the correct answer.
Option C: The Einstein Trust Layer is incorrectly configured. The Einstein Trust Layer enforces guardrails (e.g., toxicity filtering, data masking) to ensure safe and compliant AI outputs.
Misconfiguration might block content or alter tone, but it’s unlikely to cause summaries to lack appropriate information unless specific fields are masked unnecessarily. This is less probable than grounding issues and not a primary explanation here.
Why Option B is Correct: Incorrect or incomplete grounding data is a well-documented reason for subpar AI outputs in Agentforce. It directly affects the quality of case summaries, and specialists are advised to verify grounding sources (e.g., field mappings, Data Cloud queries) when troubleshooting, as per official guidelines.
Which configuration must An Agentforce complete for users to access generative Al-enabled fields in the Salesforce mobile app?
Correct answer:
C. Enable Dynamic Forms on Mobile.
Explanation:
✅ Why C. Enable Dynamic Forms on Mobile is correct
For generative AI–enabled fields (like Agentforce responses, prompts, etc.) to be available in the Salesforce mobile app, those fields must actually render on the mobile record page.
Salesforce does this by using Dynamic Forms on Mobile:
1. Generative AI fields are usually dynamic, configurable fields on Lightning record pages.
2. When you enable “Dynamic Forms on Mobile” for that Lightning record page, Salesforce allows those dynamic field sections (including AI-enabled ones) to appear in the Salesforce mobile app.
3. Without Dynamic Forms on Mobile, the page layout used on desktop may not behave the same way on mobile, and the generative AI-enabled fields won’t be accessible to the user in the app.
So the key idea:
To see AI-enabled fields on mobile, you must let Dynamic Forms render on mobile → hence C.
❌ Why A. Enable Mobile Generative AI is wrong
. There is no standard Salesforce setup feature literally named “Mobile Generative AI”.
. Salesforce enables generative AI (Agentforce, Einstein features, etc.) through other settings: permissions, Einstein/Agentforce setup, enabling specific features, assigning permission sets, and configuring pages.
. Since “Enable Mobile Generative AI” is not a real config toggle, it’s a distractor.
❌ Why B. Enable Mobile Prompt Responses is wrong
Similarly:
1. There is no setup option called “Mobile Prompt Responses”.
2. “Prompt responses” describes what generative AI does (responding to prompts), but not an actual Salesforce mobile config setting.
3. Access to prompt-based AI features in mobile is controlled by:
. Permissions / licenses
. Enabling the feature org-wide
. Page configuration (Dynamic Forms on Mobile) to show the AI-enabled fields
So B is just a plausible-sounding name, but not a real configuration item you can enable in Setup.
Question 85Choose 1
Universal Containers built a Field Generation prompt template that worked for many records, but users are reporting random failures with token limit errors. What is the cause of the random nature of this error?
Correct answer:
B. The number of tokens generated by the dynamic nature of the prompt template will vary by record.
Explanation:
Token limit errors occur when the input (including grounding data) exceeds the LLM's maximum token capacity. The random nature of these errors is due to:
Variable Record Data
The prompt template likely uses record data grounding (e.g., {{Record.Field}}).
If some records have more populated fields or longer text values, they consume more tokens, pushing the prompt over the limit.
Why Not the Other Options?
A. Switching to Flex Template:
While Flex templates offer more flexibility, they don’t inherently solve token limits. The issue is data-dependent, not template-type-dependent.
C. LLM Token Demand Variability:
Salesforce’s LLM allocates a fixed token limit per prompt (e.g., ~3000 tokens for GPT-based models). It doesn’t fluctuate with user demand.
Question 86Choose 1
Universal Containers (UC) has implemented Generative AI within Salesforce to enable summarization of a custom object called Guest. Users have reported mismatches in the generated information.
In refining its prompt design strategy, which key practices should UC prioritize?
Correct answer:
B. Create concise, clear, and consistent prompt templates with effective grounding, contextual role- playing, clear instructions, and iterative feedback.
Explanation:
To improve summarization accuracy for the Guest custom object, Universal Containers (UC) should focus on prompt engineering best practices:
Key Practices to Prioritize
1. Effective Grounding: Ensure prompts reference the correct Guest object fields (e.g., {{Guest.Preference__c}}).
2. Contextual Role-Playing: Define the AI’s role (e.g., "You are a concierge summarizing guest preferences...").
3. Clear Instructions: Specify format/length (e.g., "Summarize in 3 bullet points").
4. Iterative Feedback: Continuously refine prompts based on user-reported mismatches.
Why Not the Other Options?
A. "Prompt test mode & user subsets":
While useful for A/B testing, it doesn’t fix core prompt design issues like poor grounding.
C. "Submit to Salesforce & playground testing":
Playground testing is helpful, but UC must first optimize prompts internally (grounding, instructions).
Implementation Steps:
Audit current prompts for vague instructions or weak grounding.
Add role-playing context (e.g., "Act as a hotel manager...").
Test in Prompt Builder with sample Guest records.
Refine based on agent feedback.
Universal Containers wants support agents to use Agentforce to ask questions about its product tutorials and product guides.
What should the Agentforce Specialist do to meet this requirement?
Correct answer:
C. Publish product tutorials and guides as Knowledge articles.
Explanation
Context of the Question Universal Containers (UC) wants its support agents to use Agentforce to ask questions about product tutorials and product guides. Agentforce typically references knowledge sources to provide accurate and contextual responses.
Why Knowledge Articles?
Centralized Repository: Publishing product tutorials and guides as Knowledge articles in Salesforce ensures that the information is readily available and searchable by Agentforce.
AI Integration: Salesforce’s AI solutions, including Agentforce, can often be configured to pull content directly from Salesforce Knowledge articles, giving users on-demand answers without manual data duplication.
Maintenance & Updates: Storing content in Salesforce Knowledge simplifies content updates, versioning, and user permissions.
Why Not the Other Options?
Option A (Create a Prompt Template): Creating a prompt template alone does not solve how the underlying content (tutorials, guides) is stored or accessed by Agentforce. Prompt templates shape the queries/responses but do not provide the knowledge base.
Option B (Add an Answer Questions Custom Field): A single field on the product object is insufficient for the depth of information found in tutorials and guides. It also lacks the robust search and user-friendly interface that Knowledge articles provide.
Conclusion To ensure Agentforce can effectively retrieve and deliver accurate information about products, publishing product tutorials and guides as Knowledge articles is the recommended approach.
Salesforce Agentforce Specialist References & Documents Salesforce Documentation: Set Up Salesforce Knowledge Discusses how to publish articles for easy access by AI-driven assistants and support teams.
Salesforce Agentforce Specialist Study Guide Explains best practices for feeding knowledge sources to generative AI and Agentforce.
Question 88Choose 1
An Agentforce wants to include data from the response of external service invocation (REST API callout) into the prompt template.
How should the Agentforce Specialist meet this requirement?
Correct answer:
B. Use External Service Record merge fields.
Explanation:
To include external REST API response data in a Prompt Template, the External Service Record merge fields feature is the correct approach. Here’s why:
External Service Record Merge Fields
When you configure an External Service in Salesforce (via Named Credentials + OpenAPI spec), the response data can be directly referenced in Prompt Templates using merge fields like:
{{ExternalService.MyAPIResponse.Data}}
This dynamically injects the API response into the prompt without manual JSON parsing.
Why Not the Other Options?
A. Convert JSON to XML merge fields:
Unnecessary complexity. Salesforce supports native JSON parsing via External Services, eliminating the need for manual conversion.
C. "Add Prompt Instructions" flow element:
This is used to statically add instructions to a prompt (e.g., rules for AI behavior), not to inject dynamic API data.
Question 89Choose 1
How does Secure Data Retrieval ensure that only authorized users can access necessary Salesforce data for dynamic grounding?
Correct answer:
B. Retrieves Salesforce data based on the user’s permissions executing the prompt.
Explanation:
Secure Data Retrieval is a Salesforce generative AI grounding feature that ensures any data used in prompts (such as via record snapshots or dynamic queries) is subject to normal Salesforce security controls, particularly object- and field-level security.
Why B is Correct:
When a prompt is executed in Agentforce, Secure Data Retrieval evaluates data access based on the permissions of the user executing the prompt. This means:
If the user doesn’t have access to a field or record, the AI will not see or use that data.
It ensures data privacy, compliance, and contextual relevance.
A. Retrieves Salesforce data based on the 'Run As" user's permissions
❌ Incorrect – While "Run As" can be used in flows or scheduled jobs, Secure Data Retrieval for prompts is tied to the user actively executing the prompt (e.g., the agent's context user or interacting end user), not a generic "Run As" setup.
C. Retrieves Salesforce data based on the Prompt Template’s object permissions
❌ Incorrect – Prompt templates themselves do not have object-level permissions. They define how data is used in prompts, but access is enforced per the executing user's permissions, not the template’s configuration.
Question 90Choose 1
Universal Containers is rolling out a new generative AI initiative.
Which Prompt Builder limitations should the Agentforce Specialist be aware of?
Correct answer:
C. Custom objects are supported only for Flex template types.
Explanation
ThePrompt Builder in Salesforce has some specific limitations, one of which is that custom objects are supported only for Flex template types. This means that users must rely on Flex templates to integrate custom objects into their prompts.
Option A: While rich text area fields have certain restrictions, this does not pertain to the core limitation of integrating custom objects.
Option B: Updates and creations for prompt templates are indeed recorded in the Setup Audit Trail, so this statement is incorrect.
Option C: This is the correct answer as it reflects a documented limitation of the Prompt Builder.
Experience the real exam before you take it
Our timed 2026 Agentforce Specialist practice test mirrors the format, number of questions and time limit of the official exam.
The #1 challenge isn't just knowing the material, it's managing the clock. The simulation builds your speed and stamina, so you walk in knowing exactly what to expect.