Last Updated On : 18-Oct-2026


Salesforce Certified Agentforce Specialist (AI-201) Spring 26 Update Practice Test

Prepare with our free Salesforce Certified Agentforce Specialist (AI-201) Spring 26 Update sample questions and pass with confidence. Our Agentforce-Specialist practice test is designed to help you succeed on exam day.

380 Questions
Salesforce 2026

Testing, Deployment, and Maintenance

Universal Containers wants to ensure that its AI agent’s responses consistently reflect the company’s unique brand voice and specific quality standards beyond simple pass or fail checks. How should the Agentforce Specialist configure the Testing Center to evaluate this specific criteria?

A. Enable the Coherence quality evaluation

B. Use the default Response Evaluation metric

C. Create a custom evaluation using a large language model judge

C.   Create a custom evaluation using a large language model judge

Explanation:

When using the Agentforce Testing Center to evaluate agent responses, standard metrics can tell you if an agent followed simple instructions or if the text is structured correctly. However, analyzing highly specific qualitative traits—like a company's unique tone, brand voice guidelines, or complex internal quality rubrics—requires customized grading logic.

Why C is correct:
Standard, out-of-the-box evaluations are rigid and do not know your corporate brand identity. Agentforce allows specialists to define Custom Evaluations powered by an LLM Judge. By configuring a custom LLM judge, you can supply your company's precise brand-voice playbook and criteria as prompt parameters. The testing engine will then use that specialized context to grade your agent's test-run outputs on a nuanced scale rather than a binary pass/fail check.

Why A is incorrect:
The Coherence evaluation is a standard metric that looks for logical flow, clarity, and grammatical consistency. It measures whether a response makes general sense, but it cannot evaluate whether the text aligns with Universal Containers' specific brand voice.

Why B is incorrect:
The default Response Evaluation metrics cover foundational traits like helpfulness, accuracy, and safety. They are not tailored to custom corporate guidelines.

Reference
Salesforce Help / Agentforce Developer Guide: Testing Center Custom Metrics. For advanced quality assurance that goes beyond standard evaluation parameters, administrators can create custom metrics utilizing a LLM judge. This allows organizations to provide custom guidelines, scoring definitions, and rubrics to monitor brand alignment and response voice.

Universal Containers is building an Agentforce Service Agent to handle order cancellations. The Agentforce Specialist needs to ensure that a critical “Check Cancellation Eligibility” action is executed deterministically on every relevant turn, without relying on the reasoning engine’s discretion to choose the tool. During a code review, a junior developer asks why the Agentforce Specialist called the action using the run @actions.name command instead of simply listing the action under the reasoning.actions block. What must the Agentforce Specialist explain regarding the difference between these two invocation methods?

A. Both patterns execute the action on every turn automatically; the difference is purely syntactic, as the run command is simply the newer notation for Agent Script.

B. The run command is only valid when nested inside reasoning.actions blocks to pass parameters; the Agentforce Specialist must list it under reasoning.actions for the large language model (LLM) to access it.

C. Listing an action under reasoning.actions makes it a subjective tool that the large language model (LLM) decides whether to call; calling it with the run command forces guaranteed execution every time.

C.   Listing an action under reasoning.actions makes it a subjective tool that the large language model (LLM) decides whether to call; calling it with the run command forces guaranteed execution every time.

Explanation:

The key distinction is who decides whether the action executes.

reasoning.actions
Actions listed here are available to the LLM as tools.
The model chooses whether or not to invoke them based on its reasoning and the current conversation.
There is no guarantee that a listed action will be executed on every applicable turn.

run @actions.
This is an explicit instruction to execute the specified action.
It bypasses the LLM's discretionary tool selection and ensures the action runs deterministically whenever that line is reached in the Agent Script.
This approach is appropriate for mandatory business logic, such as:
- Checking cancellation eligibility
- Performing compliance or security validations
- Verifying customer identity
- Logging audit events

Since the requirement is to guarantee that "Check Cancellation Eligibility" executes on every relevant turn, using run @actions.CheckCancellationEligibility is the correct implementation.

Why the Other Options Are Incorrect

A. ❌ Incorrect
reasoning.actions does not automatically execute actions on every turn. It merely exposes them as tools the LLM may use. Therefore, the difference is not merely syntactic.

B. ❌ Incorrect
The run command is not limited to being nested inside reasoning.actions, nor is reasoning.actions required for the LLM to access an explicitly invoked action. run is used specifically to force execution, not simply to pass parameters.

Reference
- Salesforce Agentforce documentation on Agent Scripts and action invocation (concepts of deterministic execution vs. LLM-selected tools).
- Salesforce Agentforce Specialist (AI-201) Exam Guide covering Agent Scripts, reasoning, and action orchestration.

Exam Tip
A common exam pattern is distinguishing deterministic execution from LLM-driven reasoning:

- reasoning.actions → The LLM decides whether to call the action.
- run @actions. → The action always executes when that step is reached.

If a question includes phrases such as "must always execute," "guaranteed," "mandatory," "deterministic,"or "without relying on the reasoning engine,"the correct choice is typically the explicit run invocation.

Universal Containers wants to create a prompt template that consistently extracts a customer’s specific product model number and quantity from an email inquiry to draft a response back to the customer. Which best practice should UC implement to achieve this goal?

A. Incorporate open-ended questions to encourage detailed responses

B. Provide clear, positive instructions and use few-shot examples

C. Use a high temperature setting to increase creative output

B.   Provide clear, positive instructions and use few-shot examples

Explanation:

Why B is correct:
When creating a prompt template that needs to consistently extract specific structured data (like product model numbers and quantities) from unstructured text (an email) and then draft a response, precision and reliability are the top priorities.

Clear, positive instructions tell the LLM exactly what to do (e.g., "Extract the product model number and quantity from the following email. Format your response as a draft reply to the customer."). Positive instructions (telling it what to do rather than what not to do) reduce confusion and improve output quality.

Few-shot examples (providing 1–3 examples of input emails and the exact desired output format) are the single most effective technique for guiding an LLM to produce consistent, formatted outputs. Few-shot learning anchors the model to the specific schema, format, and extraction logic you expect, dramatically improving reliability for structured data extraction tasks.

Why A is incorrect:
Open-ended questions are useful for creative brainstorming or exploratory conversations, but they are counterproductive for structured data extraction. Asking open-ended questions (e.g., "What can you tell me about the product?") will result in verbose, unpredictable, and inconsistent outputs that do not reliably capture the specific model number and quantity fields. This approach introduces variability, exactly what you want to avoid for a template intended for consistency.

Why C is incorrect:
The temperature setting controls the randomness/creativity of the LLM's output. A high temperature increases randomness and creativity, which is useful for creative writing but disastrous for structured extraction tasks. High temperature would cause the model to hallucinate, vary its output format, and extract inconsistent information. For extraction and drafting responses, you want a low temperature (closer to 0) to ensure deterministic, repeatable, and accurate outputs—not high temperature.

References:
Salesforce Official Documentation: "Prompt Engineering Best Practices for Agentforce" – recommends using clear, explicit instructions combined with few-shot examples for structured extraction tasks to maximize consistency and accuracy.

When configuring a file upload-based Data Library, what are the maximum allowed file sizes for text or HTML files and PDF files, respectively?

A. Up to 100 MB for text or HTML files and up to 4 MB for PDF files

B. Up to 50 MB for both text or HTML files and PDF files

C. Up to 4 MB for text or HTML files and up to 100 MB for PDF files

C.   Up to 4 MB for text or HTML files and up to 100 MB for PDF files

Explanation:

When configuring a file upload-based Agentforce Data Library, Salesforce enforces different size limits depending on file type: files must stay within size limits of 4 MB for text/HTML and 100 MB for PDFs.

This distinction makes practical sense:
Text/HTML files are plain text-based and typically much smaller in raw size, so a 4 MB cap comfortably covers large documents while keeping processing fast.
PDF files often contain embedded formatting, images, and layout data that inflate file size well beyond their actual text content, so a much larger 100 MB cap is needed to accommodate real-world business documents (manuals, policy documents, catalogs, etc.) while Data Cloud extracts and chunks the underlying text content.

Why not A:
This reverses the limits — it's not 100 MB for text/HTML and 4 MB for PDFs. Text/HTML has the smaller limit (4 MB), and PDF has the larger limit (100 MB).

Why not B:
The limits are not the same for both file types (50 MB each). Salesforce applies distinct limits per file type as noted above.

Reference:
Salesforce Trailhead – Create a Data Library for AI Agents / Build a File-Based Data Library for an Agent: Ensure the files are within the size limits (4 MB for text/HTML, 100 MB for PDFs).

Before deploying a Retrieval Augmented Generation solution into production, an Agentforce Specialist wants to evaluate whether their individual custom retrievers are surfacing the most relevant chunks for specific queries without writing any code. Which tool should the specialist use to test the retriever?

A. The Retriever Playground

B. Agentforce Testing Center

C. Data 360 Query Editor

A.   The Retriever Playground

Explanation:

Option A (Correct):
The Retriever Playground is designed for no-code testing of retrievers. It allows specialists to input queries and directly observe which chunks are surfaced, making it ideal for validating relevance before production deployment.

Option B:
The Agentforce Testing Center is focused on regression testing of agents and subagents, measuring metrics like Subagent Pass % and Action Pass %. It does not provide direct visibility into retriever chunk relevance.

Option C:
The Data 360 Query Editor is used for querying structured data in Data Cloud. It is not intended for testing retrievers or evaluating semantic chunk retrieval.

Reference:
Salesforce documentation on Retriever Playground highlights its role as the declarative, no-code environment for testing retrievers and validating chunk relevance prior to production rollout.

Agentforce-Specialist Exam Questions - Home Previous
Page 11 out of 76 Pages