Last Updated On : 8-Jul-2026


Salesforce Agentforce Specialist - AI-201 Practice Test

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

378 Questions
Salesforce 2026

Universal Containers has deployed a Service Agent to production that handles billing, returns, and technical support across 12 subagents, formerly known as topics. Following a business process change, the Agentforce Specialist updates the Billing subagent instructions to include a new refund escalation path. Within days, the customer experience team reports that billing interactions are intermittently routing to the General FAQ subagent instead. Which approach is most effective in helping to diagnose the cause and confirm the full extent of the impact?

A. Enable Utterance Analysis in the production org to review conversation logs for misrouted interactions, then iteratively adjust the Billing subagent instructions in Agent Builder until the misrouting rate falls below an acceptable threshold.

B. Replicate each suspected failure scenario manually in Agentforce Builder’s Conversation Preview, document the subagent selection results, and update the Billing subagent instructions before redeploying the agent.

C. Re-run the stored test suite in Agentforce Testing Center against the modified agent, review Subagent Pass % and Action Pass % metrics to isolate regressions, then extend the suite to cover the refund escalation path.

C.   Re-run the stored test suite in Agentforce Testing Center against the modified agent, review Subagent Pass % and Action Pass % metrics to isolate regressions, then extend the suite to cover the refund escalation path.

Explanation:

Option C (Correct):

The Agentforce Testing Center provides automated regression testing with metrics like Subagent Pass % and Action Pass %. By re-running the stored test suite, the Specialist can quickly identify regressions introduced by the Billing subagent changes, confirm the scope of misrouting, and extend the suite to cover the new refund escalation path. This ensures systematic diagnosis and compliance with best practices.

Option A:

Utterance Analysis is useful for reviewing logs, but it is reactive and manual. It does not provide regression metrics or systematic coverage. It is better suited for fine-tuning after regressions are already identified, not for confirming the full extent of impact.

Option B:

Manually replicating scenarios in Conversation Preview is time-consuming and error-prone. It cannot scale to cover all possible utterances or provide quantitative regression metrics.

Reference:

Salesforce documentation on Agentforce Testing Center highlights its role in regression testing, automated validation, and ensuring subagent routing accuracy after configuration changes.

Universal Containers has been building an agent using Canvas. It has created an “Issue Refund” action. Business rules dictate that refunds can only be issued if the customer’s Account Tier is “Platinum.” Currently, the agent relies on its system instructions to check the tier, but it occasionally hallucinates authorization and attempts to call the refund action for Standard customers, resulting in backend errors. How should the Agentforce Specialist use filters to deterministically ensure the agent cannot process the “Issue Refund” action unless the customer meets the criteria?

A. Update the agent’s system instructions with a strict rule to manually filter out any refund requests if the customer’s account tier is not Platinum.

B. Apply a text filter to the Agent Session that automatically blocks the word “refund” from the user’s prompt unless they are a Platinum customer.

C. Configure an Action Condition filter on the “Issue Refund” action so that it is only available to the agent when Account Tier equals “Platinum.”

C.   Configure an Action Condition filter on the “Issue Refund” action so that it is only available to the agent when Account Tier equals “Platinum.”

Explanation:

Relying purely on natural language system instructions (probabilistic control) to enforce strict business rules or security compliance often leads to hallucinations. When a rule is absolute—such as a security or financial restriction—you must use deterministic guardrails.

Why C is correct:

Agentforce allows administrators to set Action Conditions (or Action Visibility filters) on individual actions. These function exactly like conditional visibility rules elsewhere in Salesforce. By setting a condition where Account Tier EQUALS Platinum, the Agentforce runtime evaluates the current record context or session data before presenting the action to the LLM.

If the customer is a "Standard" tier, the action is hidden from the agent's available toolset entirely. Because the agent does not even know the action exists for that customer, it is physically impossible for it to invoke it, completely preventing backend errors.

Why A is incorrect:

This is what Universal Containers is currently doing. System instructions are probabilistic; while they reduce unwanted behavior, they can still be bypassed or hallucinated under certain conversational contexts.

Why B is incorrect:

Text filtering or blocking keywords like "refund" is brittle, negatively impacts user experience, and does not gracefully handle natural variations in human speech (e.g., a customer saying "I want my money back").

Reference:

Salesforce Agentforce Documentation: Manage Agent Actions. Action conditions let you control when an action is available to an agent based on user permissions, record data, or session variables. This ensures compliance and prevents the agent from executing unauthorized tasks.

A customer wants to analyze complete agent interactions, from the initial user request through to the final resolution, to better understand agent behavior and response quality. Which Agentforce feature should an Agentforce Specialist recommend?

A. Agent Inspection

B. Agent Insights

C. Agent Optimization

A.   Agent Inspection

Explanation:

Option A (Correct):

Agent Inspection provides full visibility into the entire agent interaction lifecycle — from the initial user request through to resolution. It allows specialists to review transcripts, actions taken, and outcomes, making it the right tool for analyzing agent behavior and response quality.

Option B:

Agent Insights focuses on aggregated performance metrics and trends (e.g., deflection rates, escalation volumes). It does not provide detailed inspection of individual interactions.

Option C:

Agent Optimization is about improving agent performance through tuning and configuration changes. It is not designed for analyzing complete interaction histories.

Reference:

Salesforce documentation on Agentforce Observability highlights that Agent Inspection is the feature used to review full agent sessions for compliance, quality assurance, and behavioral analysis.

Universal Containers has developed an agent for loan origination workflows that must handle both non-determinism and strict regulatory compliance requirements. The agent needs to ensure that identity verification and credit check steps execute in a precise sequence without deviation. Which statement correctly differentiates these two instruction patterns in Agent Script’s hybrid reasoning approach?

A. Declarative instructions require Flow execution for business logic, while procedural instructions are native to Agent Script but cannot access external systems or APIs.

B. Declarative instructions provide conversational flexibility through large language model interpretation, while procedural instructions use the -> prefix to enforce guaranteed execution order with run, if, and transitions.

C. Declarative instructions only work in Canvas View for visual editing, while procedural instructions require Script View and cannot be represented in the visual interface.

B.    Declarative instructions provide conversational flexibility through large language model interpretation, while procedural instructions use the -> prefix to enforce guaranteed execution order with run, if, and transitions.

Explanation:

This question tests your understanding of Agent Script's hybrid reasoning model, which combines:

• Declarative instructions for AI-driven, flexible reasoning.
• Procedural instructions for deterministic, rule-based execution.

Because the loan origination workflow includes regulatory compliance (identity verification followed by a credit check in a mandatory sequence), the agent must use procedural instructions for those critical steps.

Why B is correct

Agent Script supports two complementary instruction patterns:

Declarative instructions

• Written in natural language.
• Interpreted by the LLM.
• Allow conversational flexibility and adaptive reasoning.
• Suitable for tasks where the agent can decide how best to respond.

Procedural instructions

• Use the -> syntax.
• Support constructs such as run, if, and transitions.
• Execute in a deterministic, predefined order.
• Ideal for workflows where compliance or business rules require specific sequencing.

For regulated processes like:

• Verify identity
• Perform credit check
• Continue only if verification succeeds

procedural instructions ensure the sequence cannot be skipped or reordered.

Why the other options are incorrect

A. Declarative instructions require Flow execution...

This is incorrect because:

• Declarative instructions are interpreted directly by the LLM.
• They do not require Salesforce Flow to implement business logic.
• Procedural instructions are not limited in the way described and can invoke actions that access external systems and APIs.

❌ Misrepresents both instruction types.

C. Declarative instructions only work in Canvas View...

This is incorrect because:

• Declarative and procedural instructions are language constructs, not features restricted to a particular editor.
• They are not differentiated by Canvas View versus Script View.

❌ Confuses editing interfaces with execution semantics.

Salesforce References

This topic is covered in Salesforce resources related to Agentforce and Agent Script, including:

• Agentforce Developer Guide – Agent Script syntax and hybrid reasoning.
• Trailhead: Build AI Agents with Agentforce – Declarative versus procedural instruction patterns.
• Salesforce documentation on deterministic execution in Agent Script.

An Agentforce Specialist is building a multi-step onboarding workflow using agent actions. The workflow includes four sequential steps: account creation, profile setup, settings configuration, and finalization. After the create account action executes, the system must immediately send a verification email without requiring an additional user interaction. Which approach should the specialist use to ensure the verification email is automatically triggered after account creation?

A. Add the send verification logic inside the procedural instructions so it executes before profile setup finishes

B. Configure the send verification action to be available when account_created equals True and wait for the agent to call it in the next step

C. Use the keyword run within the create account action to chain the send verification action as a follow-up

A.   Add the send verification logic inside the procedural instructions so it executes before profile setup finishes

Explanation:

To ensure the verification email is automatically triggered immediately after the account creation action (without requiring additional user interaction or relying on the reasoning engine to decide the next step), the specialist should add the send verification logic inside the procedural instructions of the relevant topic/action.

In Agent Script:

Procedural instructions (often marked with ->) run deterministically every time the topic/action executes.
This is the best way to enforce strict sequencing in multi-step workflows (e.g., account creation → immediate verification email → profile setup).

You can chain actions directly using statements like run @actions.send_verification_email within these instructions.

This guarantees execution right after account creation, independent of LLM reasoning.

Why Not the Others?

B:

This relies on the reasoning engine deciding to call the action in a later step based on a condition (account_created == True). It is not guaranteed to be immediate and introduces non-determinism.

C:

While the run keyword is used for chaining actions in Agent Script, simply using it inside the "create account" action (without proper procedural context) may not enforce the exact automatic, no-interaction behavior described. Procedural instructions provide the strongest guarantee for sequential automation.

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