Salesforce Certified Agentforce Specialist Exam (page: 1)
Salesforce Certified Agentforce Specialist
Updated on: 25-Sep-2025

What is the importance of Action Instructions when creating a custom Agent action?

  1. Action Instructions define the expected user experience of an action.
  2. Action Instructions tell the user how to call this action in a conversation.
  3. Action Instructions tell the large language model (LLM) which action to use.

Answer(s): A

Explanation:

Comprehensive and Detailed In-Depth Explanation;
In Salesforce Agentforce, custom Agent actions are designed to enable AI-driven agents to perform specific tasks within a conversational context. Action Instructions are a critical component when creating these actions because they define the expected user experience by outlining how the action should behave, what it should accomplish, and how it interacts with the end user. These instructions act as a blueprint for the action's functionality, ensuring that it aligns with the intended outcome and provides a consistent, intuitive experience for users interacting with the agent. For example, if the action is to "schedule a meeting," the Action Instructions might specify the steps (e.g., gather date and time, confirm with the user) and the tone (e.g., professional, concise), shaping the user experience.

· Option B: While Action Instructions might indirectly influence how a user invokes an action (e.g., by making it clear what inputs are needed), they are not primarily about telling the user how to call the action in a conversation. That's more related to user training or interface design, not the instructions themselves.

· Option C: The large language model (LLM) relies on prompts, parameters, and grounding data to determine which action to execute, not the Action Instructions directly. The instructions guide the action's design, not the LLM's decision-making process at runtime.

Thus, Option A is correct as it emphasizes the role of Action Instructions in defining the user experience, which is foundational to creating effective custom Agent actions in Agentforce.


Reference:

· Salesforce Agentforce Documentation: "Create Custom Agent Actions" (Salesforce Help:
https://help.salesforce.com/s/articleView?id=sf.agentforce_custom_actions.htm&type=5)

· Trailhead: "Agentforce Basics" module
(https://trailhead.salesforce.com/content/learn/modules/agentforce-basics)



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?

  1. The template type needs to be switched to Flex to accommodate the variable amount of tokens generated by the prompt grounding.
  2. The number of tokens generated by the dynamic nature of the prompt template will vary by record.
  3. The number of tokens that can be processed by the LLM varies with total user demand.

Answer(s): B

Explanation:

Comprehensive and Detailed In-Depth Explanation;
In Salesforce Agentforce, prompt templates are used to generate dynamic responses or field values by leveraging an LLM, often with grounding data from Salesforce records or external sources. The scenario describes a Field Generation prompt template that fails intermittently with token limit errors, indicating that the issue is tied to exceeding the LLM's token capacity (e.g., input + output tokens). The random nature of these failures suggests variability in the token count across different records, which is directly addressed by Option B.

Prompt templates in Agentforce can be dynamic, meaning they pull in record-specific data (e.g., customer names, descriptions, or other fields) to generate output. Since the data varies by record-- some records might have short text fields while others have lengthy ones--the total number of tokens (words, characters, or subword units processed by the LLM) fluctuates.
When the token count exceeds the LLM's limit (e.g., 4,096 tokens for some models), the process fails, but this only happens for records with higher token-generating data, explaining the randomness.

· Option A: Switching to a "Flex" template type might sound plausible, but Salesforce documentation does not define "Flex" as a specific template type for handling token variability in this context (there are Flow-based templates, but they're unrelated to token limits). This option is a distractor and not a verified solution.

· Option C: The LLM's token processing capacity is fixed per model (e.g., a set limit like 128,000 tokens for advanced models) and does not vary with user demand. Demand might affect performance or availability, but not the token limit itself.

Option B is the correct answer because it accurately identifies the dynamic nature of the prompt template as the root cause of variable token counts leading to random failures.


Reference:

· Salesforce Agentforce Documentation: "Prompt Templates" (Salesforce Help:

https://help.salesforce.com/s/articleView?id=sf.agentforce_prompt_templates.htm&type=5)

· Trailhead: "Build Prompt Templates for Agentforce"
(https://trailhead.salesforce.com/content/learn/modules/build-prompt-templates-for-agentforce)



What is a valid use case for Data Cloud retrievers?

  1. Returning relevant data from the vector database to augment a prompt.
  2. Grounding data from external websites to augment a prompt with RAG.
  3. Modifying and updating data within the source systems connected to Data Cloud.

Answer(s): A

Explanation:

Comprehensive and Detailed In-Depth Explanation;
Salesforce Data Cloud integrates with Agentforce to provide real-time, unified data access for AI- driven applications. Data Cloud retrievers are specialized components that fetch relevant data from Data Cloud's vector database--a storage system optimized for semantic search and retrieval--to enhance agent responses or actions. A valid use case, as described in Option A, is using these retrievers to return pertinent data (e.g., customer purchase history, support tickets) from the vector database to augment a prompt. This process, often part of Retrieval-Augmented Generation (RAG), allows the LLM to generate more accurate, context-aware responses by grounding its output in structured, searchable data stored in Data Cloud.

· Option B: Grounding data from external websites is not a primary function of Data Cloud retrievers.
While RAG can incorporate external data, Data Cloud retrievers specifically work with data within Salesforce's ecosystem (e.g., the vector database or harmonized data lakes), not arbitrary external websites. This makes B incorrect.

· Option C: Data Cloud retrievers are read-only mechanisms designed for data retrieval, not for modifying or updating source systems. Updates to source systems are handled by other Salesforce tools (e.g., Flows or Apex), not retrievers.

Option A is correct because it aligns with the core purpose of Data Cloud retrievers: enhancing prompts with relevant, vectorized data from within Salesforce Data Cloud.


Reference:

· Salesforce Data Cloud Documentation: "Data Cloud for Agentforce" (Salesforce Help:
https://help.salesforce.com/s/articleView?id=sf.data_cloud_agentforce.htm&type=5)

· Trailhead: "Data Cloud Basics" module
(https://trailhead.salesforce.com/content/learn/modules/data-cloud-basics)



Universal Containers (UC) wants to use Generative AI Salesforce functionality to reduce Service Agent handling time by providing recommended replies based on the existing Knowledge articles. On which AI capability should UC train the service agents?

  1. Service Replies
  2. Case Replies
  3. Knowledge Replies

Answer(s): C

Explanation:

Comprehensive and Detailed In-Depth Explanation;
Salesforce Agentforce leverages generative AI to enhance service agent efficiency, particularly through capabilities that generate recommended replies. In this scenario, Universal Containers aims to reduce handling time by providing replies based on existing Knowledge articles, which are a core component of Salesforce Knowledge. The Knowledge Replies capability is specifically designed for this purpose--it uses generative AI to analyze Knowledge articles, match them to the context of a customer inquiry (e.g., a case or chat), and suggest relevant, pre-formulated responses for service agents to use or adapt. This aligns directly with UC's goal of leveraging existing content to streamline agent workflows.

· Option A (Service Replies): While "Service Replies" might sound plausible, it is not a specific,

documented capability in Agentforce. It appears to be a generic distractor and does not tie directly to Knowledge articles.

· Option B (Case Replies): "Case Replies" is not a recognized AI capability in Agentforce either.
While replies can be generated for cases, the focus here is on Knowledge article integration, which points to Knowledge Replies.

· Option C (Knowledge Replies): This is the correct capability, as it explicitly connects generative AI with Knowledge articles to produce recommended replies, reducing agent effort and handling time.

Training service agents on Knowledge Replies ensures they can effectively use AI-suggested responses, review them for accuracy, and integrate them into their workflows, fulfilling UC's objective.


Reference:

· Salesforce Agentforce Documentation: "Knowledge Replies for Service Agents" (Salesforce Help: https://help.salesforce.com/s/articleView?id=sf.agentforce_knowledge_replies.htm&type=5)

· Trailhead: "Agentforce for Service" module
(https://trailhead.salesforce.com/content/learn/modules/agentforce-for-service)



For an Agentforce Data Library that contains uploaded files, what occurs once it is created and configured?

  1. Indexes the uploaded files in a location specified by the user
  2. Indexes the uploaded files into Data Cloud
  3. Indexes the uploaded files in Salesforce File Storage

Answer(s): B

Explanation:

Comprehensive and Detailed In-Depth Explanation;
In Salesforce Agentforce, a Data Library is a feature that allows organizations to upload files (e.g., PDFs, documents) to be used as grounding data for AI-driven agents. Once the Data Library is created and configured, the uploaded files are indexed to make their content searchable and usable by the AI (e.g., for retrieval-augmented generation or prompt enhancement). The key question is where this indexing occurs. Salesforce Agentforce integrates tightly with Data Cloud, a unified data platform that includes a vector database optimized for storing and indexing unstructured data like uploaded files.
When a Data Library is set up, the files are ingested and indexed into Data Cloud's vector database, enabling the AI to efficiently retrieve relevant information from them during conversations or actions.

· Option A: Indexing files in a "location specified by the user" is not a feature of Agentforce Data Libraries. The indexing process is managed by Salesforce infrastructure, not a user-defined location.

· Option B: This is correct. Data Cloud handles the indexing of uploaded files, storing them in its vector database to support AI capabilities like semantic search and content retrieval.

· Option C: Salesforce File Storage (e.g., where ContentVersion records are stored) is used for general file storage, but it does not inherently index files for AI use. Agentforce relies on Data Cloud for indexing, not basic file storage.

Thus, Option B accurately reflects the process after a Data Library is created and configured in Agentforce.


Reference:

· Salesforce Agentforce Documentation: "Set Up a Data Library" (Salesforce Help:
https://help.salesforce.com/s/articleView?id=sf.agentforce_data_library.htm&type=5)

· Salesforce Data Cloud Documentation: "Vector Database for AI" (https://help.salesforce.com/s/articleView?id=sf.data_cloud_vector_database.htm&type=5)



Universal Containers (UC) is creating a new custom prompt template to populate a field with generated output. UC enabled the Einstein Trust Layer to ensure AI Audit data is captured and monitored for adoption and possible enhancements.
Which prompt template type should UC use and which consideration should UC review?

  1. Field Generation, and that Dynamic Fields is enabled
  2. Field Generation, and that Dynamic Forms is enabled
  3. Flex, and that Dynamic Fields is enabled

Answer(s): A

Explanation:

Comprehensive and Detailed In-Depth Explanation;
Salesforce Agentforce provides various prompt template types to support AI-driven tasks, such as generating text or populating fields. In this case, UC needs a custom prompt template to populate a field with generated output, which directly aligns with the Field Generation prompt template type. This type is designed to use generative AI to create field values (e.g., summaries, descriptions) based on input data or prompts, making it the ideal choice for UC's requirement. Additionally, UC has enabled the Einstein Trust Layer, a governance framework that ensures AI outputs are safe, explainable, and auditable, capturing AI Audit data for monitoring adoption and identifying improvement areas.

The consideration UC should review is whether Dynamic Fields is enabled. Dynamic Fields allow the prompt template to incorporate variable data from Salesforce records (e.g., case details, customer info) into the prompt, ensuring the generated output is contextually relevant to each record. This is critical for field population tasks, as static prompts wouldn't adapt to record-specific needs. The Einstein Trust Layer further benefits from this, as it can track how dynamic inputs influence outputs for audit purposes.

· Option A: Correct. "Field Generation" matches the use case, and "Dynamic Fields" is a key consideration to ensure flexibility and auditability with the Trust Layer.

· Option B: "Field Generation" is correct, but "Dynamic Forms" is unrelated. Dynamic Forms is a UI feature for customizing page layouts, not a prompt template setting, making this option incorrect.

· Option C: "Flex" templates are more general-purpose and not specifically tailored for field population tasks.
While Dynamic Fields could apply, Field Generation is the better fit for UC's stated goal.

Option A is the best choice, as it pairs the appropriate template type (Field Generation) with a relevant consideration (Dynamic Fields) for UC's scenario with the Einstein Trust Layer.


Reference:

· Salesforce Agentforce Documentation: "Prompt Template Types" (Salesforce Help:
https://help.salesforce.com/s/articleView?id=sf.agentforce_prompt_templates.htm&type=5)

· Salesforce Einstein Trust Layer Documentation: "Monitor AI with Trust Layer" (https://help.salesforce.com/s/articleView?id=sf.einstein_trust_layer.htm&type=5)

· Trailhead: "Build Prompt Templates for Agentforce"
(https://trailhead.salesforce.com/content/learn/modules/build-prompt-templates-for-agentforce)



An Agentforce Specialist needs to create a prompt template to fill a custom field named Latest Opportunities Summary on the Account object with information from the three most recently opened opportunities. How should the Agentforce Specialist gather the necessary data for the prompt template?

  1. Select the latest Opportunities related list as a merge field.
  2. Create a flow to retrieve the opportunity information.
  3. Select the Account Opportunity object as a resource when creating the prompt template.

Answer(s): B

Explanation:

Comprehensive and Detailed In-Depth Explanation;
In Salesforce Agentforce, a prompt template designed to populate a custom field (like "Latest Opportunities Summary" on the Account object) requires dynamic data to be fed into the template for AI to generate meaningful output. Here, the task is to gather data from the three most recently opened opportunities related to an account. The most robust and flexible way to achieve this is by using a Flow (Option B). Salesforce Flows allow the Agentforce Specialist to define logic to query the Opportunity object, filter for the three most recent opportunities (e.g., using a Get Records element with a sort by CreatedDate descending and a limit of 3), and pass this data as variables into the prompt template. This approach ensures precise control over the data retrieval process and can handle complex filtering or sorting requirements.

· Option A: Selecting the "latest Opportunities related list as a merge field" is not a valid option in Agentforce prompt templates. Merge fields can pull basic field data (e.g., {!Account.Name}), but they don't natively support querying or aggregating related list data like the three most recent opportunities.

· Option C: There is no "Account Opportunity object" in Salesforce; this seems to be a misnomer (perhaps implying the Opportunity object or a junction object). Even if interpreted as selecting the Opportunity object as a resource, prompt templates don't directly query related objects without additional logic (e.g., a Flow), making this incorrect.

· Option B: Flows integrate seamlessly with prompt templates via dynamic inputs, allowing the Specialist to retrieve and structure the exact data needed (e.g., Opportunity Name, Amount, Close Date) for the AI to summarize.

Thus, Option B is the correct method to gather the necessary data efficiently and accurately.


Reference:

· Salesforce Agentforce Documentation: "Integrate Flows with Prompt Templates" (Salesforce Help:
https://help.salesforce.com/s/articleView?id=sf.agentforce_flow_prompt_integration.htm&type=5)

· Trailhead: "Build Flows for Agentforce"
(https://trailhead.salesforce.com/content/learn/modules/flows-for-agentforce)



Universal Containers recently launched a pilot program to integrate conversational AI into its CRM business operations with Agentforce Agents. How should the Agentforce Specialist monitor Agents' usability and the assignment of actions?

  1. Run a report on the Platform Debug Logs.
  2. Query the Agent log data using the Metadata API.
  3. Run Agent Analytics.

Answer(s): C

Explanation:

Comprehensive and Detailed In-Depth Explanation;
Monitoring the usability and action assignments of Agentforce Agents requires insights into how agents perform, how users interact with them, and how actions are executed within conversations. Salesforce provides Agent Analytics (Option C) as a built-in capability specifically designed for this purpose. Agent Analytics offers dashboards and reports that track metrics such as agent response times, user satisfaction, action invocation frequency, and success rates. This tool allows the Agentforce Specialist to assess usability (e.g., are agents meeting user needs?) and monitor action assignments (e.g., which actions are triggered and how often), providing actionable data to optimize the pilot program.

· Option A: Platform Debug Logs are low-level logs for troubleshooting Apex, Flows, or system processes. They don't provide high-level insights into agent usability or action assignments, making this unsuitable.

· Option B: The Metadata API is used for retrieving or deploying metadata (e.g., object definitions), not runtime log data about agent performance.
While Agent log data might exist, querying it via Metadata API is not a standard or documented approach for this use case.

· Option C: Agent Analytics is the dedicated solution, offering a user-friendly way to monitor conversational AI performance without requiring custom development.

Option C is the correct choice for effectively monitoring Agentforce Agents in a pilot program.


Reference:

· Salesforce Agentforce Documentation: "Agent Analytics Overview" (Salesforce Help:

https://help.salesforce.com/s/articleView?id=sf.agentforce_analytics.htm&type=5)

· Trailhead: "Agentforce for Admins"
(https://trailhead.salesforce.com/content/learn/modules/agentforce-for-admins)



Viewing Page 1 of 27



Share your comments for Salesforce Certified Agentforce Specialist exam with other users:

Blessious Phiri 8/14/2023 9:53:00 AM

cbd and pdb are key to the database
SOUTH AFRICA


Alkaed 10/19/2022 10:41:00 AM

the purchase and download process is very much streamlined. the xengine application is very nice and user-friendly but there is always room for improvement.
NETHERLANDS


Dave Gregen 9/4/2023 3:17:00 PM

please upload p_sapea_2023
SWEDEN


Sarah 6/13/2023 1:42:00 PM

anyone use this? the question dont seem to follow other formats and terminology i have been studying im getting worried
CANADA


Shuv 10/3/2023 8:19:00 AM

good questions
UNITED STATES


Reb974 8/5/2023 1:44:00 AM

hello are these questions valid for ms-102
CANADA


Mchal 7/20/2023 3:38:00 AM

some questions are wrongly answered but its good nonetheless
POLAND


Sonbir 8/8/2023 1:04:00 PM

how to get system serial number using intune
Anonymous


Manju 10/19/2023 1:19:00 PM

is it really helpful to pass the exam
Anonymous


LeAnne Hair 8/24/2023 12:47:00 PM

#229 in incorrect - all the customers require an annual review
UNITED STATES


Abdul SK 9/28/2023 11:42:00 PM

kindy upload
Anonymous


Aderonke 10/23/2023 12:53:00 PM

fantastic assessment on psm 1
UNITED KINGDOM


SAJI 7/20/2023 2:51:00 AM

56 question correct answer a,b
Anonymous


Raj Kumar 10/23/2023 8:52:00 PM

thank you for providing the q bank
CANADA


piyush keshari 7/7/2023 9:46:00 PM

true quesstions
Anonymous


B.A.J 11/6/2023 7:01:00 AM

i can´t believe ms asks things like this, seems to be only marketing material.
Anonymous


Guss 5/23/2023 12:28:00 PM

hi, could you please add the last update of ns0-527
Anonymous


Rond65 8/22/2023 4:39:00 PM

question #3 refers to vnet4 and vnet5. however, there is no vnet5 listed in the case study (testlet 2).
UNITED STATES


Cheers 12/13/2023 9:55:00 AM

sometimes it may be good some times it may be
GERMANY


Sumita Bose 7/21/2023 1:01:00 AM

qs 4 answer seems wrong- please check
AUSTRALIA


Amit 9/7/2023 12:53:00 AM

very detailed explanation !
HONG KONG


FisherGirl 5/16/2022 10:36:00 PM

the interactive nature of the test engine application makes the preparation process less boring.
NETHERLANDS


Chiranthaka 9/20/2023 11:15:00 AM

very useful.
Anonymous


SK 7/15/2023 3:51:00 AM

complete question dump should be made available for practice.
Anonymous


Gamerrr420 5/25/2022 9:38:00 PM

i just passed my first exam. i got 2 exam dumps as part of the 50% sale. my second exam is under work. once i write that exam i report my result. but so far i am confident.
AUSTRALIA


Kudu hgeur 9/21/2023 5:58:00 PM

nice create dewey stefen
CZECH REPUBLIC


Anorag 9/6/2023 9:24:00 AM

i just wrote this exam and it is still valid. the questions are exactly the same but there are about 4 or 5 questions that are answered incorrectly. so watch out for those. best of luck with your exam.
CANADA


Nathan 1/10/2023 3:54:00 PM

passed my exam today. this is a good start to 2023.
UNITED STATES


1 10/28/2023 7:32:00 AM

great sharing
Anonymous


Anand 1/20/2024 10:36:00 AM

very helpful
UNITED STATES


Kumar 6/23/2023 1:07:00 PM

thanks.. very helpful
FRANCE


User random 11/15/2023 3:01:00 AM

i registered for 1z0-1047-23 but dumps qre available for 1z0-1047-22. help me with this...
UNITED STATES


kk 1/17/2024 3:00:00 PM

very helpful
UNITED STATES


Raj 7/24/2023 10:20:00 AM

please upload oracle 1z0-1110-22 exam pdf
INDIA