Agentforce-Specialist Practice Test Questions

293 Questions


Universal Containers has grounded a prompt template with a related list. During user acceptance testing (UAT), users are not getting the correct responses. What is causing this issue?


A. The related list is Read Only.


B. The related list prompt template option is not enabled.


C. The related list is not on the parent object’s page layout.





C.
  The related list is not on the parent object’s page layout.

Explanation:

When you ground a prompt template with a related list, Agentforce (and Salesforce’s prompt builder / AI features in general) relies on the data that is actually available in the UI / metadata context:

The related list must be:

1. Properly configured on the parent object.
2. Visible on the parent object’s page layout for the running user.

If the related list is not on the parent object’s page layout, the AI grounding context won’t include those related records, so the model won’t “see” that data and will return incomplete or incorrect responses.

That directly matches the UAT symptom: users are not getting the correct responses → the grounding data (related list) is effectively missing.

Why the other options are not correct

A. The related list is Read Only.
Read Only related lists can still be used for grounding / context. Agentforce only needs to read the data; it doesn’t need edit access to use the records as grounding.

B. The related list prompt template option is not enabled.

In this scenario, the question states:
Universal Containers has grounded a prompt template with a related list.

That implies the related list option was already configured/enabled in the template. If it weren’t enabled, they wouldn’t be able to ground it with that related list in the first place.

Universal Containers has an active standard email prompt template that does not fully deliver on the business requirements. Which steps should an Agentforce Specialist take to use the content of the standard prompt email template in question and customize it to fully meet the businessrequirements?


A. Save as New Template and edit as needed.


B. Clone the existing template and modify as needed.


C. Save as New Version and edit as needed.





B.
  Clone the existing template and modify as needed.

Explanation:

Standard Templates Are Not Editable:

According to Salesforce's Prompt Template Documentation, standard templates are locked and cannot be directly modified.
The only way to customize them is by creating a copy through cloning.

Cloning Process (from Salesforce Help):

As documented in the Prompt Builder Implementation Guide:
"To customize a standard template, clone it to create an editable copy while preserving the original."

Why Other Options Are Incorrect:

A. Save as New Template: This option doesn't exist in Salesforce's prompt template interface (verified in Winter '24 release notes).
C. Save as New Version: This only applies to custom templates, as confirmed in the Prompt Builder Trailhead.

Implementation Best Practices:

After cloning:
1. Rename the template with a clear identifier (e.g., "UC_Custom_Email_Template")
2. Modify grounding, instructions, and output format
3. Test thoroughly before deployment
Reference: Prompt Template Best Practices

Business Benefit:

Cloning maintains the original template for compliance/fallback while allowing full customization to meet specific requirements.

Universal Containers would like to route SMS text messages to a service rep from an Agentforce Service Agent. Which Service Channel should the company use in the flow to ensure it’s routed properly?


A. Messaging


B. Route Work Action


C. Live Agent





A.
  Messaging

Explanation:

Comprehensive and Detailed In-Depth Explanation: UC wants to route SMS text messages from an Agentforce Service Agent to a service rep using a flow. Let’s identify the correct Service Channel.

Option A: Messaging In Salesforce, the "Messaging" Service Channel (part of Messaging for In-App and Web or SMS) handles text-based interactions, including SMS. When integrated with Omni-Channel Flow, the "Route Work" action uses this channel to route SMS messages to agents. This aligns with UC’s requirement for SMS routing, making it the correct answer.

Option B: Route Work Action "Route Work" is an action in Omni-Channel Flow, not a Service Channel. It uses a channel (e.g., Messaging) to route work, so this is a component, not the channel itself, making it incorrect.

Option C: Live Agent "Live Agent" refers to an older chat feature, not the current Messaging framework for SMS. It’s outdated and unrelated to SMS routing, making it incorrect.

Option D: SMS ChannelThere’s no standalone "SMS Channel" in Salesforce Service Channels—SMS is encompassed within the "Messaging" channel. This is a misnomer, making it incorrect.

Why Option A is Correct: The "Messaging" Service Channel supports SMS routing in Omni-Channel Flow, ensuring proper handoff from the Agentforce Service Agent to a rep, per Salesforce documentation.

📲 To route SMS messages through Agentforce Service Agents using a Flow, Universal Containers should use the Messaging Service Channel — it's designed specifically for handling this kind of communication.

Implementation Steps:

1. Enable Messaging for SMS in Omni-Channel Setup.
2. Configure the Messaging Flow to:
. Accept inbound SMS.
. Route to the AgentForce Service Agent.
3. Set up Omni-Channel Skills-Based Routing for agents.

Universal Containers (UC) wants to enable its sales team to use AI to suggest recommended products from its catalog. Which type of prompt template should UC use?


A. Record summary prompt template


B. Email generation prompt template


C. Flex prompt template





C.
  Flex prompt template

Explanation:

Flex prompt templates are designed for custom, highly configurable AI interactions where you can:

1. Combine multiple data sources (like product catalog records)
2. Use logic or external services
3. Build dynamic and tailored prompts based on business-specific use cases

In this case, Universal Containers (UC) wants to enable the sales team to use AI to suggest recommended products. This use case involves custom logic, possibly related records (e.g., customer preferences or purchase history), and flexible grounding. Therefore:

✅ Flex prompt templates are the correct choice for building AI-powered product recommendation prompts.

Why the other options are incorrect:

A. Record summary prompt template
❌ Incorrect – This is used to summarize a record’s data, such as generating a summary of an opportunity or case. It’s not built for generating dynamic product suggestions.

B. Email generation prompt template
❌ Incorrect – This is designed for drafting emails, such as follow-ups or outreach messages, not for building interactive AI experiences or product recommendation logic.

✅ Summary:

To use AI for recommending products from a catalog to the sales team, UC should use a Flex prompt template — it provides the flexibility and control needed for such use cases.

Implementation Example:

Create a Flex prompt template with grounding like:

"Suggest products from {{Catalog.Products}} for {{Account.Name}} based on {{Account.OrderHistory}}."
Configure the output to return structured recommendations (e.g., product names, SKUs).

This approach leverages real-time data for AI-driven sales assistance.

📘 Salesforce Reference:

Source: Salesforce Help Documentation – Flex Prompt Templates

Key excerpt from Salesforce documentation:
“Flex prompt templates allow you to build reusable and flexible prompt templates that can use inputs from multiple sources such as record fields, related lists, flows, and external data. They're best used for use cases that involve customized recommendations, complex logic, or decision support.”

When configuring a prompt template, an Agentforce Specialist previews the results of the prompt template they've written. They see two distinct text outputs: Resolution and Response. Which information does the Resolution text provide?


A. It shows the full text that is sent to the Trust Layer.


B. It shows the response from the LLM based on the sample record.


C. It shows which sensitive data is masked before it is sent to the LLM.





B.
  It shows the response from the LLM based on the sample record.

Explanation:

When previewing a prompt template in Agentforce, the specialist sees two outputs: Resolution and Response. These represent different stages of the prompt execution process.

What Resolution Means:
Resolution is the actual output generated by the LLM, based on the sample input data provided (such as a sample record or grounding data).
It lets you preview what the LLM will say or generate when the prompt runs in production.
It’s useful for testing how the LLM interprets and responds to the prompt structure and inputs.

A. It shows the full text that is sent to the Trust Layer
❌ Incorrect – The Trust Layer is involved in security, grounding, and policy enforcement, but the Resolution text does not show the raw prompt or inputs sent to the Trust Layer.

C. It shows which sensitive data is masked before it is sent to the LLM
❌ Incorrect – Data masking and redaction (handled by the Trust Layer) is not shown in the Resolution view. That process occurs earlier, before the prompt is sent to the LLM.

✅ The Resolution output in prompt preview is the LLM's response based on sample data, helping specialists understand and refine prompt behavior before deployment.

Universal Containers (UC) is experimenting with using public Generative AI models and is familiar with the language required to get the information it needs. However, it can be time-consuming for both UC’s sales and service reps to type in the prompt to get the information they need, and ensure prompt consistency.
Which Salesforce feature should the company use to address these concerns?


A. Agent Builder and Action: Query Records.


B. Einstein Prompt Builder and Prompt Templates.


C. Einstein Recommendation Builder.





B.
  Einstein Prompt Builder and Prompt Templates.

Explanation:

Universal Containers (UC) wants to:

1. Use Generative AI with public LLMs
2. Avoid requiring sales and service reps to manually type prompts
3. Ensure consistency and efficiency in how prompts are structured and executed

The best Salesforce feature to address these needs is:

✅ Einstein Prompt Builder and Prompt Templates

These allow UC to:
1. Create reusable, standardized prompt templates for both sales and service use cases
2. Incorporate Salesforce data directly into the prompt via merge fields and grounding
3. Ensure that users don't have to manually craft prompts — they just trigger the AI via a button, flow, or automation

📘 Salesforce Reference:

“Use Einstein Prompt Builder to create prompt templates that automate the process of crafting and sending prompts to large language models. Templates ensure consistency and context in responses.”
— Salesforce Help: Prompt Builder Overview

❌ Why the other options are incorrect:

A. Agent Builder and Action: Query Records
❌ Incorrect – This is used for retrieving Salesforce data using agents, not for generating consistent AI-powered messaging or content.

C. Einstein Recommendation Builder
❌ Incorrect – This is used for generating product or content recommendations, not for automating or standardizing the use of prompts with generative AI.

✅ Summary:

To reduce manual prompt entry and ensure consistency when using Generative AI, UC should use Einstein Prompt Builder and Prompt Templates.

Universal Containers plans to enhance its sales team’s productivity using AI. Which specific requirement necessitates the use of Prompt Builder?


A. Creating a draft newsletter for an upcoming tradeshow.


B. Predicting the likelihood of customers churning or discontinuing their relationship with the company.


C. Creating an estimated Customer Lifetime Value (CLV) with historical purchase data.





A.
  Creating a draft newsletter for an upcoming tradeshow.

Explanation:

Comprehensive and Detailed In-Depth Explanation: UC seeks an AI solution for sales productivity. Let’s determine which requirement aligns with Prompt Builder.

Option A: Creating a draft newsletter for an upcoming tradeshow. Prompt Builder excels at generating text outputs (e.g., newsletters) using Generative AI. UC can create a prompt template to draft personalized, context-rich newsletters based on sales data, boosting productivity. This matches Prompt Builder’s capabilities, making it the correct answer.

Option B: Predicting the likelihood of customers churning or discontinuing their relationship with the company. Churn prediction is a predictive AI task, suited for Einstein Prediction Builder or Data Cloud models, not Prompt Builder, which focuses on generative tasks. This is incorrect.

Option C: Creating an estimated Customer Lifetime Value (CLV) with historical purchase data. CLV estimation involves predictive analytics, not text generation, and is better handled by Einstein Analytics or custom models, not Prompt Builder. This is incorrect.

Why Option A is Correct: Drafting newsletters is a generative task uniquely suited to Prompt Builder, enhancing sales productivity as per Salesforce documentation.

1. Drafting a newsletter for a tradeshow involves text generation.
2. This is exactly the kind of use case Prompt Builder is built for — generating personalized, branded, and context-aware content using Salesforce data.
3. You can use Prompt Builder to merge Salesforce data (like event details, customer preferences) into the generated draft.

🧠 Prompt Builder is used when you need to generate intelligent, personalized content — like a draft newsletter. It is not for predictions or analytics, which require different Einstein tools.

🔗 Reference
Salesforce Help — Prompt Builder Overview

Universal Containers (UC) wants to ensure the effectiveness, reliability, and trust of its agents prior to deploying them in production. UC would like to efficiently test a large and repeatable number of utterances.
What should the Agentforce Specialist recommend?


A. Leverage the Agent Large Language Model (LLM) UI and test UC􀀲s agents with different utterances prior to activating the agent.


B. Deploy the agent in a QA sandbox environment and review the Utterance Analysis reports to review effectiveness.


C. Create a CSV file with UC􀀲s test cases in Agentforce Testing Center using the testing template.





C.
  Create a CSV file with UC􀀲s test cases in Agentforce Testing Center using the testing template.

Explanation:

To ensure effectiveness, reliability, and trust before deploying agents to production, especially when dealing with a large and repeatable set of utterances, the most efficient and scalable approach is to use:

✅ Agentforce Testing Center with a CSV-based test suite

This allows Universal Containers to:
1. Batch test many utterances automatically
2. Compare actual agent responses to expected outcomes
3. Identify gaps or inconsistencies in intent recognition or action matching
4. Repeat tests quickly as the agent evolves

📘 Salesforce Reference:

“Use the Agentforce Testing Center to automate testing of agents with test case files to ensure consistent and expected results.”
— Salesforce Help: Agentforce Testing Center

❌ Why the other options are incorrect:

A. Leverage the Agent Large Language Model (LLM) UI and test UC’s agents with different utterances prior to activating the agent
❌ Inefficient – This method supports manual testing only, which is not scalable for large sets of utterances.

B. Deploy the agent in a QA sandbox environment and review the Utterance Analysis reports to review effectiveness
❌ Reactive – This provides post-interaction insights but doesn't support automated, pre-deployment testing in a structured, repeatable way.

✅ Summary:

For scalable and consistent agent testing, UC should use the Agentforce Testing Center with a CSV file of test cases, ensuring confidence in the agent’s performance before production deployment.

Which scenario best demonstrates when an Agentforce Data Library is most useful for improving an AI agent’s response accuracy?


A. When the AI agent must provide answers based on a curated set of policy documents that are stored, regularly updated, and indexed in the data library.


B. When the AI agent needs to combine data from disparate sources based on mutually common data, such as Customer Id and Product Id for grounding.


C. When data is being retrieved from Snowflake using zero-copy for vectorization and retrieval.





A.
  When the AI agent must provide answers based on a curated set of policy documents that are stored, regularly updated, and indexed in the data library.

Explanation:

The primary purpose of the Agentforce Data Library (more commonly known in the context of Einstein as the Data Library or Knowledge Base) is to provide a centralized, managed, and optimized repository of information that an AI agent can draw from to generate accurate and contextually relevant responses.

Here's why option A is the best fit:

Curated and Managed Content: The scenario describes a "curated set of policy documents." A Data Library is designed for exactly this—storing approved, high-quality content like policy docs, FAQs, and manuals. This curation is crucial for "improving response accuracy" because it prevents the AI from using outdated or unverified information.

Stored and Indexed: The Data Library isn't just a file storage system. It actively indexes the content, making it searchable and retrievable by the AI's natural language processing (NLP) engine. When a customer asks a question, the AI can quickly find the most relevant article from this indexed library.

Regularly Updated: The mention of "regularly updated" documents highlights a key strength. Maintaining accuracy over time requires the knowledge base to be a living system. The Data Library provides the tools to review, update, version, and retire content, ensuring the AI's answers remain correct.

Why the other options are not the best fit:

B. When the AI agent needs to combine data from disparate sources based on mutually common data, such as Customer Id and Product Id for grounding.

This scenario describes data unification and grounding, which is a function of the Data Cloud (formerly Customer Data Platform). While Data Cloud can be a source for the Data Library, the act of combining disparate data using common keys is its core function, not the Library's. The Library is for finalized, article-like content, not for dynamically joining raw data tables.

C. When data is being retrieved from Snowflake using zero-copy for vectorization and retrieval.

This is a very specific scenario describing the technical implementation of data sharing and vectorization. "Zero-copy" from Snowflake is a feature of Data Cloud. Vectorization is the process of converting text into numerical representations (vectors) for AI models. While the Data Library's content is used for this purpose, the scenario describes the underlying data pipeline mechanics, not the high-level use case for the Library itself. The Library is the source of the data, but the process described is handled by Data Cloud and the Einstein AI platform.

Reference

This aligns with the core concepts of Einstein AI and Knowledge Management in Salesforce. The official Salesforce documentation on Einstein Bots and Knowledge emphasizes that feeding your bot from a well-maintained Knowledge base is the primary method for ensuring it provides accurate, helpful answers to customer inquiries.

Trailhead Module: "Get Started with Einstein Bots" (Look for the units on configuring knowledge)
Help Article: "Add Articles to Your Einstein Bot" (This directly shows the linkage between the bot and the Knowledge base/data library).

An Agentforce Specialist is creating a custom action in Agentforce. Which option is available for the Agentforce Specialist to choose for the custom Agent action?


A. Apex Trigger


B. SOQL


C. Flows





C.
  Flows

Explanation:

When creating a custom Agent Action in Agentforce, the supported option for defining the logic behind the action is:

✅ Salesforce Flows
Flows (specifically Autolaunched Flows) can be configured to:

1. Accept input parameters from the AI agent
2. Execute logic, updates, or queries
3. Return output values to be used in the AI’s response

This makes Flows the official and supported way to implement custom Agent actions in Agentforce.

📘 Salesforce Reference:
Source: Salesforce Help – Agent Actions

"Custom Agent Actions can be implemented using Salesforce Flows to enable agents to perform specific business tasks triggered by user input."

🔍 Breakdown of Incorrect Options:

A. Apex Trigger
❌ Incorrect – Apex Triggers are used to respond to DML operations (insert, update, delete) on records. They cannot be invoked directly as Agent actions.

B. SOQL
❌ Incorrect – SOQL is used for querying data within Apex or Flows. It is not a standalone executable action, and cannot be chosen directly as a custom Agent action.

✅ Summary:
To create a custom Agentforce action, the Agentforce Specialist should use Flows, which provide the flexibility and structure needed for custom business logic.

Universal Containers deploys a new Agentforce Service Agent into the company’s website but is getting feedback that the Agentforce Service Agent is not providing answers to customer questions that are found in the company's Salesforce Knowledge articles. What is the likely issue?


A. The Agentforce Service Agent user is not assigned the correct Agent Type License.


B. The Agentforce Service Agent user needs to be created under the standard Agent Knowledge profile.


C. The Agentforce Service Agent user was not given the Allow View Knowledge permission set.





C.
  The Agentforce Service Agent user was not given the Allow View Knowledge permission set.


Explanation:

Comprehensive and Detailed In-Depth Explanation:Universal Containers (UC) has deployed an Agentforce Service Agent on its website, but it’s failing to provide answers from Salesforce Knowledge articles. Let’s troubleshoot the issue.

Option A: The Agentforce Service Agent user is not assigned the correct Agent Type License.There’s no "Agent Type License" in Salesforce—agent functionality is tied to Agentforce licenses (e.g., Service Agent license) and permissions. Licensing affects feature access broadly, but the specific issue of not retrieving Knowledge suggests a permission problem, not a license type, making this incorrect.

Option B: The Agentforce Service Agent user needs to be created under the standard Agent Knowledge profile.No "standard Agent Knowledge profile" exists. The Agentforce Service Agent runs under a system user (e.g., "Agentforce Agent User") with a custom profile or permission sets. Profile creation isn’t the issue—access permissions are, making this incorrect.

Option C: The Agentforce Service Agent user was not given the Allow View Knowledge permission set.The Agentforce Service Agent user requires read access to Knowledge articles to ground responses. The "Allow View Knowledge" permission (typically via the "Salesforce Knowledge User" license or a permission set like "Agentforce Service Permissions") enables this. If missing, the agent can’t access Knowledge, even if articles are indexed, causing the reported failure. This is a common setup oversight and the likely issue, making it the correct answer.

Why Option C is Correct: Lack of Knowledge access permissions for the Agentforce Service Agent user directly prevents retrieval of article content, aligning with the symptoms and Salesforce security requirements.

References:

Salesforce Agentforce Documentation: Service Agent Setup > Permissions– Requires Knowledge access.
Trailhead: Set Up Agentforce Service Agents– Lists "Allow View Knowledge" need.
Salesforce Help: Knowledge in Agentforce– Confirms permission necessity.

Steps to Resolve:

Go to Setup → Permission Sets.
Assign the "Allow View Knowledge" permission set to the AgentForce Service Agent user.
Verify the Knowledge data sharing settings (if articles are restricted by visibility rules).

This ensures the AI can ground responses in Knowledge articles for accurate customer answers.

Which element in the Omni-Channel Flow should be used to connect the flow with the agent?


A. Route Work Action


B. Assignment


C. Decision





A.
  Route Work Action

Explanation:

In an Omni-Channel Flow, the element used to connect the flow with the agent (or route the work to the correct queue or skill-based agent) is the:

✅ Route Work Action

This action is specifically designed to send work items (like chats, cases, or messaging sessions) to Omni-Channel routing, so they can be picked up by the most appropriate human agent based on availability, skills, or queue membership.

📘 Salesforce Reference:

Source: Salesforce Help – Route Work Action in Omni-Channel Flows

“Use the Route Work action in an Omni-Channel flow to assign work items to the most suitable agent or queue using Omni-Channel routing.”

🔍 Breakdown of Incorrect Options:

B. Assignment
❌ Incorrect – The Assignment element is used to set variables or values within the flow, but it doesn’t route or connect the work to an agent.

C. Decision
❌ Incorrect – The Decision element is used for conditional logic within the flow (like if/then branching), not for routing or assigning work to agents.

✅ Summary:

To connect a flow with an agent in Omni-Channel, use the Route Work Action, which initiates routing to the appropriate agent or queue.


Page 1 out of 25 Pages