CertSafari

    Free Salesforce Certified Agentforce Specialist (AI-201) Sample Questions

    35 free sample questions from our bank of 335+, covering every exam domain, with answers and detailed explanations. Updated August 2026.

    Domain 1: Prompt Engineering

    Subdomain 1.1: Given business requirements, identify when it's appropriate to use Prompt Builder.

    1.In which scenario is it appropriate to use Prompt Builder?

    1. A.Use Prompt Builder with a template that references fields.
    2. B.Create descriptions manually in a document and upload.
    3. C.Use Apex to concatenate field values for descriptions.
    4. D.Configure Einstein Prediction Builder to generate text.
    Show answer & explanation

    Correct answer: AUse Prompt Builder with a template that references fields.

    • A. Correct. Prompt Builder is designed to generate trusted AI outputs from structured Salesforce data using reusable prompt templates that dynamically reference record fields. This enables consistent, context-aware text generation directly within Salesforce.
    • B. Incorrect. Manually creating descriptions in a document and uploading them is a static process that does not leverage Prompt Builder's dynamic capabilities or integration with Salesforce data. It does not generate content using AI or field references.
    • C. Incorrect. While Apex can concatenate field values to assemble text, it is custom code and not the intended use of Prompt Builder. Prompt Builder is a low-code tool for prompt engineering, not programmatic logic.
    • D. Incorrect. Einstein Prediction Builder is used for predictive modeling, such as scoring and classification, not for generating natural-language text. It does not create descriptions or responses like Prompt Builder does.

    Subdomain 1.3: Identify the considerations for using a prompt template type such as field generation and flex types.

    2.Which output format is typically produced by a Field Generation Template?

    1. A.JSON with specific field values
    2. B.Plain text narrative description
    3. C.XML document with element names
    4. D.HTML page with static content
    Show answer & explanation

    Correct answer: AJSON with specific field values

    • A. Correct. A Field Generation Template produces structured output, typically in JSON, containing specific field values. This structured format is designed for easy mapping into Salesforce fields or other data systems.
    • B. Incorrect. Plain text narrative descriptions are typical of Flex Templates, which allow free-form natural language output, not the structured field-level output of a Field Generation Template.
    • C. Incorrect. Although XML is structured, Field Generation Templates in Salesforce use JSON for simplicity and compatibility with the Salesforce data model, not XML.
    • D. Incorrect. HTML pages with static content are not the output of Field Generation Templates, which focus on generating dynamic, structured field values rather than full web pages.

    Subdomain 1.6: Explain how to implement best practices for writing effective prompts.

    3.What is the primary reason to include specific instructions about output format in a prompt?

    1. A.To reduce the token count and response time.
    2. B.To ensure the response can be used by other systems.
    3. C.To decrease the total length of the prompt.
    4. D.To introduce variety in the AI's output.
    Show answer & explanation

    Correct answer: BTo ensure the response can be used by other systems.

    • A. Incorrect. While formatted output may sometimes reduce tokens, this is not the primary reason. The main goal is to make the output predictable and usable, not to optimize efficiency.
    • B. Correct. Specifying the output format ensures the response is structured predictably, making it easy to parse by downstream systems, APIs, or automation workflows. This consistency is essential for integration.
    • C. Incorrect. Adding format instructions often makes the prompt longer. The primary purpose is not to shorten the prompt but to control the structure of the output for better usability.
    • D. Incorrect. Format instructions are designed to reduce randomness and enforce consistency, not to introduce variety. Standardized outputs are needed for reliability and interoperability.

    Subdomain 1.5: Explain the process for creating, activating, and executing prompt templates.

    4.What is the purpose of the Base Object field when creating a prompt template?

    1. A.It defines the object that provides the record context for the prompt.
    2. B.It determines which users can execute the prompt template.
    3. C.It specifies the output format of the generated response.
    4. D.It selects the Flow that triggers the prompt execution.
    Show answer & explanation

    Correct answer: AIt defines the object that provides the record context for the prompt.

    • A. Correct. The Base Object field defines the primary Salesforce object (e.g., Account, Case, Lead, Opportunity) that provides the record context for the prompt template. This allows the prompt to access and reference fields from a specific record during execution, enabling personalized responses.
    • B. Incorrect. User permissions and who can execute a prompt template are managed through profiles, permission sets, sharing settings, or the execution context (e.g., where the template is invoked), not by the Base Object field.
    • C. Incorrect. The output format of the generated response is determined by the prompt template type (e.g., free text, structured) and the model's configuration, not by the Base Object field. The Base Object only establishes the record context.
    • D. Incorrect. While a Flow can be used to trigger automation, the Base Object field does not select or configure the Flow that triggers prompt execution. The Flow is selected separately in the prompt template setup or automation configuration.

    Subdomain 1.5: Explain the process for creating, activating, and executing prompt templates.

    5.A support manager wants to use a prompt template in an Einstein Bot to generate a reply based on the current chat transcript. After creating the template, what should the admin do to make it available for the bot?

    1. A.Add a Prompt Template action to the dialog in Einstein Bot Builder.
    2. B.Invoke the template from Bot Builder via an Apex class action.
    3. C.Assign the prompt template to the running user's profile.
    4. D.Import the template as a bot skill in the Einstein Bot menu.
    Show answer & explanation

    Correct answer: AAdd a Prompt Template action to the dialog in Einstein Bot Builder.

    • A. The admin adds a Prompt Template action to the dialog in Einstein Bot Builder, which allows the bot to reference and execute the template at runtime using the current conversation context, such as the chat transcript. This is the standard method to integrate prompt templates into bot flows.
    • B. Invoking via an Apex class action is not required; Salesforce provides a native Prompt Template action designed specifically for this purpose. Prompt templates are configured directly in the bot dialog, not through custom Apex.
    • C. Prompt templates are not assigned to user profiles. Access is handled through bot configuration and the template/action setup, not via individual user permissions.
    • D. There is no process to import a prompt template as a bot skill. Bot skills are separate entities; prompt templates are directly added as actions within the bot dialog.

    Subdomain 1.4: Given a scenario, identify the appropriate grounding technique.

    6.An agent is required to first summarize a customer's case history and then, based on that summary, suggest a solution from a knowledge base. This multi-step process is best implemented with which technique?

    1. A.Knowledge Grounding
    2. B.Data Grounding
    3. C.Prompt Chaining
    4. D.Model Fine-tuning
    Show answer & explanation

    Correct answer: CPrompt Chaining

    • A. Incorrect. Knowledge grounding uses a predefined knowledge base to inform responses, but it does not inherently support sequential multi-step reasoning. The scenario requires a flow where each step depends on the previous output, which knowledge grounding alone cannot orchestrate.
    • B. Incorrect. Data grounding involves grounding responses in external or enterprise data, but it is not designed for chaining multiple dependent prompts. While data may be used, the core need is to execute steps sequentially, not just to reference data.
    • C. Correct. Prompt chaining breaks a complex task into multiple sequential prompts, where the output of one prompt becomes the input for the next. This technique perfectly fits the described workflow: first generating a summary, then using that summary to retrieve a solution from a knowledge base.
    • D. Incorrect. Model fine-tuning modifies the model's behavior through training on specific examples, which is unnecessary for a runtime multi-step workflow. The scenario is better addressed with prompt orchestration rather than retraining the model.

    Subdomain 1.4: Given a scenario, identify the appropriate grounding technique.

    7.A sales agent needs to create a proposal that draws on product details from a knowledge base, pricing from a price book, and customer data from the Account object. What is the most effective grounding setup?

    1. A.Use a combined Knowledge Grounding source covering products and pricing.
    2. B.Apply Knowledge Grounding to products, Data Grounding to pricing and accounts.
    3. C.Fetch each dataset sequentially with a manually scripted Prompt Chain.
    4. D.Depend completely on Data Grounding to retrieve all necessary information.
    Show answer & explanation

    Correct answer: BApply Knowledge Grounding to products, Data Grounding to pricing and accounts.

    • A. Incorrect. Knowledge Grounding is best suited for unstructured or semi-structured content like product documentation. Pricing and account data are structured and not typically stored in a knowledge base, making a combined Knowledge Grounding source inadequate.
    • B. Correct. Knowledge Grounding is appropriate for product details in the knowledge base (unstructured/semi-structured), while Data Grounding is designed for structured data such as price books and Account records. This combination matches each data type to the optimal grounding method.
    • C. Incorrect. A manually scripted Prompt Chain can retrieve datasets sequentially but is more complex and less efficient than using built-in grounding techniques, which are optimized for these use cases.
    • D. Incorrect. Data Grounding is ideal for structured CRM data but cannot effectively retrieve unstructured content from a knowledge base. Relying solely on Data Grounding would miss product details.

    Domain 2: Data 360 Fundamentals

    Subdomain 2.2: Explain foundational concepts of Data 360 such as chunking, indexing, and retrievers.

    8.Which of the following accurately describe the benefits of chunking in Data 360?(Select 2)

    1. A.It enables retrieval of more granular and relevant information.
    2. B.It reduces the computational cost of generating embeddings.
    3. C.It improves the natural language generation quality of the agent.
    4. D.It allows the retriever to focus on specific sections rather than whole documents.
    Show answer & explanation

    Correct answers: A, DIt enables retrieval of more granular and relevant information.; It allows the retriever to focus on specific sections rather than whole documents.

    • A. Correct. Chunking breaks large documents into smaller, manageable pieces, enabling retrieval of more granular and relevant information during searches. This is a core benefit for retrieval-augmented generation.
    • B. Incorrect. Chunking does not primarily reduce computational cost of generating embeddings; embeddings are still created for each chunk. The main benefit is improving retrieval relevance and precision, not lowering embedding cost.
    • C. Incorrect. Chunking does not directly improve natural language generation quality of the agent. It enhances retrieval accuracy, which may indirectly support better responses, but NLG quality depends on the LLM, prompting, and context.
    • D. Correct. By splitting documents into sections, the retriever can target specific chunks instead of scanning entire documents. This improves precision and efficiency, allowing focus on relevant sections.

    Subdomain 2.2: Explain foundational concepts of Data 360 such as chunking, indexing, and retrievers.

    9.Which indexing method is used for term-based retrieval in a sparse index?

    1. A.Approximate nearest neighbor (ANN) search over dense vector embeddings
    2. B.An inverted index that maps terms to chunks containing those terms
    3. C.A decision tree that partitions the embedding space hierarchically
    4. D.A forward index that stores chunks in the order they were ingested
    Show answer & explanation

    Correct answer: BAn inverted index that maps terms to chunks containing those terms

    • A. Incorrect. ANN search is used for dense vector similarity, not for sparse indexing. Sparse indexing relies on term matching rather than dense vector embeddings.
    • B. Correct. A sparse index typically uses an inverted index structure that maps terms to the chunks or documents containing them, enabling efficient keyword-based retrieval.
    • C. Incorrect. A decision tree is not a standard structure for sparse indexing. Hierarchical partitioning is more associated with certain specialized approaches, not general text indexing.
    • D. Incorrect. A forward index stores chunks by content or order, but does not support efficient term-to-chunk lookup. That role is fulfilled by an inverted index.

    Subdomain 2.1: Explain the considerations of Agentforce Data Library and its concepts.

    10.A developer needs to ensure that the data library index is rebuilt nightly to incorporate the latest updates from Salesforce Knowledge. Which approach is most reliable?

    1. A.Use an Apex trigger on Knowledge__kav to reindex
    2. B.Schedule a nightly data refresh in Data Library
    3. C.Manually click the 'Refresh Index' button each morning
    4. D.Trigger index rebuilds using the Einstein API
    Show answer & explanation

    Correct answer: BSchedule a nightly data refresh in Data Library

    • A. Incorrect. Apex triggers on Knowledge__kav are not a supported or reliable method for reindexing the Data Library. The Data Library index is managed separately from standard Salesforce triggers, and reindexing is typically handled by platform-supported scheduled refresh capabilities rather than custom record-trigger logic.
    • B. Correct. Scheduling a daily data refresh in the Data Library collection settings is the recommended and most reliable approach because it uses the built-in, supported mechanism for keeping the index synchronized on a recurring basis. This ensures the index is rebuilt automatically on a set schedule without requiring manual intervention or custom code.
    • C. Incorrect. Manually clicking 'Refresh Index' each morning is not reliable because it depends on human action and does not guarantee the index is rebuilt every night. It also does not satisfy the requirement for an automated nightly process and is prone to errors or omissions.
    • D. Incorrect. The Einstein API is not the standard method for triggering a Data Library index rebuild, and it does not provide functionality for this purpose. This introduces unnecessary complexity compared with native scheduled refresh options. Using supported Data Library settings is more dependable and maintainable.

    Subdomain 2.1: Explain the considerations of Agentforce Data Library and its concepts.

    11.An admin is selecting documents for a new collection. Which two factors must be considered to ensure successful indexing? (Choose two.)(Select 2)

    1. A.The document file size and indexing limits
    2. B.Whether the document uses an unsupported binary format
    3. C.The number of revisions the document has had
    4. D.The document author's department or role
    5. E.The color scheme of the document cover
    Show answer & explanation

    Correct answers: A, BThe document file size and indexing limits; Whether the document uses an unsupported binary format

    • A. Correct. The file size of each document and overall indexing limits are critical constraints. Agentforce has maximum file size and document count limits for collections; exceeding them can prevent successful indexing.
    • B. Correct. If a document is in a proprietary binary format that Agentforce cannot extract text from, indexing will fail. Supported formats are required for text extraction.
    • C. Incorrect. The number of revisions does not affect indexing. Only the current version of the document matters for content and format.
    • D. Incorrect. The author's department is metadata that does not impact the technical ability to index. Indexing depends on content and format, not organizational metadata.
    • E. Incorrect. Visual elements like cover color are irrelevant to text extraction. Indexing processes textual content, not visual styling.

    Domain 3: AI Agents

    Subdomain 3.2: Explain the components and benefits of hybrid reasoning, including how Agent Script functions in Canvas and Script View.

    12.What can a branch node do? (Choose two.)(Select 2)

    1. A.Offer a static menu of options to the user.
    2. B.Invoke an external API without configuration.
    3. C.Route to different nodes based on a condition.
    4. D.Evaluate a boolean and take one of two paths.
    5. E.Generate a dynamic AI response by itself.
    6. F.Immediately hand off to a live human agent.
    Show answer & explanation

    Correct answers: C, DRoute to different nodes based on a condition.; Evaluate a boolean and take one of two paths.

    • A. Incorrect. Branch nodes do not present static menus; that functionality is handled by a menu node or similar UI component.
    • B. Incorrect. Branch nodes cannot directly invoke external APIs; API calls are managed by dedicated action or integration nodes.
    • C. Correct. A branch node routes execution to different subsequent nodes based on conditions, enabling dynamic control flow in the agent script.
    • D. Correct. A branch node evaluates a boolean expression and follows either a true or false path, implementing conditional logic in the flow.
    • E. Incorrect. Dynamic AI responses are generated by AI or generative nodes, not by branch nodes, which are limited to decision-making.
    • F. Incorrect. Immediate handoff to a human agent is handled by a dedicated handoff or escalation node; branch nodes only decide routing, not execute transfers.

    Subdomain 3.2: Explain the components and benefits of hybrid reasoning, including how Agent Script functions in Canvas and Script View.

    13.What Script View feature enables collapsing branches?

    1. A.Inline prompts
    2. B.Collapsible code blocks
    3. C.Auto-layout
    4. D.Syntax highlighting
    Show answer & explanation

    Correct answer: BCollapsible code blocks

    • A. Incorrect. Inline prompts are used to embed guidance or instructions within the script, but they do not control whether branches can be collapsed. They aid readability and editing context, not structural folding.
    • B. Correct. Collapsible code blocks are the Script View feature that lets users expand or collapse branches, simplifying navigation and reducing visual clutter. This is especially useful in larger scripts with nested logic.
    • C. Incorrect. Auto-layout helps organize the visual arrangement of script elements, but it does not enable collapsing branches. It primarily arranges nodes in Canvas View, not Script View.
    • D. Incorrect. Syntax highlighting improves code readability by color-coding script elements, but it does not provide branch collapsing functionality. It is a formatting aid, not a structural navigation feature.

    Subdomain 3.1: Explain how an agent works and its basic building blocks of agent script.

    14.An agent script consists of several key elements. Which element is responsible for matching the user's input to a specific conversation path?

    1. A.Action
    2. B.Instruction
    3. C.Knowledge Base
    4. D.Topic
    Show answer & explanation

    Correct answer: DTopic

    • A. An Action performs a task or invokes a capability, but it does not decide which conversational path to follow. Actions are executed after the agent has identified the relevant flow, so they do not handle input matching.
    • B. An Instruction provides guidance on how the agent should behave or respond, but it does not map user input to a specific conversation path. The routing decision is handled by topics, not instructions alone.
    • C. A Knowledge Base contains information the agent can reference to answer questions, but it does not route the conversation to a path. It supports grounding responses, not matching intent to a flow.
    • D. A Topic matches user input to a specific conversation path based on intent or subject matter. Once matched, the agent follows the topic's associated flow, instructions, and actions, allowing for the appropriate conversational path.

    Subdomain 3.1: Explain how an agent works and its basic building blocks of agent script.

    15.An agent administrator notices the agent frequently fails to escalate to a human when customers express frustration. They want to add a rule: if a customer says 'I want to speak to a manager,' the agent should transfer immediately. Where should this rule be implemented?

    1. A.Create a Topic with phrases for manager requests and a transfer Action.
    2. B.Update the agent's Instructions to include a rule for manager transfer requests.
    3. C.Configure an Escalation Policy to detect frustration and route calls.
    4. D.Add a Knowledge Article that advises customers on how to request a manager.
    Show answer & explanation

    Correct answer: ACreate a Topic with phrases for manager requests and a transfer Action.

    • A. Correct. Topics in Agentforce are designed to detect specific customer intents or phrases (like 'I want to speak to a manager') and can trigger associated Actions, such as transferring to a human agent. This is the appropriate place to implement a rule that responds to a specific phrase with an immediate transfer.
    • B. Incorrect. While Agent Instructions define behavioral rules and guidelines for the agent, they are not the primary mechanism for detecting specific phrases and executing immediate actions like transfers. Instructions are better suited for general tone and behavior, not for conditional phrase-triggered actions.
    • C. Incorrect. An Escalation Policy is used to define broader conditions (e.g., unresolved cases, sentiment analysis) for routing or escalating, but it is not designed for specific phrase-based triggers like a direct request for a manager. Such a rule is better handled by a Topic.
    • D. Incorrect. Knowledge Articles provide informational content to customers or the agent, but they do not enforce transfer logic or trigger actions. They can advise on how to request a manager, but they cannot automatically execute the transfer.

    Subdomain 3.8: Given a scenario, identify when it's appropriate to use Agent API.

    16.Which of the following are best practices when using the Agent API?(Select 2)

    1. A.Send a session ID with each request to maintain conversation state.
    2. B.Use OAuth 2.0 for secure authentication and authorization when calling the Agent API.
    3. C.Store user credentials in the mobile app's local storage for faster access.
    4. D.Use a single API call for the entire conversation without session management.
    5. E.Embed the API key directly in the mobile app's source code.
    Show answer & explanation

    Correct answers: A, BSend a session ID with each request to maintain conversation state.; Use OAuth 2.0 for secure authentication and authorization when calling the Agent API.

    • A. Correct. The Agent API requires session management to maintain conversation context across multiple requests. Sending a session ID with each request preserves state and is considered a best practice for multi-turn interactions.
    • B. Correct. OAuth 2.0 is the recommended authentication and authorization method for Salesforce APIs, including the Agent API. It provides secure, scoped access and avoids exposing long-lived secrets.
    • C. Incorrect. Storing user credentials locally in a mobile app is insecure and violates security best practices. Credentials can be exposed if the device is compromised. Use OAuth tokens instead.
    • D. Incorrect. Agent interactions typically require state management across multiple requests. A single API call without session management is not feasible for maintaining conversation continuity.
    • E. Incorrect. Embedding an API key directly in source code is insecure, as the key can be extracted from the app. API keys should be securely managed, not hardcoded.

    Subdomain 3.8: Given a scenario, identify when it's appropriate to use Agent API.

    17.Which of the following scenarios would be appropriate for using the Agent API?(Select 2)

    1. A.The need for a fully customized user interface that matches the portal's design.
    2. B.The requirement to integrate the agent with other non-Salesforce systems.
    3. C.The preference to avoid writing any code or script, using only declarative tools.
    4. D.The plan to use only standard Salesforce Lightning pages for user interaction.
    5. E.The need for a one-time batch analysis of historical case data for reporting.
    Show answer & explanation

    Correct answers: A, BThe need for a fully customized user interface that matches the portal's design.; The requirement to integrate the agent with other non-Salesforce systems.

    • A. Correct. Agent API is appropriate when you need to embed agent capabilities into a fully customized user interface, such as a portal with its own design and interaction patterns. It provides programmatic flexibility to build and orchestrate the agent behavior outside of standard Salesforce UIs.
    • B. Correct. Agent API is well-suited for integrating agent functionality with external or non-Salesforce systems because it can be called from custom applications and services, enabling cross-platform agent interactions.
    • C. Incorrect. Agent API requires code or scripting to interact with agents. If the goal is to avoid code and use only declarative tools, alternatives like Flows or Agentforce Builder are more appropriate.
    • D. Incorrect. Standard Salesforce Lightning pages work with agents using declarative tools or out-of-the-box components. Agent API is unnecessary for this scenario, as it is designed for custom programmatic access, not standard page interaction.
    • E. Incorrect. One-time batch analysis of historical case data is a reporting or analytics task, best handled by tools like Salesforce Reports, Dashboards, or Einstein Analytics. Agent API is meant for interactive agent integrations, not offline batch processing.

    Subdomain 3.3: Given a use case, manage deterministic behavior for the agent using mechanisms like filters, variables, and template expressions.

    18.An agent needs to send a personalized email to a customer that includes the customer's name and order number. Which approach ensures the email text dynamically reflects these agent variables?

    1. A.Use a template expression in the email text to insert agent variables like customer name and order number.
    2. B.Build a Flow that concatenates strings from agent variables and passes the result to an email action.
    3. C.Create a formula field on the order record that generates the email text and reference it in the agent's email action.
    4. D.Configure the email action to reference a custom metadata type with tokens that are replaced at send time.
    Show answer & explanation

    Correct answer: AUse a template expression in the email text to insert agent variables like customer name and order number.

    • A. Correct. Template expressions in Agentforce allow you to dynamically insert agent variables (e.g., `{!customerName}`, `{!orderNumber}`) directly into email text, ensuring real-time data insertion and consistent content.
    • B. Incorrect. While Flows can concatenate strings, they are not the primary or recommended method for dynamically inserting agent variables into emails in Agentforce. Template expressions are more efficient for this use case.
    • C. Incorrect. Formula fields on records are static and cannot dynamically reference agent variables at runtime. They are not suitable for real-time email personalization in Agentforce.
    • D. Incorrect. Custom metadata types are useful for storing configuration data, but they are not the mechanism for token replacement at send time in an agent email action. Template expressions are the correct approach.

    Subdomain 3.3: Given a use case, manage deterministic behavior for the agent using mechanisms like filters, variables, and template expressions.

    19.How can an agent be configured to deterministically prevent sending follow-up emails on cases that are already closed?

    1. A.Add a filter on the follow-up email that checks if the case status variable is not equal to 'Closed'.
    2. B.Write a prompt reminder telling the agent not to send emails when the case is marked as closed.
    3. C.Manually disable the email action for each case when it reaches closed status.
    4. D.Create a separate email template with a blank body for use with closed cases.
    Show answer & explanation

    Correct answer: AAdd a filter on the follow-up email that checks if the case status variable is not equal to 'Closed'.

    • A. Correct. Adding a filter on the follow-up email action that checks the case status variable is a deterministic mechanism. It programmatically prevents the action from executing when the condition is false, ensuring the agent never sends a follow-up on closed cases without relying on interpretation.
    • B. Incorrect. A prompt reminder is not deterministic; it relies on the agent's LLM interpretation of the instruction, which may not consistently block the action. Filter-based or variable-based controls are preferred for deterministic behavior.
    • C. Incorrect. Manually disabling the email action is not scalable or automated. It requires human intervention each time a case closes, which is not a built-in agent mechanism like filters or variables.
    • D. Incorrect. A blank template does not prevent the email action from being executed. It may still send an empty email, and it is not a deterministic filter-based or variable-based control to block the action.

    Subdomain 3.4: Given a scenario, select and configure standard topics, custom topics, standard Agent actions, and custom Agent actions.

    20.Which method can an administrator use to include an additional action in a standard topic?

    1. A.In Agentforce Builder, edit the topic and add an action from the library.
    2. B.Copy the standard topic and then modify the duplicate to add the required action.
    3. C.Directly edit the Apex class that defines the topic in Salesforce Setup.
    4. D.Create a custom action and use it in a new custom topic, not a standard topic.
    Show answer & explanation

    Correct answer: BCopy the standard topic and then modify the duplicate to add the required action.

    • A. Incorrect. Standard topics in Agentforce are predefined and locked, so they cannot be directly edited in Agentforce Builder to add actions from the library. This is not a supported method.
    • B. Correct. Standard topics cannot be directly extended. The supported approach is to copy the standard topic, which creates a custom topic, and then modify the duplicate to add the required action. This preserves the original standard topic while allowing customization.
    • C. Incorrect. Standard topics are not defined by an Apex class that administrators can directly edit in Salesforce Setup. This is not the intended mechanism for modifying Agentforce topics.
    • D. Incorrect. While creating a custom action and using it in a new custom topic is a valid approach, it does not address the requirement of including an additional action in an existing standard topic. The question asks specifically about modifying a standard topic.

    Subdomain 3.4: Given a scenario, select and configure standard topics, custom topics, standard Agent actions, and custom Agent actions.

    21.During testing, an agent with an assigned Order Management topic consistently fails to respond to customer queries asking for order status updates. The topic is active and the agent understands other intents. What is the most likely configuration issue?

    1. A.The 'View Order' standard action is missing from the Order Management topic.
    2. B.The agent's user profile lacks field-level security to read Order object fields.
    3. C.The utterances used by the customer do not match the topic's defined examples.
    4. D.The Einstein model lacks training data for order-related conversations.
    Show answer & explanation

    Correct answer: AThe 'View Order' standard action is missing from the Order Management topic.

    • A. Correct. The 'View Order' standard action is required for the agent to retrieve order details and respond with status updates. Without this action configured on the Order Management topic, the agent can recognize the intent but cannot fulfill the request, even though the topic is active and other intents work.
    • B. Incorrect. Field-level security (FLS) affects data visibility but does not prevent the agent from recognizing or processing the intent. The agent would still attempt to respond, and the issue described is a topic configuration problem, not a permissions issue.
    • C. Incorrect. Since the topic is active and the agent understands other intents, the customer utterances are likely matching the topic's defined examples. The failure is in fulfillment, not intent recognition, so missing utterances are not the cause.
    • D. Incorrect. Standard topic behavior does not depend on Einstein training data; it relies on built-in actions and configured topics. The agent's ability to understand other intents indicates that the model is working, so a missing action is the more likely issue.

    Subdomain 3.5: Explain the process for connecting agents to various channels such as digital experience, email, voice, and Slack.

    22.An organization wants to add a pre-chat form to their Agentforce chat on their Experience Cloud site to collect contact details before the chat begins. Which component should they configure?

    1. A.The Chat Button in Embedded Service setup
    2. B.The Pre-Chat Page Layout in Salesforce Setup
    3. C.The Community Builder component for Chat
    4. D.The Live Agent Configuration in Omni-Channel
    Show answer & explanation

    Correct answer: BThe Pre-Chat Page Layout in Salesforce Setup

    • A. Incorrect. The Chat Button in Embedded Service setup controls how the chat launcher appears and behaves, but it does not define the pre-chat form fields. Pre-chat data collection is configured separately from the button.
    • B. Correct. The Pre-Chat Page Layout in Salesforce Setup is used to define the fields and layout shown to the user before a chat starts. This component allows administrators to collect contact details ahead of the conversation, and it applies to Agentforce chat on Experience Cloud sites.
    • C. Incorrect. The Community Builder component for Chat is used to place or manage the chat widget on an Experience Cloud site, but it does not configure the pre-chat form fields. The form configuration is handled in the chat setup, not the page builder.
    • D. Incorrect. The Live Agent Configuration in Omni-Channel handles routing and agent availability, not the pre-chat form design. It helps manage chat delivery but does not define the pre-chat data entry experience.

    Subdomain 3.5: Explain the process for connecting agents to various channels such as digital experience, email, voice, and Slack.

    23.An administrator wants to be able to view reports on how many chats each agent handled versus emails. Where can they access these channel-specific metrics?

    1. A.The Omni-Channel Supervisor Dashboard
    2. B.The Agentforce Analytics app from AppExchange
    3. C.Standard Salesforce Reports on Agent Activity
    4. D.The Service Console Performance tab in Setup
    Show answer & explanation

    Correct answer: AThe Omni-Channel Supervisor Dashboard

    • A. Correct. The Omni-Channel Supervisor Dashboard natively provides real-time and historical metrics for agents across channels, including chat and email. It allows administrators to view workload distribution and performance breakdowns by channel, making it the appropriate tool for comparing chats versus emails per agent.
    • B. Incorrect. While the Agentforce Analytics app from AppExchange can offer additional analytics, it is not the standard, built-in tool for accessing channel-specific metrics in Salesforce. The primary location for such reports is the Omni-Channel Supervisor Dashboard.
    • C. Incorrect. Standard Salesforce Reports on Agent Activity are too generic and do not natively provide the channel-level breakdown needed to compare chats versus emails handled by each agent without significant customization.
    • D. Incorrect. The Service Console Performance tab in Setup is used for monitoring the performance and configuration of the Service Console itself, not for tracking agent-level channel metrics like chat and email counts.

    Domain 4: Testing, Deployment, & Maintenance

    Subdomain 4.1: Given a scenario, test an agent using Testing Center.

    24.After running test cases in Testing Center, many test cases fail. What should you do next?

    1. A.Expand the test plan by adding more test cases to cover a wider range of scenarios.
    2. B.Review failed test case transcripts to identify gaps and update knowledge articles or topics.
    3. C.Re-run the test plan multiple times to determine if the failures are intermittent or consistent.
    4. D.Modify the expected outcomes in the test cases to align with the agent's actual responses.
    Show answer & explanation

    Correct answer: BReview failed test case transcripts to identify gaps and update knowledge articles or topics.

    • A. Incorrect. Adding more test cases can improve coverage, but it does not directly address why the current test cases are failing. The immediate next step should be to analyze the failures and understand the root cause.
    • B. Correct. Reviewing failed test case transcripts helps identify where the agent misunderstood the request, lacked knowledge, or chose the wrong action. Based on those insights, you can update knowledge articles, topics, or other configuration to improve performance.
    • C. Incorrect. Re-running tests can help confirm whether a failure is consistent, but it does not solve the underlying issue. It is useful as a diagnostic check, not the primary corrective action after failures are observed.
    • D. Incorrect. Changing expected outcomes to match the agent's current behavior may hide real defects instead of fixing them. Test cases should validate desired behavior, so expectations should only be updated if the intended behavior truly changed.

    Subdomain 4.2: Explain how Testing Center evaluations work.

    25.Which metric represents the proportion of actual positives that were correctly identified by the agent?

    1. A.Precision, which measures exactness of predictions.
    2. B.Recall, which measures completeness of predictions.
    3. C.F1 score, which balances precision and recall.
    4. D.Accuracy, which measures overall prediction correctness.
    Show answer & explanation

    Correct answer: BRecall, which measures completeness of predictions.

    • A. Incorrect. Precision measures the proportion of positive identifications that were actually correct (true positives / (true positives + false positives)). It focuses on the exactness of positive predictions, not the proportion of actual positives identified.
    • B. Correct. Recall (also called sensitivity or true positive rate) measures the proportion of actual positives that were correctly identified by the agent (true positives / (true positives + false negatives)). It reflects the completeness of capturing relevant cases.
    • C. Incorrect. The F1 score is the harmonic mean of precision and recall, balancing both metrics, but it does not directly measure the proportion of actual positives identified.
    • D. Incorrect. Accuracy measures the overall proportion of correct predictions across all classes (correct predictions / total predictions), not specifically the identification of actual positives. It can be misleading when classes are imbalanced.

    Subdomain 4.2: Explain how Testing Center evaluations work.

    26.Which three evaluation types are available in Testing Center? (Choose three.)(Select 3)

    1. A.Single-turn evaluation
    2. B.Multi-turn evaluation
    3. C.A/B testing evaluation
    4. D.Real-time monitoring evaluation
    5. E.Batch evaluation
    6. F.Shadow deployment evaluation
    Show answer & explanation

    Correct answers: A, B, ESingle-turn evaluation; Multi-turn evaluation; Batch evaluation

    • A. Single-turn evaluation is a valid Testing Center evaluation type used to test individual interactions against expected outputs.
    • B. Multi-turn evaluation is a valid Testing Center evaluation type used to test conversational flows across multiple exchanges, assessing context retention and appropriate responses.
    • C. A/B testing evaluation is not a standard Testing Center evaluation type; it is a broader experimentation pattern typically used for comparing features or models.
    • D. Real-time monitoring evaluation is not a Testing Center evaluation type; it belongs to operational observability and deployment monitoring.
    • E. Batch evaluation is a valid Testing Center evaluation type used to assess multiple test cases at scale efficiently.
    • F. Shadow deployment evaluation is not a Testing Center evaluation type; it refers to a deployment strategy, not an evaluation method.

    Subdomain 4.4: Identify the considerations for deploying a template from sandbox to production.

    27.A developer has created an Agentforce template in a sandbox and wants to deploy it to the production org. Which deployment method requires a connection between the sandbox and production orgs?

    1. A.Change sets
    2. B.Metadata API
    3. C.Unmanaged packages
    4. D.Managed packages
    Show answer & explanation

    Correct answer: AChange sets

    • A. Correct. Change sets require a deployment connection between the source (sandbox) and target (production) orgs, established via the Salesforce UI, relying on a trust relationship.
    • B. Incorrect. The Metadata API does not inherently require a direct org-to-org connection; it can be used via tools like Workbench, CLI, or CI/CD pipelines that authenticate to each org separately.
    • C. Incorrect. Unmanaged packages are uploaded to the source org and installed in the target org via a URL or package ID, without requiring a direct connection between the two orgs.
    • D. Incorrect. Managed packages are distributed via AppExchange or a direct install link, and do not require a direct connection between sandbox and production orgs.

    Subdomain 4.4: Identify the considerations for deploying a template from sandbox to production.

    28.What is the primary benefit of using change sets over the Metadata API for deploying simple configuration changes like an Agentforce template from sandbox to production?

    1. A.Change sets provide a declarative interface for selecting components to deploy.
    2. B.Change sets allow deployment of larger file sizes than the Metadata API.
    3. C.Change sets can deploy to multiple orgs simultaneously.
    4. D.Change sets automatically resolve all component dependencies.
    Show answer & explanation

    Correct answer: AChange sets provide a declarative interface for selecting components to deploy.

    • A. Correct. Change sets provide a declarative, point-and-click interface within the Salesforce UI, allowing administrators to select and deploy components without writing code or using external tools. This makes change sets ideal for simple configuration changes like Agentforce templates, whereas the Metadata API requires scripting and is more technical.
    • B. Incorrect. Change sets have file size limitations (e.g., 39 MB for most components) that are typically smaller than what the Metadata API can handle. The Metadata API is more suitable for larger deployments, and change sets are not designed for larger file sizes.
    • C. Incorrect. Change sets are designed for deployment between two connected orgs and can only deploy to a single target org at a time. The Metadata API, when used with tools like Salesforce CLI or CI/CD pipelines, can deploy to multiple orgs simultaneously.
    • D. Incorrect. Change sets do not automatically resolve all dependencies. While Salesforce may identify some related components, administrators must manually review and include all required dependencies (e.g., custom fields, objects) in the change set to avoid deployment errors.

    Domain 5: Governance & Observability

    Subdomain 5.1: Explain the process for managing and monitoring agents.

    29.Which feature enables tracking of agent utilization and conversation outcomes over a fiscal quarter?

    1. A.Agent Performance Dashboard
    2. B.Agent Builder analytics
    3. C.Conversation Transcript Logs
    4. D.Field Service Settings
    Show answer & explanation

    Correct answer: AAgent Performance Dashboard

    • A. Correct. The Agent Performance Dashboard provides aggregated metrics and insights into agent utilization, conversation outcomes, and performance trends over defined time periods, including fiscal quarters. It is designed for high-level monitoring and governance.
    • B. Incorrect. Agent Builder analytics focus on the development, configuration, and deployment of agents, not on tracking utilization or conversation outcomes over time.
    • C. Incorrect. Conversation Transcript Logs store individual conversation details for review and troubleshooting, but they do not aggregate or track utilization or outcomes across a fiscal quarter in a dashboard format.
    • D. Incorrect. Field Service Settings are used for configuring field service operations and are unrelated to agent performance tracking or analytics.

    Subdomain 5.1: Explain the process for managing and monitoring agents.

    30.To optimize agent performance, the team wants to analyze peak usage times and conversation duration patterns. What should they use?

    1. A.Agent Analytics in the Analytics Studio with pre-built dashboards.
    2. B.A custom Report Type on the Conversation object in Reports.
    3. C.The Agent Logs exported to an external business intelligence tool.
    4. D.The real-time monitor on the Agentforce Console home page.
    Show answer & explanation

    Correct answer: AAgent Analytics in the Analytics Studio with pre-built dashboards.

    • A. Correct. Agent Analytics in Analytics Studio provides pre-built dashboards specifically designed to analyze agent performance metrics, including peak usage times and conversation duration patterns. It offers out-of-the-box visualizations for trend analysis without requiring custom builds.
    • B. Incorrect. While a custom Report Type on the Conversation object can provide basic data, it lacks the pre-built analytics and visualizations needed for quick, comprehensive analysis of usage patterns. Agent Analytics is the more appropriate tool for this purpose.
    • C. Incorrect. Exporting Agent Logs to an external BI tool requires additional setup, data movement, and custom modeling. The built-in Agent Analytics offers immediate, pre-built insights for analyzing usage trends and conversation durations.
    • D. Incorrect. The real-time monitor on the Agentforce Console home page is useful for live operational visibility, but it does not provide historical trend analysis needed to identify peak usage times and conversation duration patterns.

    Subdomain 5.2: Explain agent analytics and agent optimization

    31.An agent is underperforming with slow response times and low user satisfaction. Which action best supports agent optimization?

    1. A.Revert immediately to the previous agent version
    2. B.Analyze dialog flows to find inefficiencies and optimize paths
    3. C.Increase the confidence threshold to reduce response time
    4. D.Disable the agent during peak hours to study behavior
    Show answer & explanation

    Correct answer: BAnalyze dialog flows to find inefficiencies and optimize paths

    • A. Reverting to a previous version may stop the issue temporarily but does not address the root cause of poor performance. Agent optimization requires understanding the current design's friction points rather than rolling back without analysis.
    • B. Analyzing dialog flows helps identify where users get stuck or where unnecessary steps exist. Optimizing conversation paths directly improves agent efficiency and overall performance, making this the most effective action.
    • C. Increasing the confidence threshold may reduce low-confidence actions but does not inherently optimize the conversation path or improve dialog design. It can also increase 'I don't know' responses and reduce responsiveness, negatively impacting user experience.
    • D. Disabling the agent during peak hours prevents observation under real demand and does not help optimize behavior. The goal is to analyze performance and refine the experience, not to avoid using the agent during busy times.

    Subdomain 5.2: Explain agent analytics and agent optimization

    32.Which actions are common optimization practices when analyzing agent performance metrics and user feedback?(Select 4)

    1. A.Retrain the NLU model using recent conversation logs
    2. B.Increase the confidence threshold to reduce misclassification
    3. C.Review user feedback to identify common pain points
    4. D.Add only synonyms to intents without changing dialog flows
    5. E.Adjust dialog flows to be more empathetic and accurate
    6. F.Reduce the number of intents to make classification simpler
    Show answer & explanation

    Correct answers: A, B, C, ERetrain the NLU model using recent conversation logs; Increase the confidence threshold to reduce misclassification; Review user feedback to identify common pain points; Adjust dialog flows to be more empathetic and accurate

    • A. Retraining the NLU model with recent conversation logs helps the agent adapt to new language patterns and improve intent recognition, a standard optimization based on analytics.
    • B. Increasing the confidence threshold reduces misclassification by acting only on high-confidence predictions, improving accuracy. However, it should be balanced to avoid excessive fallbacks.
    • C. Reviewing user feedback is a key practice to identify recurring issues and pain points, enabling targeted improvements to intents, dialogs, and overall agent performance.
    • D. Simply adding synonyms without adjusting dialog flows does not address underlying conversation logic or user experience issues. It is an incomplete optimization.
    • E. Adjusting dialog flows to be more empathetic and accurate directly improves user satisfaction and resolution rates, making it a valid optimization based on feedback and analytics.
    • F. Reducing the number of intents can oversimplify the agent's capabilities, potentially harming performance on diverse queries. It is not generally recommended as a primary optimization.

    Domain 6: Multi-Agent Orchestration

    Subdomain 6.1: Given a scenario, determine whether a Single-Agent (SOMA) architecture is appropriate for scalability and control.

    33.Given a scenario, determine whether a Single-Agent (SOMA) architecture is appropriate for scalability and control.

    1. A.SOMA easily scales because it consolidates processing and avoids coordination overhead.
    2. B.SOMA’s single-agent approach cannot scale across diverse, high-volume business functions.
    3. C.SOMA is the best option because it maintains strict control and consistent outputs.
    4. D.SOMA can handle the required scale by deploying the agent on powerful infrastructure.
    Show answer & explanation

    Correct answer: BSOMA’s single-agent approach cannot scale across diverse, high-volume business functions.

    • A. Incorrect. While a single-agent design reduces coordination overhead, consolidation does not inherently enable easy scaling. The centralized nature becomes a bottleneck as task diversity and volume increase, limiting scalability despite the reduction in overhead.
    • B. Correct. A SOMA architecture is generally unsuitable for diverse, high-volume business functions because the single agent cannot distribute work across specialized agents or services. Its centralized design becomes a performance constraint and scalability bottleneck.
    • C. Incorrect. SOMA does offer strict control and consistent outputs, but this does not make it the best option for scalability. In scenarios requiring broad scale and varied functions, the single-agent approach is likely to struggle, and other architectures may be more appropriate.
    • D. Incorrect. Deploying SOMA on powerful infrastructure can improve performance, but it does not resolve the fundamental architectural limitation of a single point of execution. Scaling by brute force still leaves the system vulnerable to bottlenecks and does not address the need for specialization in high-volume, diverse tasks.

    Subdomain 6.2: Explain the purpose of existing open standard multi-agent protocols such as MCP and A2A.

    34.Which statement accurately describes how agent discovery is handled by the MCP and A2A protocols?

    1. A.MCP maintains a distributed directory of agent functions for skill queries.
    2. B.A2A facilitates direct messaging for capability exchange during initial handshake.
    3. C.Both protocols support discovery: MCP handles registration and A2A manages authentication.
    4. D.Discovery is outside the scope of these protocols; a separate orchestrator is needed.
    Show answer & explanation

    Correct answer: BA2A facilitates direct messaging for capability exchange during initial handshake.

    • A. Incorrect. MCP (Model Context Protocol) does not maintain a distributed directory of agent functions. It is a client-server protocol for connecting models to tools and context sources, not a directory service for agent skills.
    • B. Correct. A2A (Agent-to-Agent) protocol is designed for direct communication between agents, including exchanging capability details during the handshake process. This enables agents to discover whether another agent can perform a required task.
    • C. Incorrect. While both protocols support discovery, the description of roles is inaccurate. MCP discovers tools/resources but does not act as a registration directory, and A2A focuses on capability exchange, not authentication management.
    • D. Incorrect. Discovery is within the scope of both protocols. MCP includes tool and resource discovery, and A2A supports capability discovery between agents, so a separate orchestration layer is not strictly required for discovery.

    Subdomain 6.2: Explain the purpose of existing open standard multi-agent protocols such as MCP and A2A.

    35.Identify the purposes of open standard multi-agent protocols such as MCP and A2A.(Select 3)

    1. A.Enables agents from different vendors to interoperate without custom integrations.
    2. B.Improves scalability by supporting decentralized agent communication and coordination.
    3. C.Reduces integration effort by leveraging standardized messaging and discovery mechanisms.
    4. D.Guarantees low-latency responses through protocol-level quality of service enforcement.
    5. E.Ensures automatic adherence to global data residency and privacy regulations.
    6. F.Provides built-in negotiation templates to streamline complex multi-agent transactions.
    Show answer & explanation

    Correct answers: A, B, CEnables agents from different vendors to interoperate without custom integrations.; Improves scalability by supporting decentralized agent communication and coordination.; Reduces integration effort by leveraging standardized messaging and discovery mechanisms.

    • A. Correct. Open standard multi-agent protocols like MCP and A2A are designed to enable interoperability between agents from different vendors, eliminating the need for custom point-to-point integrations. This is a core goal of such standards.
    • B. Correct. These protocols support decentralized communication and coordination patterns, which improves scalability by allowing agents to operate independently and coordinate directly without relying on a single central orchestrator.
    • C. Correct. Standardized messaging, tool access, and discovery mechanisms reduce the engineering effort needed to connect agents and services. Using a common protocol avoids repeated custom integration work.
    • D. Incorrect. While protocols may aim for efficiency, they do not inherently guarantee low-latency responses or enforce quality of service at the protocol level. Performance depends on implementation, network, and infrastructure.
    • E. Incorrect. Open standard protocols do not automatically ensure adherence to global data residency and privacy regulations. Compliance is typically handled at the implementation or governance layer, not by the protocol itself.
    • F. Incorrect. Built-in negotiation templates for complex business transactions are not a standard feature of MCP or A2A. Such workflows are usually implemented by the application or orchestration layer.

    Want the full experience?

    These are just samples. Practice the full Salesforce Certified Agentforce Specialist (AI-201) question bank in quiz mode — free, no signup, with domain practice and exam simulation.