MockCertMockCert
Menu

Test yourself in exam conditions

A full Salesforce Certified Agentforce Specialist mock exam: 60 questions in 105 minutes, scored against the real exam's pass mark. Your first one is free.

Start a free mock exam
Domain 4 · 4 topics · about 21 minTopics in this domainTopics

Domain 4 · Overview

Overview

Up next: Given a scenario, test an agent using Testing Center. · 8 steps + check · 5 min

Domain 4 · Topic 1 of 4

Given a scenario, test an agent using Testing Center.

Step 1 of 8

Think first How do you plan an agent test in Testing Center so the results are trustworthy and nothing breaks along the way?

Why it matters: Questions describe a testing goal and ask which test type, test case source or Testing Center rule applies.

AI agents are non-deterministic, so you test them across many scenarios. Testing Center builds those scenarios for you and runs them at turn level or conversation level. Run it in a sandbox, because tests can change real CRM data.

Step 2 of 8

Term Meaning
Turn-level test Checks one agent response on its own, such as after a prompt change.
Conversation-level test Checks a full multi-turn conversation for whether the user's goal is met.
Test suite What you run against a chosen agent version; switching that version clears the worksheet results.
Testing Center API Automates test runs so testing fits your development workflow.

Step 3 of 8

Agents are non-deterministic, so one passing chat proves little. Test across a wide range of scenarios to confirm consistent, accurate answers. Do it in a sandbox, since testing agents can modify CRM data.

Exam trap Running Testing Center in production is risky. Tests can change CRM data, so use a sandbox.

Step 4 of 8

Match the test type to what you need to prove. A single response calls for turn level; a whole interaction calls for conversation level.

The two test types compared

Feature Turn-level Conversation-level
What it evaluates One response in isolation A full multi-turn conversation
Use it to Validate prompt changes or knowledge retrieval See if the agent achieves the user's goal

Step 5 of 8

Draft versions and Employee agents can't use conversation-level tests. Escalation isn't supported either; a triggered escalation ends the test conversation with a transfer message. In beta, an LLM can generate up to 20 test cases, and a CSV can supply up to 1,000. Conversations run up to 20 turns, with at most 3 suites running at once.

Step 6 of 8

Generate cases, build Q&A from knowledge, or upload your own. Testing Center can draw cases from the agent's subagents and actions. For knowledge tests, link the agent to a data library holding that content. You can also automate runs with the Testing Center API.

Step 7 of 8

Only committed agent versions appear in Testing Center. Switching versions clears the worksheet, but run history keeps past results. Creating tests needs Manage Agentforce Grids and Manage Agentforce Testing. Since Summer '26, Testing Center runs are unmetered, but the same suite run in Agentforce Grid consumes credits.

Exam trap Unmetered testing covers runs from Testing Center only. Running the suite in Agentforce Grid consumes Einstein Requests or Flex Credits.

Step 8 of 8

  • Use turn-level tests for one response and conversation-level tests for a whole interaction.
  • Commit an agent version before you look for it in Testing Center.
  • Escalation isn't supported in conversation-level tests.
  • Data 360 queries from Testing Center are still metered, even though test runs are not.

Sources: Agentforce Testing Center | Salesforce Help (opens in a new tab) · Create a Test Suite | Salesforce Help (opens in a new tab) · Considerations for Testing Center | Salesforce Help (opens in a new tab) · Test Agents | Salesforce Help (opens in a new tab)

Check

Check: Given a scenario, test an agent using Testing Center.

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Explain how Testing Center evaluations work. · 8 steps + check · 5 min

Domain 4 · Topic 2 of 4

Explain how Testing Center evaluations work.

Step 1 of 8

Think first How does Testing Center decide whether an agent's answer passed, and what can you add beyond the defaults?

Why it matters: Questions describe a test result or a testing goal and ask which evaluation or scorer explains or measures it.

Every test runs a set of default scorers, chosen by whether the test is turn-level or conversation-level. In the legacy Testing Center, you can add quality evaluations to the defaults. The response evaluation and custom scorers use an LLM as the judge.

Step 2 of 8

Term Meaning
Scorer A check that grades the agent's behavior in a test, such as the action or subagent check.
LLM judge An AI model that compares or assesses responses and assigns a score.
Expected Response The field holding the reply the agent should give, used to grade its actual reply.
Custom scorer A scorer whose criteria you write in a prompt template for the AI model to apply.
Turn-level vs conversation-level The two test levels. Each decides which scorers are available; Task Resolution, for example, is a conversation-level scorer.

Step 3 of 8

Default scorers run on every test. Which scorers you get depends on the test level. The subagent and action checks are named differently at each level, so read the name to tell which level a result came from.

The same two checks, named by test level

Check Turn-level test Conversation-level test
Subagent check Subagent Assertion Subagent Evaluation
Action check Action Assertion Actions Evaluation

Step 4 of 8

An LLM judge compares the expected and actual reply. The judge works out the expected response, compares it with the reply the agent recorded, and assigns a score. In conversation-level tests, Task Resolution returns pass or fail on whether the user's issue was resolved.

Exam trap Writing instructions such as "answer politely with the order date" in Expected Response produces inaccurate scores. Write the actual reply the agent should give.

Step 5 of 8

The action check wants the right actions and all of them. It confirms that the agent picks the correct actions for the utterance. It also confirms that none of the expected actions is missing.

Step 6 of 8

Three evaluations are defaults; quality evaluations are added. Legacy Testing Center runs response accuracy, subagent assertion and action assertion by default. You can add quality evaluations on top of them.

Legacy Testing Center evaluations and what each measures

Evaluation What it measures Default?
Completeness All important information from the utterance is covered No, added
Coherence Grammatical, conversational language, not raw data like JSON No, added
Instruction adherence Subagent instructions understood and fully followed No, added
Latency Test execution time, in milliseconds No, added

Step 7 of 8

Custom scorers put your criteria in a prompt template. The AI model applies that template to assess each session. A Labels scorer keeps outputs within a predefined set of approved values. For free-form output, pick Boolean, DateTime, Number, Text or URL as the data type.

Exam trap A failed run is not left blank. When the model cannot decide or the prompt fails, the scorer applies its Fallback Label.

Step 8 of 8

  • Default scorers always run; the test level decides which ones are available.
  • Subagent and action checks are Assertions at turn level and Evaluations at conversation level.
  • Expected Response holds the reply itself, never instructions about the reply.
  • Custom scorers are LLM-as-judge checks defined in a prompt template, with a Fallback Label.

Sources: Default Scorers | Salesforce Help (opens in a new tab) · Choose Evaluations | Salesforce Help (opens in a new tab) · Create Custom Scorers | Salesforce Help (opens in a new tab)

Check

Check: Explain how Testing Center evaluations work.

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Identify the considerations for deploying an agent from sandbox to production. · 9 steps + check · 5 min

Domain 4 · Topic 3 of 4

Identify the considerations for deploying an agent from sandbox to production.

Step 1 of 9

Think first What carries over automatically when you move an agent and its Data 360 setup from sandbox to production, and what must you redo?

Why it matters: Questions describe a sandbox-to-production move and ask which step is missing or what will not carry over.

A Data 360 sandbox holds metadata but no data. Library files and connection authorization do not copy over either. Data 360 changes move to production in a DevOps data kit inside a change set, but data library changes cannot be deployed.

Step 2 of 9

Term Meaning
Data kit The DevOps tool that, with a change set, deploys Data 360 changes to production; its components deploy in sequence.
Change set The package that carries changes into the target org over a deployment connection.
Deployment connection A connection set up in the target org so it can accept inbound change sets.
Data library Agentforce Data Library, which can be file-based and works in every sandbox type.
Data space A Data 360 space whose components a data kit can deploy; the data kit does not create the space itself.

Step 3 of 9

A Data 360 sandbox holds metadata only, no data. This is true even in Partial Copy and Full Copy sandboxes. Connections are copied, but their authorization data is not. You must configure each connection again in the sandbox.

Exam trap A Full Copy sandbox still has no Data 360 data. Only metadata is replicated when Data 360 is provisioned there.

Step 4 of 9

Use a DevOps data kit inside a change set. Create the deployment connection in the production org, because it is the target that accepts inbound change sets. Before deploying, create any sandbox data space in production by hand. The data kit does not create it.

Exam trap The deployment connection is not set up in the sandbox. It belongs in the production org that receives the change set.

Step 5 of 9

A failed component stops every component after it. Components publish in sequence, so the rest of the sequence is skipped. If the same data kit arrives in another change set, only the kit installs. Open it and click Deploy Data Kit to deploy its components.

Step 6 of 9

Data libraries work in every sandbox type, but files do not copy. Re-upload the files to each file-based data library. Each such library uses a retriever, which you manage in AI Models. Deactivate and reactivate that retriever so it works in the sandbox. Library changes made in a sandbox cannot be deployed to production or another sandbox.

Exam trap Do not plan to build data library changes in a sandbox and deploy them. That path is not supported, whether the target is production or another sandbox.

Step 7 of 9

Only committed versions of new-builder agents are listed. Uncommitted versions do not show in the Setup list view or the legacy builder. Changes to a standard asset do not update agents already built from it. Recreate the agent, or re-add the asset and redo your customizations.

Step 8 of 9

Voice agents need the livekit.cloud URLs in Trusted URLs. Starting in May 2026, Salesforce adds these URLs so voice agents can be previewed and deployed.

Step 9 of 9

  • Sandboxes get Data 360 metadata only; re-authorize connections and re-upload library files.
  • Deploy Data 360 changes with a data kit in a change set, through a connection made in production.
  • Create sandbox data spaces in production manually before deploying the data kit.
  • Data library changes cannot be deployed from a sandbox.

Sources: Test Data Libraries in a Sandbox | Salesforce Help (opens in a new tab) · Deploy Data 360 Changes Across Orgs | Salesforce Help (opens in a new tab) · Agentforce Builder Considerations | Salesforce Help (opens in a new tab)

Check

Check: Identify the considerations for deploying an agent from sandbox to production.

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Identify the considerations for deploying a template from sandbox to production. · 8 steps + check · 5 min

Domain 4 · Topic 4 of 4

Identify the considerations for deploying a template from sandbox to production.

Step 1 of 8

Think first How do you move a prompt template and the Data 360 setup behind it from a sandbox into production?

Why it matters: Questions describe a template built in a sandbox and ask how to deploy it or what will not move with it.

Prompt templates move like other metadata: in change sets, packages or with Salesforce CLI, with dependencies in mind. The Data 360 setup they ground on moves separately, in a data kit. Data, files and sandbox-only objects stay behind.

Step 2 of 8

Term Meaning
Change set A way to deploy prompt templates, limited by how component dependencies behave.
Data kit A DevOps package that, with a change set, moves Data 360 sandbox changes to production.
Component dependency Metadata a template relies on, which affects deployment by change set or CLI.

Step 3 of 8

Use a change set, a package or Salesforce CLI. A prompt template fits in managed, unmanaged or unlocked packages. With change sets and with the CLI, component dependencies shape what deploys. Check what the template relies on before you deploy.

Exam trap Packaging is not limited to one type. A prompt template can go in a managed, an unmanaged or an unlocked package.

Step 4 of 8

Turn on and configure Data 360 in production first. Production needs Data Cloud licenses and an active Data 360 tenant before a sandbox can activate it. Sandbox usage then consumes production credits. Sandboxes follow production limits, so the 200-MB Developer storage limit does not apply.

Step 5 of 8

A Data 360 sandbox has metadata, not data. All sandbox types are supported, yet even Full Copy sandboxes replicate no data. File-based data libraries also lose their files, so re-upload them in the sandbox.

Exam trap Choosing a Full Copy sandbox does not bring Data 360 data along. Only metadata is replicated in every sandbox type.

Step 6 of 8

Data 360 changes go to production in a data kit and change set. Objects created directly in the sandbox stay there and never deploy back. Data library changes made in a sandbox cannot be deployed to production or another sandbox either.

Exam trap Creating a Data 360 object straight in the sandbox does not get it to production. Such objects remain local to the sandbox.

Step 7 of 8

Clone only a sandbox in Active status. A sandbox being refreshed, maintained or deleted cannot be cloned. Cloning a configured sandbox brings over its identity resolution rules, data stream definitions, data model objects and their relationships.

Step 8 of 8

  • Deploy prompt templates by change set, package or Salesforce CLI, minding component dependencies.
  • Data 360 must be on and configured in production before a sandbox can use it.
  • Sandboxes carry Data 360 metadata only, and file-based libraries need their files re-uploaded.
  • Objects created directly in a sandbox and data library changes never deploy back.

Sources: Prompt Builder Limits and Considerations | Salesforce Help (opens in a new tab) · Data 360 in a Sandbox | Salesforce Help (opens in a new tab) · Test Data Libraries in a Sandbox | Salesforce Help (opens in a new tab) · Clone a Data 360 Sandbox | Salesforce Help (opens in a new tab)

Check

Check: Identify the considerations for deploying a template from sandbox to production.

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Domain 4 · after the last topic

Domain 4 review

Each topic's Check tested it on its own; this mixes them.

Mixed quiz

Take the Domain 4 quiz

6 questions mixed from every topic in this domain, each answer explained. Mixing topics is harder than one at a time, and it is what the exam does. No account needed; with a free account your answers also build your estimated exam score.

Flashcards

Domain 4 flashcards

8 cards with this domain's key facts. Flip each one and check what you knew. No account needed.

Test yourself in exam conditions

A full Salesforce Certified Agentforce Specialist mock exam: 60 questions in 105 minutes, scored against the real exam's pass mark. Your first one is free.

Start a free mock exam
Next domain · 10% of the examGovernance and Observability2 topics

Report a problem

On “”. Tell us what looks wrong; we read every report.

What is the problem?

Optional.