Study guide
Esta página aún no está disponible en tu idioma.

Study guide for chapter 16 of the Data Architect course. Read the four modules first; this page helps you check what stuck.
About this study guide. It’s built only from this course’s own content and the published Salesforce exam guide’s list of objectives. It is never based on real exam questions, and it doesn’t claim to know what’s on the exam. If you’ve taken the exam, please don’t send me questions from it: the certification agreement forbids sharing them, and memorizing answers is the wrong way to become an architect anyway.
The current exam guide predates agents, so nothing in this chapter maps to an exam objective. That doesn’t make it optional: it’s the data architect’s part of making an agent trustworthy. So the checklist below is what you should be able to do, not what the exam asks.
For the Exam
Section titled “For the Exam”Nothing here is on the current exam. Tick these off as the skills an architect needs; each links to where it’s taught.
Grounding
- I can tell grounding (verifiable external evidence) from context (everything supplied to the model), and know RAG is one way to ground, not the only one. (Grounding is bigger than RAG, Context is not the same thing as grounding)
- I start from the evidence the agent needs for its job, and give it the smallest useful set of authoritative, complete context. (Start with the job, not the data, More context isn’t necessarily better)
- I decide what a conversation turns into: context that’s gone, memory with its own rules, or a validated record in the system that owns it. (Context, memory or record?)
- I know where grounding can come from in Salesforce: records, Data 360, external systems, knowledge and documents, and action results. (Where can grounding come from in Salesforce?)
Choosing the pattern
- Known fact → deterministic access; relevant knowledge → retrieval; and many decisions compose both. (Don’t search for a fact you already know how to find, One decision can use multiple grounding patterns)
- I filter what I know and search what I don’t (the partner, the version in force, the document type, before searching by meaning). (Metadata can narrow the search before meaning does)
- I know chunking can change the meaning of the evidence (a rule without its exclusion). (Chunking determines what the agent can retrieve)
- I check every path at agent volume: selective, limited, and checked with the Query Plan. (The tireless assistant)
- I know the Salesforce paths: Data 360 search indexes and retrievers (vector and hybrid, filters, citations), Agentic Data Library, and actions and APIs. (Salesforce gives us multiple grounding paths)
Trusting it
- I check six things: relevant, authoritative, current, complete, permitted, traceable, and whether that’s enough for the consequence. (Six questions about grounding)
- I know grounding provides evidence but doesn’t resolve conflicts; that needs rules, and material ambiguity should be surfaced, not guessed. (What happens when trustworthy sources disagree?)
- I set a grounding threshold proportional to the consequence, and revalidate volatile evidence before action. (Not every decision needs the same evidence threshold, Current at recommendation time may not be current at action time)
- I know provenance (where evidence came from) from a decision record (what was used at that moment). (Provenance and the decision record are different)
Proving it
- I test the failure cases I designed for, not just the happy path, in Testing Center. (Test the failure cases you designed for)
- I can read the retrieval-quality measures: context relevance, answer faithfulness, answer relevance, and what each points to, and I know Salesforce’s grounding accuracy measure and its 95% threshold (as of November 2026). (Retrieval quality gives us another layer of evidence)
- I know what Session Tracing and Agent Platform Tracing show, and that a trace is only as useful as the IDs and versions the evidence carries. (Session Tracing, Agent Platform Tracing)
- I follow the evidence: source, data, retrieval or lookup, context, reasoning, decision, action, and keep asking why until I reach the process and its owner. (Follow the evidence, Ask why until you reach the process)
- I move business calculations out of the instructions into deterministic logic. (Sometimes the right fix is deterministic logic)
Beyond the Exam
Section titled “Beyond the Exam”These are the habits from this chapter that an architect needs.
- Grounding anchors the model to evidence; the source of truth still matters.
- Don’t search for a fact you already know how to find. Ask the authoritative system.
- Start with the sObjects. Add semantic or hybrid retrieval when the shape of the information demands it.
- Four ways to find things: structure, words, meaning, or a hybrid. Choose from the question.
- The assistant is tireless. Agents retrieve far more often than people: keep every path selective and limited, and check it with the Query Plan.
- Finding something isn’t permission to use it.
- Retrieval is a route to the evidence, not the evidence itself.
- Relevant isn’t the same as authoritative, current or applicable. Retrieval can fail even when it works.
- Don’t duplicate data for an agent without an architectural reason.
- Organizational policy → user permissions → agent job → grounding.
- If a reasonable human shouldn’t decide with this evidence, neither should the agent.
- Recommendation and action can have different thresholds.
- A correct answer doesn’t prove the grounding is correct; a wrong answer doesn’t prove the model was wrong.
- Tracing can only tell you as much as the architecture makes identifiable: carry IDs, versions and timestamps.
- Use deterministic logic where the business requires deterministic behavior.
- Test the architecture decisions, not just how well the agent talks.
- The fix is often a data owner and a process, not a better prompt.
- Your test set runs every release, and every model change.
- Design → test → observe → improve.
- The data architect makes sure the agent has the right evidence; the broader agent architecture decides how it’s used.
Words to Know
Section titled “Words to Know”| Term | In one line |
|---|---|
| Grounding | Verifiable external evidence supplied to a model as context |
| Context | Everything supplied to the model to help it reason |
| RAG | Retrieval-augmented generation: find relevant content and supply it to the model |
| Deterministic access | Asking the authoritative system directly for a known fact |
| Semantic retrieval | Finding information by similar meaning rather than shared words |
| Hybrid retrieval | Combining meaning-based and keyword or structured retrieval |
| Named Query | A SOQL query an administrator defines once and exposes as a reusable API, for example to an agent |
| Retriever | A Data 360 component that finds and returns relevant indexed content |
| Composed grounding | Combining lookups and retrieval for one decision |
| Chunk | A section of a document indexed and retrieved on its own |
| Grounding threshold | The evidence standard required before an agent may rely on it, set by consequence |
| Provenance | Where a piece of evidence came from |
| Decision record | The evidence and rules actually used for a decision, at that moment |
| Context relevance | Did retrieval supply evidence relevant to the question? |
| Answer faithfulness | Is the answer supported by the supplied evidence? |
| Answer relevance | Does the answer address the question? |
| Session Tracing | Agentforce’s structured record of what happened in an agent session, stored in Data 360 |
| Agent Platform Tracing | Tracing of the Flow, Apex, prompts and services underneath an agent |
| Grounding accuracy | The share of sampled answers that are correct against the source data |
| Memory | What an agent keeps beyond one conversation, with its own rules |
Check Yourself
Section titled “Check Yourself”Short scenarios in the style of the course. Decide your answer before you open it.
1. The Recipient's agent needs this delivery's status and the window dispatch confirmed. The team plans to embed every delivery in a vector index. Your view?
It’s a known fact with a known source: look it up directly on the record, with a query or an action. Retrieval is for knowledge you need to find, not facts you know how to find. Reread Don’t search for a fact you already know how to find.
2. On Redrock's damage claim, retrieval finds exactly the right wording, in Keystone's claim policy. Which of the six checks failed, and what's the fix?
Relevant: semantically relevant, operationally irrelevant. Filter on what you know (the partner, the version in force, the document type) before searching by meaning. Reread Metadata can narrow the search before meaning does.
3. The finance agent credits a haul-away item. Redrock's policy credits damage reported within 30 days, and two paragraphs later excludes haul-away items. Hallucination?
Not necessarily: the agent may have received the rule without its exclusion, which is incomplete grounding caused by chunking or retrieval. Follow the evidence before blaming the model. Reread Chunking determines what the agent can retrieve.
4. Say two versions of Redrock's claim policy are both effective November 1, and neither says it replaces the other. Should the agent decide?
No. That’s material ambiguity: a reasonable person shouldn’t decide on it, so the agent should surface it and escalate rather than pick one. Reread What happens when trustworthy sources disagree?.
5. Retrieval returns Redrock's 30-day rule. The delivery was November 3 and the claim came on day 41, and the agent says it's inside the window. Which measure shows it, and where do you look?
Answer faithfulness is poor while context relevance is good, so the problem is how the agent used the evidence (instructions, reasoning, or logic that should be deterministic), not the data or retrieval. Reread Answer Faithfulness.
6. The finance agent recommends the $180 credit at 9:00, and a person approves it at 2:00. What should happen before the credit goes out?
Check the evidence that can change again, such as new photos and earlier claims on the same delivery, just before acting; Redrock’s policy probably hasn’t changed. And the claim number stays the idempotency key, so a second claim can’t produce a second credit. Reread Current at recommendation time may not be current at action time.
7. "We're building an agent, so we need vector search." Do you?
Not necessarily. Start with the sObjects: if the question depends on known fields, relationships and states, structured retrieval answers it with security and freshness you already have. Add semantic or hybrid retrieval when the information is unstructured or the question is about meaning. Reread Start with the sObjects.
8. An agent action caps each account's opportunities at 200, but it filters on an unindexed field. Some accounts have more than 10,000 opportunities. Is the cap enough?
No. The cap decides what the agent receives, not what the database reads: an unindexed filter on a skewed parent scans every child before the cap applies. Pair the cap with a selective, indexed filter, and check the action’s query with the Query Plan. Reread Caps don’t make a query cheap.
9. The agent decided a $180 credit, a person approved it, and the credit was written as $1,800. Was it a bad agent decision?
No. The reasoning and the decision were right; the failure happened in the action. Platform Tracing follows the work into the Flow or Apex underneath. Reread Agent Platform Tracing.
10. The agent keeps working out 20% of $900 as $360. The team plans another round of instruction changes. What would you ask instead?
Why a language model is doing a business calculation at all. Move it into an action, a Flow or Apex, that returns $180 every time, and let the agent call it and explain it. Reread Sometimes the right fix is deterministic logic.
Explore
Section titled “Explore”- Each module ends with its Salesforce references (Data 360 retrievers, hybrid search, Testing Center, Session Tracing and the observability infrastructure).
