SALESFORCE AGENTFORCE

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

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

#1 Universal Containers (UC) wants to ensure its compliance team can perform exact term matching in a structured legal document library. Which search type should UC implement? Select 1

A. Use hybrid search to blend keyword and semantic search
B. Use keyword search for exact term matching in structured fields
C. Use semantic search to interpret synonyms of clauses

✅ Answer: Use keyword search for exact term matching in structured fields


Explanation:
Keyword search is deterministic and ideal for exact matches (like legal codes or IDs), whereas semantic search is probabilistic and better for intent/meaning.

#2 Universal Containers (UC) needs to create a prompt template that provides a detailed product description based on the product data. Which prompt template type should UC use? Select 1

A. Sales Email
B. Record Summary
C. Field Generation

✅ Answer: Field Generation


Explanation:
Field Generation templates are designed to use GenAI to write content for a single specific field (like a description) based on record data.

#3 A generic company is about to start testing its concierge agent. Which metrics should be captured to monitor performance? Select 1

A. Response times, accuracy and relevance of answers, and resolution success
B. Response performance, tone, and CSATS
C. Agent performance, token usage, and conversation duration

✅ Answer: Response times, accuracy and relevance of answers, and resolution success


Explanation:
Effective AI evaluation requires monitoring Efficiency (Response Times), Quality (Accuracy/Relevance), and Outcome (Resolution Success).

#4 What is the use of Model Context Protocol (MCP)? Select 1

A. A legal assistant agent using MCP to dynamically find documents
B. A customer service agent engaging another agent in real-time conversations
C. A sales agent discovering other agents' capabilities using Agent Cards

✅ Answer: A legal assistant agent using MCP to dynamically find documents


Explanation:
MCP is an open standard that allows AI agents to securely connect to external data (reading resources like documents) and tools.

#5 An Agentforce Specialist is building a Flex prompt template. Which best practice should they follow? Select 1

A. Provide the large language model (LLM) with context examples
B. Ground the large language model (LLM) with account data to contextualize the response
C. Ground the large language model (LLM) with a response

✅ Answer: Ground the large language model (LLM) with account data to contextualize the response


Explanation:
Grounding with specific record data (like Account info) is critical to ensuring the LLM generates relevant, personalized responses.

#6 An Agentforce Specialist needs to enable the use of templates that have already been created. Which permission step is required? Select 1

A. Assign the Prompt Template User permission set
B. Assign the Prompt Template Manager permission set
C. Assign the Data Cloud Admin permissions

✅ Answer: Assign the Prompt Template User permission set


Explanation:
The 'Prompt Template User' permission set allows end-users to execute/run templates. 'Manager' is for building them.

#7 Universal Containers has PDF maintenance guides in an external folder and wants the Service Agent to use them. Which approach should be implemented? Select 1

A. Upload the PDFs as File source in the Agentforce Data Library
B. Configure Data Cloud to ingest file attachments and create a search index
C. Paste external PDF links into topic instructions

✅ Answer: Configure Data Cloud to ingest file attachments and create a search index


Explanation:
For external unstructured data, best practice is to ingest it into Data Cloud (UDLO), chunk/vectorize it, and create a search index for retrieval.

#8 Universal Containers' service team wants to customize the standard case summary. What should the Agentforce Specialist do? Select 1

A. Create a custom Record Summary prompt template for the Case object
B. Summarize the Case with a standard agent action
C. Customize the standard Record Summary template for the Case object

✅ Answer: Create a custom Record Summary prompt template for the Case object


Explanation:
Standard prompt templates are read-only. To customize the output, you must create a new (custom) template, often by cloning the standard one.

#9 Universal Containers (UC) has a new AI project. What should UC consider when adding a related list on the Account object to be used in a prompt? Select 1

A. Prompt Builder must be used to assign the fields
B. The fields for the related list are based on the default page layout
C. After selecting a related list from the Account, use the field picker to select fields

✅ Answer: After selecting a related list from the Account, use the field picker to select fields


Explanation:
Due to context window limits, Prompt Builder requires explicitly selecting specific fields from related lists using the field picker.

#10 Which two specific fields does the Agentforce Reasoning Engine primarily evaluate to determine which Topic to select for a user's request? (Select 2) Select all that apply

A. Topic Name
B. Classification Description
C. Scope
D. Instructions
E. User Permission Set

✅ Answer: Classification Description, Scope


Explanation:
The Reasoning Engine uses the Classification Description to understand the intent/purpose of the topic and the Scope to understand the operational boundaries. Topic Name is primarily for organization.

#11 Universal Containers has created a custom action referencing a Flow, but the Agent repeatedly fails to select it even when the user asks specifically for it. What is the most likely root cause? Select 1

A. The Flow is not active.
B. The Action Instructions are ambiguous or overlap with another action.
C. The User does not have the 'Run Flows' permission.
D. The Agentforce Trust Layer is blocking the request.

✅ Answer: The Action Instructions are ambiguous or overlap with another action.


Explanation:
The Semantic Planner relies heavily on clear, distinct instructions to map user utterances to actions. Ambiguity or overlap with other instructions often causes selection failure.

#12 Which Prompt Builder template type is best suited for a scenario where you need to populate a single 'Case Summary' rich text field on a record page using generative AI? Select 1

A. Flex Template
B. Field Generation Template
C. Record Summary Template
D. Email Generation Template

✅ Answer: Field Generation Template


Explanation:
Field Generation templates are specifically designed to output data into a single field on a Lightning Record Page.

#13 An Agentforce Specialist needs to ground an agent's responses using a library of PDF product manuals and unstructured policy documents. Which feature should be used? Select 1

A. Data Cloud Retriever
B. Agentforce Data Library
C. Knowledge Article Actions
D. Prompt Builder Flex Template

✅ Answer: Agentforce Data Library


Explanation:
Agentforce Data Libraries allow you to index and search unstructured files (like PDFs) to ground the agent's responses.

#14 What are the three core stages of the Atlas Reasoning Engine's loop when processing a user request? Select 1

A. Input, Process, Output
B. Plan, Evaluate, Refine
C. Search, Retrieve, Generate
D. Identify, Classify, Execute

✅ Answer: Plan, Evaluate, Refine


Explanation:
The Atlas Reasoning Engine creates a plan based on available tools, evaluates its effectiveness, and refines the plan if necessary before execution.

#15 When configuring an Agent, what is the primary function of 'Instructions' at the Topic level? Select 1

A. To define the security permissions for the agent.
B. To providing natural language rules and guidelines on how to handle business logic within that topic.
C. To list the specific Flows that can be launched.
D. To restrict which users can see the topic.

✅ Answer: To providing natural language rules and guidelines on how to handle business logic within that topic.


Explanation:
Instructions at the Topic level guide the LLM on policy, tone, and logical steps to take when operating within that specific topic.

#16 A developer wants to ensure that a custom action is only triggered when a user's account status is 'Active'. How should this be enforced deterministically? Select 1

A. Add a natural language instruction: 'Only run this if active'.
B. Use a Conditional Filter on the Action utilizing a Context Variable.
C. Hide the action from the Agent's topic.
D. Rely on the LLM to check the field value.

✅ Answer: Use a Conditional Filter on the Action utilizing a Context Variable.


Explanation:
For deterministic (100% reliable) enforcement of rules like record status, Conditional Filters on the action are preferred over natural language instructions.

#17 Which Salesforce feature ensures that sensitive data (PII) is masked before being sent to an external LLM? Select 1

A. Data Cloud
B. Einstein Trust Layer
C. Shield Platform Encryption
D. Agentforce Firewall

✅ Answer: Einstein Trust Layer


Explanation:
The Einstein Trust Layer handles data masking, zero data retention, and toxicity detection before and after the LLM request.

#18 What is the primary role of the 'Agent User' in Salesforce Agentforce? Select 1

A. It is a virtual user that defines the permission set and field access levels for the Agent's actions.
B. It is the admin user who configures the agent.
C. It is the end-customer chatting with the agent.
D. It is a placeholder for the LLM provider.

✅ Answer: It is a virtual user that defines the permission set and field access levels for the Agent's actions.


Explanation:
The Agent User (often 'Platform Integration User' or a specific assigned user) determines what data the Agent can read or edit via FLS and Sharing Rules.

#19 In Prompt Builder, which resource is used to dynamically insert record data into a prompt template? Select 1

A. Merge Fields
B. Apex Classes
C. Flow Variables
D. Static Text

✅ Answer: Merge Fields


Explanation:
Merge fields (e.g., {!$Input:Record.Name}) are used to ground the prompt with live data from Salesforce records.