SALESFORCE AGENTFORCE

salesforce agentforce Practice Questions & Answers (Set 14) | CodeWme

📝 Instructions: Read the hint to know if you need to select one or multiple options.

#1 Cloud Kicks (CK) in launching a new partner portel on Experience Cloud. CK wants to provide partners with an agent that sam answer questions about product specifications from the knowledge base and allow them to submit a new Lesd for a potentia customer they've identified. The agent must be accessible only to authenticated partner users on the portal. Which agent type is required to meet this scenario? Select 1

A. Service Agent
B. Sales Agent
C. Commerce Agent

✅ Answer: Sales Agent


Explanation:
Sales Agents are specifically pre-configured with topics and actions related to Leads, Opportunities, and Pipeline generation, making them the correct choice for partners needing to submit new Leads.

#2 Universal Containers (UC) is implementing Agentforce Service Agent on Email. UC made an email template and now needs to connect it to a Service Agent. What should an Agentforce Specialist recommend? Select 1

A. Create an Email Configuration for the Service Agent.
B. Create an Omni-Channel flow to point to an email template.
C. No action needed; the Service Agent connects automatically.

✅ Answer: Create an Email Configuration for the Service Agent.


Explanation:
To enable an Agentforce Service Agent to utilize a specific email template for drafting or sending responses, an Email Configuration must be created to map the agent to the template.

#3 Universal Containers wants to test agents while preserving real datis and isolating from production. Which environment should the company use with Testing Center? Select 1

A. Use personal developer orgs unrepresentative of production data.
B. Use production org directly with test assertions.
C. Use sandbox environments replicated from production for safe testing.

✅ Answer: Use sandbox environments replicated from production for safe testing.


Explanation:
Sandbox environments (Full or Partial Copy) provide safe testing grounds with replicated production data without risking the live production environment.

#4 Universal Containers wants to assign agents to improve department efficiency. Which configuration ensures the right tasks are handled by the right agents? Select 1

A. SDR Agent for lead qualification, Service Agent for support tickets, Employee Agent for HR requests
B. One Service Agent to efficiently handle each of these scenarios, which reduces the number of agent types needed for support
C. Sales Coach Agent for lead and service Agent for HR requests, and Support tickets to ensure cases are available

✅ Answer: SDR Agent for lead qualification, Service Agent for support tickets, Employee Agent for HR requests


Explanation:
Specialized agents are pre-configured for specific roles: SDR Agents for sales/leads, Service Agents for support/cases, and Employee Agents for internal HR/IT requests.

#5 An Agentforce Specialist is assisting Universal Containers with troubleshooting an agent. The Agentforce Specialist notices that the agent is not using topic actions in the desired sequence, causing inconsistent outcomes. Which technique should the Agentforce Specialist recommend to ensure deterministic control over the order in which actions are executed? Select 1

A. Specify the large language model (LLM) provider and version.
B. Specify the order of actions.
C. Specify custon variables and filters.

✅ Answer: Specify custon variables and filters.


Explanation:
To enforce a deterministic sequence, custom variables track state (e.g., Step 1 Complete), and conditional filters prevent subsequent actions from running until those variables are set.

#6 Universal Containers has PDF maintenance guides in an external folder, not yet in Salesforce. The team wants a standard, slicka-only setup for the Service Agent to use these documents. Which approach should the Agentforce Specialist implement? Select 1

A. Configure Data Cloud to ingest file attachments and create custom index and retriever for product record and attachment data.
B. Paste external PDF links into topic instructions and rely on the model to follow them, avoiding configuration of a retrieval source, index, or retriever action.
C. Upload the PDFs as File source in the Agentforce Data Library which will build a Search Index, and create a retriever to ground responses from those documents.

✅ Answer: Upload the PDFs as File source in the Agentforce Data Library which will build a Search Index, and create a retriever to ground responses from those documents.


Explanation:
The Agentforce Data Library allows for a 'clicks-only' upload of files, automatically handling indexing and vector search creation without complex Data Cloud manual configuration.

#7 After an agent selects a topic, what is en important factor the reasoning engine uses to select the action? Select 1

A. The explicit order of actions in the topic
B. The priority given to each action
C. The name and instructions of the actions

✅ Answer: The name and instructions of the actions


Explanation:
The reasoning engine uses semantic similarity to match the user's intent against the Action Name and Instructions to determine the best tool to use.

#8 What is a key benefit of the Agent-to-Agent (A2A) protocol? Select 1

A. Allows auto-onboard third-party agents without additional contracts, trust scores, or shared identity controls
B. Provides a standardized framework for cross-vendor agent discovery and communication
C. Provides a standardized runtime engine for internal agent discovery and communication

✅ Answer: Provides a standardized framework for cross-vendor agent discovery and communication


Explanation:
The A2A protocol provides an open standard for agents to discover and communicate with other agents across different platforms and vendors.

#9 Coral Cloud Resorts wants to handle frequent customer misspellings of package names in queries. Which approach should the Agentforce Specialist implement? Select 1

A. Keyword search
B. Vector search
C. Hybrid search

✅ Answer: Hybrid search


Explanation:
Hybrid search combines Keyword search (precision) and Vector search (semantic/fuzzy matching) to effectively handle misspellings while maintaining accuracy.

#10 An Agentforce Specialist wants to ensure their custom agent action performs as expected in conversations. What should the Agentforce Specialist focus on when creating action instructions? Select 1

A. Write concise agent action instructions and test in Agentforce Builder.
B. Ensure the agent action label matches the utterance's intent.
C. Include comprehensive detailed descriptions and perform smoke testing.

✅ Answer: Write concise agent action instructions and test in Agentforce Builder.


Explanation:
Action instructions should be concise (1-3 sentences) to guide the LLM effectively. Testing in Agentforce Builder (Plan Tracer) verifies if the instruction triggers the correct action.

#11 Coral Cloud Resorts wants visibility into credit usage associated with testing Which feature supports this? Select 1

A. Testing Center
B. Agentforce Analytics
C. Digital Wallet

✅ Answer: Digital Wallet


Explanation:
The Digital Wallet is the centralized tool for monitoring consumption of Flex Credits for Agentforce and Data Cloud, including usage in Sandboxes.

#12 Universal Containers is setting up the data library configuration within the Agentforce Builder. What is true regarding Agentforce Data Libraries? Select 1

A. An agent can have only one data library assigned to it.
B. Only data library owners can assign it to the agent.
C. Each data category can only have one data library.

✅ Answer: An agent can have only one data library assigned to it.


Explanation:
Salesforce enforces a one-to-one relationship between an Agent and its Data Library to ensure focused retrieval, though that library can contain multiple data sources.

#13 The Agentforce Specialist for Coral Cloud Resorts wants to create an agent that will autornate the resolution of e large portion of guest complaints related to their vacation experiences. The agent will be able to offer upgrades, hotet credit, end other complimentary options. The agent will also be in charge of escalating the case to a human when a guest has suffered a major disruption (such as cancellation). Following Salesforce best practices, which type of agent should the Agentforce Specialist crests? Select 1

A. Custom Agent with a Flex prompt template
B. Sales Agent with a Flex prompt template
C. Service Agent with a Flex prompt template

✅ Answer: Service Agent with a Flex prompt template


Explanation:
The Service Agent is designed for complaint resolution and escalation. Flex prompt templates provide the necessary logic to generate custom compensation offers.

#14 Universal Containers has set up a Service Agent to allow customers to look up their order status. The topic setup nude Name: Order Inquiry Classification Description: Handles user requests to look up order status, including tracking details and delivery orders placed within the last 90 days. Scope: Your job is only to assist authenticated users in looking up the status of their orders placed within the last 90 days if the order is pending delivery, provide the tracking number and estimated delivery date. Do not handle inquiries for orders older than 90 days. Which information will be used by the Agentforce reasoning engine to choose this topic? Select 1

A. Topic Name and Scope
B. Classification Description and Scope
C. Topic Name and Classification Description

✅ Answer: Topic Name and Classification Description


Explanation:
The reasoning engine uses the Topic Name and Classification Description to semantically match the user's utterance to the topic. Scope is used after selection.

#15 Universal Containers (UC) has a library of custom-built personalised investment portfolio Alts, end is plerining to extend it to agents. Which method should UC's agent choose to dynamically use the best API service? Select 1

A. MuleSoft connector for custom hosted processes
B. Model Context Protocol (MCP) server support
C. Agent-to-Agent (A2A) protocol support

✅ Answer: Model Context Protocol (MCP) server support


Explanation:
MCP allows agents to dynamically discover and connect to external tools and services (like custom investment algorithms) without rigid point-to-point integrations.

#16 A business stakeholder wants to use Al to generate a summary based on Data Cloud deta Which method(s) should the stakeholder use to access Data Cloud data from Prompt Bulider? Select 1

A. Using only external APIs to import Data Cloud data into Prompt Builder
B. Using Data Cloud related lists and fetching Data Cloud data using prompt-initiated flows
C. Accessing data model objects (DMOs) directly in Flex templates, using Data Cloud related lists, and fetching Data Cloud data using prompt-initiated flows

✅ Answer: Accessing data model objects (DMOs) directly in Flex templates, using Data Cloud related lists, and fetching Data Cloud data using prompt-initiated flows


Explanation:
Prompt Builder supports accessing Data Cloud via direct DMO references in Flex templates, related lists, and Flow-based retrieval.

#17 Universal Containers (UC) is using related list merge fields in a prompt template associated with an Account ubjects Promet Builder. What should UC consider? Select 1

A. If person accounts have been enabled, merge fields will not be available for the Account object.
B. The Activities related list on the Account object is not supported because it is a polymorphic field.
C. Prompt generation will yield no response when there is no related list associated with an Account in runtime.

✅ Answer: The Activities related list on the Account object is not supported because it is a polymorphic field.


Explanation:
Polymorphic fields like Activities (Tasks/Events) cannot be used directly as related list merge fields in Prompt Builder; a Flow must be used instead.

#18 An Agentforce Specialist turned on finstein Generative Al in Setup. Now, the Agentforce fipecialist wound the to create cutt prompt templates in Prompt Bullder. However, they cannot access Prompt Builder in the Setup mema What is causing the problem? Select 1

A. The large language model (LL.M) was not configured correctly in Data Cloud.
B. The Prompt Template Manager permission set was not assigned correctly.
C. The Prompt Template User permission set was not assigned correctly.

✅ Answer: The Prompt Template Manager permission set was not assigned correctly.


Explanation:
The 'Prompt Template Manager' permission set is required to access the Prompt Builder configuration interface in Setup.

#19 Universal Containere (UC) recently added a custom flow for processing returns and created a new agent action. What should UC do to ensure the Agentforce Service Agent can run this new flow as part of the new agent action? Select 1

A. Assign the Manage Users permission to the Agentforce Agent user.
B. Assign the Run Flows permission to the Agentforce Agent user.
C. Recreate the flow using the Agentforce Agent user.

✅ Answer: Assign the Run Flows permission to the Agentforce Agent user.


Explanation:
The Agent's system user (e.g., EinsteinServiceAgent) requires the 'Run Flows' permission to execute Flow-based actions.

#20 Cloud Kicks (CK) recently finished the development of a new prompt template that uses its own large language mode(LLM). CE is deploying a prompt template from a sandbox to a production org, and is receiving an error, When trying to deploy the change vet, CK is getting an error related to the LLM used in the prompt template. What is the cause of the error? Select 1

A. BYOLLM is not yet supported for in prompt templates in production.
B. The prompt does not specify that it is a custom LLM.
C. The name of the LLM does not match in sandbox and production.

✅ Answer: The name of the LLM does not match in sandbox and production.


Explanation:
The Model Configuration (API Name) referenced in the prompt template must exist and match exactly in the target (Production) environment.