Salesforce certification · Exam Agentforce-Specialist

Agentforce-Specialist Mock Exam Page 2

Salesforce Agentforce Specialist - AI-201

Free Agentforce-Specialist questions on Data 360 Fundamentals, each with the answer and an explanation.

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

Data 360 Fundamentals questions

11–20 of 24 free
Question 11 Choose 1
What is automatically created when a custom search index is created in Data Cloud?
Show answerHide answer

Correct answer: A A retriever that shares the name of the custom search index.

Explanation


Explanation

Comprehensive and Detailed In-Depth Explanation: In Salesforce Data Cloud, a custom search index is created to enable efficient retrieval of data (e.g., documents, records) for AI-driven processes, such as grounding Agentforce responses. Let’s evaluate the options based on Data Cloud’s functionality.

Option A: A retriever that shares the name of the custom search index. When a custom search index is created in Data Cloud, a corresponding retriever is automatically generated with the same name as the index. This retriever leverages the index to perform contextual searches (e.g., vector-based lookups) and fetch relevant data for AI applications, such as Agentforce prompt templates. The retriever is tied to the indexed data and is ready to use without additional configuration, aligning with Data Cloud’s streamlined approach to AI integration. This is explicitly documented in Salesforce resources and is the correct answer.

Option B: A dynamic retriever to allow runtime selection of retriever parameters without manual configuration. While dynamic behavior sounds appealing, there’s no concept of a "dynamic retriever" in Data Cloud that adjusts parameters at runtime without configuration. Retrievers are tied to specific indexes and operate based on predefined settings established during index creation. This option is not supported by official documentation and is incorrect.

Option C: A predefined Apex retriever class that can be edited by a developer to meet specific needs. Data Cloud does not generate Apex classes for retrievers. Retrievers are managed within the Data Cloud platform as part of its native AI retrieval system, not as customizable Apex code. While developers can extend functionality via Apex for other purposes, this is not an automatic outcome of creating a search index, making this option incorrect.

Why Option A is Correct: The automatic creation of a retriever named after the custom search index is a core feature of Data Cloud’s search and retrieval system. It ensures seamless integration with AI tools like Agentforce by providing a ready-to-use mechanism for data retrieval, as confirmed in official documentation.
Question 12 Choose 1
When creating a custom retriever in Einstein Studio, which step is considered essential?
Show answerHide answer

Correct answer: A Select the search index, specify the associated data model object (DMO) and data space, and optionally define filters to narrow search results.

Explanation


Explanation

Comprehensive and Detailed In-Depth Explanation: In Salesforce’s Einstein Studio (part of the Agentforce ecosystem), creating a custom retriever involves setting up a mechanism to fetch data for AI prompts or responses. The essential step is defining the foundation of the retriever: selecting the search index, specifying the data model object (DMO), and identifying the data space(Option A). These elements establish where and what the retriever searches:

Search Index: Determines the indexed dataset (e.g., a vector database in Data Cloud) the retriever queries.

Data Model Object (DMO): Specifies the object (e.g., Knowledge Articles, Custom Objects) containing the data to retrieve.
Data Space: Defines the scope or environment (e.g., a specific Data Cloud instance) for the data. Filters are noted as optional in Option A, which is accurate—they enhance precision but aren’t mandatory for the retriever to function. This step is foundational because without it, the retriever lacks a target dataset, rendering it unusable.

Option B: Defining output configuration (e.g., max results, field mapping) is important for shaping the retriever’s output, but it’s a secondary step. The retriever must first know where to search (A) before output can be configured.

Option C: This option includes advanced configurations (vector/hybrid search, filtering fields, ranking method), which are valuable but not essential. A basic retriever can operate without specifying search type or ranking, as defaults apply, but it cannot function without a search index, DMO, and data space.

Option A: This is the minimum required step to create a functional retriever, making it essential. Option A is the correct answer as it captures the core, mandatory components of retriever setup in Einstein Studio.
Question 13 Choose 1
Universal Containers wants to be able to detect with a high level confidence if content generated by a large language model (LLM) contains toxic language.
Which action should an Al Specialist take in the Trust Layer to confirm toxicity is being appropriately managed?
Show answerHide answer

Correct answer: C Create a Trust Layer audit report within Data Cloud that uses a toxicity detector type filter to display toxic responses and their respective scores.

Explanation

Explanation

Toxicity detection is one of the core capabilities of the Einstein Trust Layer. Its purpose is to identify:

. Hateful, violent, or otherwise toxic content.
. Whether generated output from an LLM is unsafe or inappropriate.

Salesforce logs all toxicity detection events in the Trust Layer audit trail, including:

✅ Each prompt and response.
✅ A flag indicating if toxicity was detected (e.g. isToxicityDetected = true).
✅ Toxicity score or classification details.

The correct way to confirm that toxicity is being detected and managed is to:
Access the toxicity detection logs in Setup (via the Generative AI Audit page).
Export entries where toxicity was detected for:
. Auditing and compliance review.
. Follow-up training or mitigation.

Hence, Option A is correct.

Option B (Create a flow to email someone on each toxic response) is:

Potentially helpful as a downstream action.
But it does not confirm whether toxicity detection itself is working.
It’s more of an alerting mechanism, not a verification method.

Option C (Create a Trust Layer audit report in Data Cloud) is incorrect because:

While audit logs exist, they’re not Data Cloud objects.
The Trust Layer audit data is accessed via Setup, not as Data Cloud tables.
There’s no native “Trust Layer audit report” object in Data Cloud itself.

Therefore, the correct action is:
A. Access the Toxicity Detection log in Setup and export all entries where isToxicityDetected is true.


🔗 Reference
Salesforce Help — Einstein Trust Layer Overview
Salesforce Blog — How Salesforce’s Trust Layer Protects Generative AI
Question 14 Choose 1
Universal Containers (UC) plans to send one of three different emails to its customers based on the customer's lifetime value score and their market segment.
Considering that UC are required to explain why an e-mail was selected, which AI model should UC use to achieve this?
Show answerHide answer

Correct answer: A Predictive model and generative model

Explanation

Explanation

Let’s break this down:

✅ UC’s business need:
They want to choose among 3 emails for each customer.
The choice depends on:
. Lifetime value score (numeric prediction)
. Market segment (categorical attribute)
They must explain WHY a particular email was selected.

This scenario needs two capabilities working together:

1. Predictive Model

✅ A predictive model is required to:

Calculate the Customer Lifetime Value (CLV) score.
Possibly determine the likelihood of churn or purchase.
Classify customers into market segments if that’s also predicted dynamically.

This model produces structured outputs (scores, categories) that drive the logic for email selection.

2. Generative Model

✅ A generative model is required to:

Generate the explanatory text that tells the customer (or an internal user) why a specific email was chosen.

For example:

“This email was selected because the customer has a high lifetime value and belongs to the Premium Market Segment.”

Generative AI excels at natural language explanations. This satisfies UC’s requirement to explain why an email was selected.

Hence, UC needs both:
A predictive model → to calculate scores and drive the decision logic.
A generative model → to generate the explanation text.

Therefore, Option A is correct.

Why the other options are incorrect:

Option B (Generative model only)

A generative model alone can produce text but cannot generate numeric predictions like CLV scores.
You still need a predictive model to generate the data that drives the email selection logic.

Option C (Predictive model only)

A predictive model can produce scores or classifications but cannot generate explanations in natural language.

Thus, UC should:
A. Use a predictive model and a generative model.

🔗 Reference

Salesforce Help — Einstein Prediction Builder Overview
Salesforce Help — Prompt Builder Overview
Question 15 Choose 1
Universal Containers (UC) has a mature Salesforce org with a lot of data in cases and Knowledge articles. UC is concerned that there are many legacy fields, with data that might not be applicable for Einstein AI to draft accurate email responses.
Which solution should UC use to ensure Einstein AI can draft responses from a defined data source?
Show answerHide answer

Correct answer: A Service AI Grounding

Explanation

Explanation:

To ensure Einstein AI drafts accurate email responses from trusted data sources (and ignores legacy fields), Universal Containers (UC) should:

Use Service AI Grounding

What it does: Restricts AI responses to specific, curated data sources, such as:

Approved Knowledge articles (filtered by relevance/date).
Selected case fields (e.g., excluding legacy fields).

Benefit: Prevents the AI from using outdated or irrelevant data in drafts.

Why Not the Other Options?

B. "Work Summaries":
Generates post-interaction summaries, not email drafts.

C. "Service Replies":
This is the output feature (drafting replies), but Service AI Grounding controls which data it uses.

Implementation Steps:

In Setup, enable Service AI Grounding.
Configure grounding to include only:
Current Knowledge articles (filter by validity dates).
Relevant case fields (e.g., Case.Description, but not legacy fields like Case.Legacy_Code__c).

Reference:
Salesforce Help - Service AI Grounding
Question 16 Choose 1
A support team handles a high volume of chat interactions and needs a solution to provide quick, relevant responses to customer inquiries.
Responses must be grounded in the organization's knowledge base to maintain consistency and accuracy. Which feature in Einstein for Service should the support team use?
Show answerHide answer

Correct answer: B Einstein Reply Recommendations

Explanation


Explanation

The support team should use Einstein Reply Recommendations to provide quick, relevant responses to customer inquiries that are grounded in the organization’s knowledge base. This feature leverages AI to recommend accurate and consistent replies based on historical interactions and the knowledge stored in the system, ensuring that responses are aligned with organizational standards.

Einstein Service Replies(Option A) is focused on generating replies but doesn't have the same emphasis on grounding responses in the knowledge base.

Einstein Knowledge Recommendations(Option C) suggests knowledge articles to agents, which is more about assisting the agent in finding relevant articles than providing automated or AI-generated responses to customers.
Question 17 Choose 1
An Agentforce is setting up a new org and needs to ensure that users can create and execute prompt templates. The Agentforce Specialist is unsure which roles are necessary for these tasks.
Which permission sets should the Agentforce Specialist assign to users who need to create and execute prompt templates?
Show answerHide answer

Correct answer: B Prompt Template Manager for creating templates and Prompt Template User for executing templates

Explanation

Explanation:

To enable users to create and execute prompt templates, the AgentForce Specialist must assign:

Prompt Template Manager

Grants permissions to:
Create, edit, and manage prompt templates.
Configure grounding and instructions.

Prompt Template User

Allows users to:
Run/execute prompt templates (e.g., generate emails, summaries).
Use templates in Flows, Copilot, or UI buttons.

Why Not the Other Options?

A. "Data Cloud Admin":
Not required for prompt templates—this is for Data Cloud model management.

C. "Data Cloud Admin for creation":
Incorrect. Prompt Template Manager is the correct permission for creation.

Reference:
Salesforce Help - Prompt Template Permissions
Question 18 Choose 1
Universal Containers (UC) is implementing Einstein Generative AI to improve customer insights and interactions. UC needs audit and feedback data to be accessible for reporting purposes. What is a consideration for this requirement?
Show answerHide answer

Correct answer: A Storing this data requires Data Cloud to be provisioned.

Explanation

Explanation

UC wants audit and feedback data for Einstein Generative AI to be accessible for reporting. Let’s clarify how Salesforce handles this:

✅ Einstein Generative AI Audit & Feedback Data is:

Part of the Einstein Trust Layer Includes:
. Prompt text submitted to the LLM.
. Masking details for sensitive data.
. LLM responses.
. Toxicity detection results.
. User feedback on generated content (thumbs up/down).

Designed to help customers audit AI usage for security, compliance, and quality.

✅ Where is this audit data stored?
Audit and feedback data for Einstein Copilot and generative AI is stored in Data Cloud tables.

You must have Data Cloud provisioned to:
. Store this audit trail.
. Query it for reporting or compliance analysis.

This enables you to:
. Create reports and dashboards.
. Analyze trends in AI usage and feedback.

Hence, Option A is correct.

Why the other options are incorrect:

Option B (Custom object):

Audit and feedback data is not stored in custom objects by default.
Salesforce automatically stores it in Data Cloud.

Option C (Big objects):
Big objects are used for storing large-scale transactional or historical data.
Einstein Trust Layer audit data does not use big objects. It’s structured in Data Cloud to support analytics.

Therefore, UC must ensure:
A. Storing this data requires Data Cloud to be provisioned.


🔗 Reference

Salesforce Help — View Generative AI Audit Data
Salesforce Help — Einstein Trust Layer Overview
Question 19 Choose 1
An Agentforce is creating a custom action for Agentforce.
Which setting should the Agentforce Specialist test and iterate on to ensure the action performs as expected?
Show answerHide answer

Correct answer: C Action Instructions

Explanation


Explanation

When creating a custom action for Einstein Bots in Salesforce (including Agentforce), Action Instructions are critical for defining how the bot processes and executes the action. These instructions guide the bot on the logic to follow, such as API calls, data transformations, or conditional steps. Testing and iterating on the instructions ensures the bot understands how to handle dynamic inputs, external integrations, and decision- making.

Salesforce documentation emphasizes that Action Instructions directly impact the bot’s ability to execute workflows accurately. For example, poorly defined instructions may lead to incorrect API payloads or failure to parse responses. The Einstein Bot Developer Guide highlights that refining instructions is essential for aligning the bot’s behavior with business requirements. In contrast:

Action Name (A) is a static identifier and does not affect functionality.

Action Input (B) defines parameters passed to the action but does not dictate execution logic.

Thus, iterating on Action Instructions (C) ensures the action performs as expected.
Question 20 Choose 1
Universal Containers (UC) is building a Flex prompt template. UC needs to use data returned by the flow in the prompt template.
Which flow element should UC use?
Show answerHide answer

Correct answer: C Add Flow Instructions

Explanation

Explanation:

When building a Flex Prompt Template in Salesforce and you want to use data returned by a Flow, you need to use the "Add Flow Instructions" option.
This step allows the Flex Prompt Template to:

1. Invoke a Flow (such as an autolaunched Flow),
2. Pass parameters to the Flow (if needed),
3. Receive the output from the Flow,
4. And then use that Flow output in the prompt generation.

A. Add Flex Instructions
❌ Incorrect – This is not an actual option in the Flex Prompt Template configuration. It seems to be a distractor based on the name "Flex."

B. Add Prompt Instructions
❌ Incorrect – This step defines the actual prompt that gets sent to the LLM, including merge fields and prompt logic. However, it does not handle data retrieval or Flow interaction.

C. Add Flow Instructions
✅ Correct – This is the element used to connect a Flow to your Flex Prompt Template so that its data can be incorporated into the AI response.
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