salesforce agentforce Practice Questions & Answers (Set 11) | CodeWme
#1 The Agentforce Specialist of Northern Trail Outfitters reviewed the organization's data masking settings within the Configure Data Masking menu within Setup. Upon assessing all of the fields, a few additional fields were deemed sensitive and have been masked within Einstein's Trust Layer. Which steps should the Agentforce Specialist take upon modifying the masked fields? Select 1
✅ Answer: B. Test and confirm that the responses generated from prompts that utilize the data and masked data do not adversely affect the quality of the generated response
After modifying masked fields in Einstein's Trust Layer, the next important step is to test and confirm that the responses generated by prompts utilizing the newly masked data still meet quality standards. This ensures that masking sensitive information does not negatively impact the usefulness or accuracy of the AI-generated content. Thorough testing helps identify any issues in prompt performance that could arise due to masking, and adjustments can be made if needed. ➤ Option B is correct because testing the effects of masking on AI responses is a critical step in ensuring Al continues to function as expected. ➤ Option A (turning off and on the Einstein Trust Layer) is unnecessary after changing the masked fields. Option C (turning on Einstein Feedback) allows for user feedback but is not a direct step following field masking modifications. References: ➤ Salesforce Einstein Trust Layer Overview: https://help.salesforce.com/s/articleView?id=sf. einstein_trust_layer.htm
#2 A developer is using the Salesforce CLI to deploy agent component to several topics, instructions, and actions. Which metadata component should the developer include in the page agent will interact with? Select 1
✅ Answer: genAiPlannerBundle
The GenAiPlannerBundle is the correct metadata type for defining an Agentforce Agent's planner configuration in recent API versions (v64.0 and later). It serves as a container that groups Topics, Instructions, and Actions.
#3 Booking failures verify customer eligibility, and finally create the booking. The current implementation allows the large Resorts needs to ensure its booking agent executes actions in a specific sequence. Which approach should an Agentforce Specialist implement? Select 1
✅ Answer: Write comprehensive topic instructions detailing the exact sequence of actions using numbered steps ordering requirements for the reasoning engine to follow during booking workflows.
In Salesforce Agentforce, the primary mechanism to guide the Planner (the reasoning engine) to execute actions in a specific order is through clear, numbered Topic Instructions.
#4 Universal Containers (UC) recently attended a major trade show and received thousands of new leads. Goals: Qualify and nurture leads 24/7, Provide accurate answers, Automatically book meetings. Which Agentforce capability should UC implement to meet these goals? Select 1
✅ Answer: SDR Agent
The SDR (Sales Development Representative) Agent is purpose-built to handle top-of-funnel sales activities like qualifying leads, answering inquiries, and booking meetings 24/7.
#5 Universal Containers' administrator has developed a new agent in a sandbox and needs to deploy it to production. What should the administrator do to deploy an agent? Select 1
✅ Answer: Create an outbound change set with all the necessary agent components, then upload.
Agentforce Agents are metadata. The standard path is to use deployment tools like Change Sets, DevOps Center, or Salesforce CLI to move the agent and its dependencies (Topics, Actions) to Production.
#6 Universal Containers (UC) has registered an external service to fetch data from a REST API. UC now needs to use the data in a prompt template as a merge field. How should UC meet this requirement? Select 1
✅ Answer: Use External Service Record merge fields.
External Services generate Apex-defined types. By creating a Template-Triggered Prompt Flow that calls the External Service, the output record can be used directly as a merge field in the prompt.
#7 Universal Containers (UC) is building a Flex prompt template. Which flow element should UC use to pass data to the prompt? Select 1
✅ Answer: Add Prompt Instructions
The 'Add Prompt Instructions' element is the specific Flow element designed to pass text and data from a Template-Triggered Prompt Flow back to the Prompt Builder context.
#8 Universal Containers deploys a new Agentforce Service Agent into the company's website but the Agent is not providing answers to customer questions that are found in the company's Knowledge base. What is the likely issue? Select 1
✅ Answer: The Agentforce Service Agent user was not given the Allow View Knowledge permission set.
Agents run as a specific user. If that user does not have permission to read Knowledge articles (via a Permission Set), the agent cannot retrieve or search that data.
#9 Universal Containers wants to answer questions based on similar cases that have been resolved. What should UC consider when implementing this approach? Select 1
✅ Answer: Create an unstructured data model object (UDMO) based on Case object and create an index on it.
For semantic search (finding 'similar' content), data must be mapped to an Unstructured Data Model Object (UDMO) and indexed in Data Cloud.
#10 Universal Containers is setting up the data library configuration. What is true regarding Agentforce Data Libraries? Select 1
✅ Answer: An agent can have only one data library assigned to it.
In the standard configuration, an Agentforce Agent is typically restricted to a single Data Library assignment to ground its responses.
#11 Universal Containers (UC) wants to empower its marketing team to surface relevant information, generate creative content, and manage project tasks directly in Salesforce. Which AI solution should UC implement? Select 1
✅ Answer: Employee Agent
The Employee Agent is designed for internal users (like marketing or HR) to enhance productivity by generating content and managing tasks within the flow of work.
#12 Universal Containers (UC) needs to capture and store detailed interaction logs to get a full view of the agent's actions, prompt and gateway inputs/outputs, and error messages. Which feature should they use? Select 1
✅ Answer: Agentforce Session Tracing
Agentforce Session Tracing provides granular logs of the reasoning process, inputs, outputs, and errors for debugging specific interactions.
#13 Universal Containers has multiple Salesforce orgs. They need to ensure customer identity is persistent across agent handoffs without exposure to large language model (LLM) alteration. What is the most appropriate configuration? Select 1
✅ Answer: Use the Agent API to start the downstream agent's session and pass the verified customer context variable.
Using the Agent API to pass immutable Context Variables ensures that critical data like identity is verified and cannot be hallucinated or altered by the LLM.
#14 A company wants to retrieve patient history details to augment Cloud search index feature. What is best practice when considering retrieval-augmented generation (RAG) and personally identifiable information (PII)? Select 1
✅ Answer: Mask sensitive fields and index only non-PII data.
The best practice is to mask or remove high-risk PII before it enters the vector search index to minimize the attack surface and prevent accidental retrieval.
#15 What does it mean when a prompt template version is described as immutable? Select 1
✅ Answer: After a prompt template version is activated, no further changes can be saved to that version.
Activation 'locks' a Prompt Template version to ensure stability for running processes. Any further edits must be saved as a new version.
#16 Universal Containers (UC) is considering using a Field Generation prompt. What should UC check before creating the Field Generation prompt to ensure the feature works on the page? Select 1
✅ Answer: That the Lightning page layout where the field will reside has been upgraded to Dynamic Forms.
To add the generative AI button to a specific field, the Lightning page must be upgraded to Dynamic Forms so the field component's properties can be configured.
#17 Coral Cloud Resorts is uploading thousands of reviews to ensure Agentforce retrieves accurate responses. Which chunking strategy is best? Select 1
✅ Answer: Section-aware chunking
Section-aware chunking respects the structural hierarchy of documents (headers, logical breaks), ensuring retrieved chunks represent complete thoughts, which is ideal for structured knowledge articles or reviews.
#18 An Agentforce Specialist at Universal Containers (UC) needs to help the sales team prep for calls by summarizing past purchases, displaying interests, and recapping conversations. Which approach should they use? Select 1
✅ Answer: Use a prompt template grounded on CRM and Data Cloud data
Grounding allows the model to retrieve real-time data (purchases, emails) from the CRM to answer specific questions without the need for resource-intensive fine-tuning or custom models.
#19 An Agentforce Specialist is creating a custom action. Which option is available for the Agentforce Specialist to choose? Select 1
✅ Answer: Flows
Autolaunched Flows are a supported custom action type in Agentforce. SOQL and Apex triggers cannot be directly selected as standalone actions in the agent configuration.
#20 Universal Containers (UC) wants to deploy a Digital Experience site and enable messaging to the agent with pre-chat variables. What is a required step? Select 1
✅ Answer: Create an Omni-Channel flow that routes messages to the agent
In Messaging for In-App and Web (MIAW), an Omni-Channel Flow is required to handle routing logic and map pre-chat variables to the agent.