Salesforce certification · Exam Agentforce-Specialist

Agentforce-Specialist Mock Exam Page 3

Salesforce Agentforce Specialist - AI-201

Free Agentforce-Specialist mock exam questions 21–30, each with the answer and an explanation.

20 questions · 35 minutes · free, no sign-up

Free Agentforce-Specialist questions

21–30 of 111 free
Question 21 Choose 1
Universal Containers (UC) is using standard Service AI Grounding. UC created a custom rich text field to be used with Service AI Grounding.
What should UC consider when using standard Service AI Grounding?
Show answerHide answer

Correct answer: B Service AI Grounding only supports String and Text Area type fields.

Explanation

Explanation

Let’s break this down:

✅ Service AI Grounding allows generative AI to ground its responses on specific fields from Salesforce objects like Case and Knowledge. It’s used for:
. Improving answer accuracy.
. Ensuring responses are based on real CRM data.

However, not all field types are supported for grounding. According to Salesforce documentation:

“Service AI Grounding supports only fields of type Text, Text Area, or Long Text Area.”

✅ Rich Text fields are not supported because:
They store HTML or formatting.
The AI grounding process expects plain text data to avoid markup issues.
Using rich text fields could cause:
. Prompt clutter.
. Token limits being exceeded due to hidden HTML tags.

Hence, if UC created a custom rich text field, it cannot be used in standard Service AI Grounding.
Therefore, Option B is correct.

Why the other options are incorrect:

Option A (only works with Case and Knowledge):

While the standard Service AI Grounding feature currently focuses on Case and Knowledge, this statement is incomplete.
The core limitation in this question is about field types, not objects.

Option C (visibility works in system mode):

Service AI Grounding respects user field-level security.
It does not automatically run in system mode unless specifically configured via flows or other backend processes.
The primary issue here is the field type limitation, not visibility mode.

🔗 Reference

Salesforce Help — Service AI Grounding Overview
Salesforce Release Notes — Supported Field Types for Grounding
Question 22 Choose 1
Universal Containers (UC) wants to use Flow to bring data from unified Data Cloud objects to prompt templates.
Which type of flow should UC use?
Show answerHide answer

Correct answer: B Template-triggered prompt flow

Explanation

Explanation:

To bring Data Cloud object data into prompt templates, Universal Containers (UC) should use:

Template-Triggered Prompt Flow

Purpose: Specifically designed to:
Query Data Cloud objects (unified or standard).
Process/transform the data (e.g., filter, format as JSON).
Pass it to a prompt template for AI generation.

Example:
Flow queries Data Cloud for Customer_360__dlm records.
Feeds data into a prompt template to generate a customer summary.

Why Not the Other Options?

A. "Data Cloud-triggered flow":
No such flow type exists. Data Cloud processes use Data Actions or API integrations.

C. "Unified-object linking flow":
A distractor—this is not a valid flow type.

Implementation Steps:

Create a template-triggered flow in Flow Builder.
Use Data Cloud Connector elements to query unified objects.
Call the prompt template with the output.

Reference:
Salesforce Help - Prompt-Triggered Flows
Question 23 Choose 1
In a Knowledge-based data library configuration, what is the primary difference between the identifying fields and the content fields?
Show answerHide answer

Correct answer: A Identifying fields help locate the correct Knowledge article, while content fields enrich AI responses with detailed information.

Explanation


Explanation

Comprehensive and Detailed In-Depth Explanation: In Agentforce, a Knowledge-based data library (e.g., via Salesforce Knowledge or Data Cloud grounding) uses identifying fields and content fields to support AI responses. Let’s analyze their roles.

Option A: Identifying fields help locate the correct Knowledge article, while content fields enrich AI responses with detailed information. In a Knowledge-based data library, identifying fields(e.g., Title, Article Number, or custom metadata) are used to search and pinpoint the relevant Knowledge article based on user input or context. Content fields(e.g., Article Body, Details) provide the substantive data that the AI uses to generate detailed, enriched responses. This distinction is critical for grounding Agentforce prompts and aligns with Salesforce’s documentation on Knowledge integration, making it the correct answer.

Option B: Identifying fields categorize articles for indexing purposes, while content fields provide a brief summary for display. Identifying fields do more than categorize—they actively locate articles, not just index them. Content fields aren’t limited to summaries; they include full article content for response generation, not just display. This option underrepresents their roles and is incorrect.

Option C: Identifying fields highlight key terms for relevance scoring, while content fields store the full text of the article for retrieval. While identifying fields contribute to relevance (e.g., via search terms), their primary role is locating articles, not just scoring. Content fields do store full text, but their purpose is to enrich responses, not merely enable retrieval. This option shifts focus inaccurately, making it incorrect.

Why Option A is Correct: The primary difference—identifying fields for locating articles and content fields for enriching responses—reflects their roles in Knowledge-based grounding, as per official Agentforce documentation.
Question 24 Choose 1
Universal Containers (UC) wants to improve the efficiency of addressing customer questions and reduce agent handling time with AI- generated responses. The agents should be able to leverage their existing knowledge base and identify whether the responses are coming from the large language model (LLM) or from Salesforce Knowledge.
Which step should UC take to meet this requirement?
Show answerHide answer

Correct answer: B Turn on Service Replies, Service AI Grounding, and Grounding with Knowledge.

Explanation

Explanation:

Universal Containers (UC) wants to:

1. Provide AI-generated responses to customer questions.
2. Reduce agent handling time.
3. Use their existing Knowledge Base as a grounding source.
4. Identify the source of responses (LLM vs. Salesforce Knowledge).

To meet all of these goals, UC needs to enable the following features:

✅ Service Replies
Provides AI-generated reply suggestions within the service console.
Helps agents respond faster by generating contextual responses.

✅ Service AI Grounding
Ensures AI responses are securely grounded in trusted Salesforce data.
This is part of the Trust Layer, which governs what data is allowed in prompts.

✅ Grounding with Knowledge
Specifically configures the AI to use the Salesforce Knowledge Base as the source of truth.
Allows agents to see where the information came from (e.g., Knowledge Article vs. LLM-generated content).

A. Turn on Service AI Grounding, Grounding with Case, and Service Replies
❌ Incorrect – This would ground responses in case data, not the Knowledge Base, which doesn't meet UC’s requirement to use their existing KB.

C. Turn on Service AI Grounding and Grounding with Knowledge
❌ Incomplete – This would allow grounding in Knowledge Articles, but without Service Replies, the AI wouldn't automatically generate response suggestions for agents.
Question 25 Choose 1
A company’s support agent is inconsistently executing a mandatory fraud check action before processing refunds. In some conversations the fraud check fires, but in others the agent skips directly to issuing the refund. Upon review, an Agentforce Specialist recommends placing the instruction guideline with run @actions.fraud_check followed by run @actions.process_refund. What is the effect of this configuration change?
Show answerHide answer

Correct answer: C The fraud-check action will be forced to execute before the refund action in every conversation, because procedural instructions provide deterministic control over the execution order.

Explanation

Explanation:

In Agentforce Agent Script, procedural instructions (denoted by run @actions... and ordered sequentially) enforce deterministic execution order. This ensures that critical business logic—such as fraud checks—always runs before subsequent actions like issuing refunds.

Option A is incorrect:
Adding run does not merely "suggest" execution; it enforces it.

Option B is incorrect:
Procedural instructions do not affect conversational tone; they strictly control action execution order.

Option C is correct:
Procedural instructions guarantee that the fraud check will always execute before the refund action, eliminating inconsistency.

Reference:
Salesforce Documentation: Agentforce Procedural Instructions

Trailhead Module: Agentforce Script Basics

Salesforce Developer Guide: Action Execution Order in Agentforce
Question 26 Choose 1
Universal Containers is designing an agent to assist with order management and dealer support automation. The agent must verify a dealer’s credentials before granting access to order details. The team has already: Declared a variable is_verified to track verification status. Configured an action that verifies the dealer’s credentials. They plan to restrict access to the order details subagent using a guard condition based on is_verified. What must the team do to ensure the order details subagent becomes available only after a dealer is successfully verified?
Show answerHide answer

Correct answer: C Update the is_verified variable to true after the verification action succeeds using @utils.setVariables.

Explanation

Explanation:

Why C is correct:
To implement a proper guard condition, the team must complete the full state management lifecycle. They have already completed two steps:

Declaring the variable (is_verified).
Configuring the verification action.

The missing piece is the runtime update of the variable. When the verification action successfully executes (e.g., the dealer's credentials are validated), the team must use @utils.setVariables within the agent's logic (typically in a follow-up action, within the verification action's output, or in the agent's response handling) to set @variables.is_verified = true.

This update ensures that:

The guard condition (available_when: @variables.is_verified == true) on the order details subagent evaluates to true at runtime.
The order details subagent becomes dynamically available to the Atlas Reasoning Engine only after successful verification.
The agent cannot attempt to access order details before verification completes.

Why A is incorrect:
This is only half the solution. Adding the available_when condition is necessary, but if the variable is never updated to true, the condition will never evaluate to true, and the subagent will remain permanently unavailable. The team must also implement the runtime variable update (Option C). Option A alone is insufficient.

Why B is incorrect:
Declaring is_verified as immutable (without the mutable keyword) would actually prevent the variable from being updated at runtime. Since the verification status starts as false and must change to true after verification, the variable must be mutable to support this state change. Making it immutable would break the intended workflow entirely.

References:
Salesforce Official Documentation: "Agent Script Guard Conditions and State Management" – explains that guard conditions evaluate runtime variables, and those variables must be explicitly updated using @utils.setVariables (or actions) to reflect state changes.

Trailhead Module: "Build Agentforce Agents with Agent Builder" > Unit: "Control Access with Guard Conditions" – demonstrates the full pattern: declare a mutable variable → set it via action/utility → evaluate it in an available_when condition.

Agentforce Exam Guide (AI-201): Under "Agent Configuration and Logic" – emphasizes that declaring a variable and adding a guard condition is insufficient without the corresponding runtime update logic to change the variable's value.
Question 27 Choose 1
Universal Containers wants to incorporate the current order fulfillment status into a prompt for a large language model (LLM). The order status is stored in the external enterprise resource planning (ERP) system.
Which data grounding technique should the Agentforce Specialist recommend?
Show answerHide answer

Correct answer: B External Services Merge Fields

Explanation

Explanation:

When the data you want to ground into a prompt is stored in an external system (like an ERP), and you want to call that external service in real-time to get data, the correct grounding technique in Salesforce Agentforce is: External Services Merge Fields

A. Eternal Object Record Merge Fields
❌ Incorrect – There's a typo here (likely meant to be "External Object Record Merge Fields"). Even so, External Objects are used for Salesforce Connect, which virtually maps external data but does not call the external service in real-time during prompt execution. It also doesn't support dynamic fetch during prompt generation.

B. External Services Merge Fields
✅ Correct – This feature allows prompt templates to invoke an API call to an external system (like ERP) and use that data directly in the prompt context. It's real-time, secure, and the proper way to get dynamic external data into LLM prompts.

C. Apex Merge Fields
❌ Incorrect – Apex Merge Fields are useful for custom logic and custom data manipulation within Salesforce, but they don’t inherently connect to external systems unless you write custom callouts in Apex (which would then be abstracted behind an Apex class, not recommended for direct grounding unless needed).
Question 28 Choose 1
Where should the Agentforce Specialist go to add/update actions assigned to a copilot?
Show answerHide answer

Correct answer: A Copilot Actions page, the record page for the copilot action, or the Copilot Action Library tab

Explanation


Explanation

Copilot Actions Page
Primary interface for managing all Copilot actions
"Use the Copilot Actions page to view, create, and manage actions for your copilot."

Record Page for Copilot Action
Edit specific action details and grounding
"Each action has its own record page where you can configure instructions, inputs, and outputs."

Copilot Action Library Tab
Browse and select from pre-built actions
"The Action Library provides reusable actions that can be assigned to your copilot."

Why Other Options Are Incorrect:

B. Global Actions
Global Actions are for page-level quick actions, not Copilot integration
"Global Actions appear across all pages in the global publisher layout."

C. Copilot Detail Page
Used for high-level settings, not action management
"The Copilot detail page shows basic information and activation status."

Implementation Note:
Always test actions in Sandbox first before deployment to production, as recommended in the Copilot Best Practices Guide.
Question 29 Choose 1
An Al Specialist is tasked with configuring a generative model to create personalized sales emails using customer data stored in Salesforce. The AI Specialist has already fine-tuned a large language model (LLM) on the OpenAI platform. Security and data privacy are critical concerns for the client.
How should the Agentforce Specialist integrate the custom LLM into Salesforce?
Show answerHide answer

Correct answer: B Add the fine-tuned LLM in Einstein Studio Model Builder.

Explanation

Explanation:

To safely integrate a custom LLM into Salesforce while addressing security and privacy concerns, the AgentForce Specialist should:

Use Einstein Studio Model Builder

Why? Einstein Studio provides:
Secure, native integration with Salesforce data (no external callouts).
Compliance with the Einstein Trust Layer (data masking, audit trails).
Direct grounding in CRM data (e.g., {{Account.Name}}).

Steps:
Import the fine-tuned LLM into Einstein Studio.
Configure data access permissions.
Deploy as a Prompt Template in Salesforce.

Why Not the Other Options?

A. "iFrame embedding":

Security risk: Exposes Salesforce data to external systems.
Poor UX: iFrames are clunky and lack native integration.

C. "OpenAI callouts":
Violates data privacy: Raw customer data leaves Salesforce.
No Trust Layer protection: Masking/auditing isn’t automatic.

Reference:
Salesforce Help - Einstein Studio
Question 30 Choose 1
Universal Containers’ data science team is hosting a generative large language model (LLM) on Amazon Web Services (AWS).
What should the team use to access externally-hosted models in the Salesforce Platform?
Show answerHide answer

Correct answer: A Model Builder

Explanation


Explanation

To access externally-hosted models, such as a large language model (LLM) hosted on AWS, the Model Builder in Salesforce is the appropriate tool. Model Builder allows teams to integrate and deploy external AI models into the Salesforce platform, making it possible to leverage models hosted outside of Salesforce infrastructure while still benefiting from the platform's native AI capabilities.

Option B, App Builder, is primarily used to build and configure applications in Salesforce, not to integrate AI models.

Option C, Copilot Builder, focuses on building assistant-like tools rather than integrating external AI models.

Model Builder enables seamless integration with external systems and models, allowing Salesforce users to use external LLMs for generating AI-driven insights and automation.
Full mock exam

Sit the Agentforce-Specialist exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real Agentforce-Specialist exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full Agentforce-Specialist mock exam
  • 60questions per mock
  • 105 mintime limit
  • 380questions in the bank
  • Newmock on every attempt