Study guide · Agentic AI
Knowledge Integration & Data Handling: NCP-AAI Domain 6 (10%)
Knowledge Integration & Data Handling is 10% of the NCP-AAI exam — how agents pull in external knowledge and ground answers in real data. Here's the RAG and data craft the exam expects.
What this domain covers
Knowledge Integration and Data Handling is about connecting an agent to information it was not trained on — documents, databases, APIs — and using that information reliably. NVIDIA's exam page summarises it as the integration of external knowledge and the management of diverse data types. The dominant pattern is retrieval-augmented generation (RAG), but the domain is wider than RAG: an agent also has to know when to query a database or call an API instead of searching text. At 10%, it ties with Cognition, Planning, and Memory as the heaviest domain outside the top four.
Choosing how the agent gets its knowledge
Scenario questions often hinge on picking the right channel for a piece of knowledge. Retrieval suits large bodies of text that change and must be cited. A live value — an order status, an account balance, today's stock level — should come from a tool call at query time, because any index of it is stale the moment it is built. Exact figures held in tables belong to a structured query, since vector similarity is good at meaning and poor at precise filters and arithmetic. Fine-tuning changes how a model behaves — a format, a tone, a narrow skill — and is a poor way to add facts that will change. A short document the user has just supplied can simply go into the context.
What the agent needs Leans toward Facts that change and must be cited ........... retrieval (RAG) Live values: status, balance, stock level ..... tool / API call at query time Exact figures, totals, filters on a table ..... structured query (SQL or API) A format, tone or narrow skill ................ fine-tuning or in-prompt examples A short document the user just pasted ......... put it straight into the context
Retrieval-augmented generation (RAG)
RAG grounds the model in external data: you retrieve passages relevant to the query, put them in the prompt, and have the model answer from them. It is how agents stay current and cite sources without retraining. The core RAG quality question is whether the right context was retrieved — if retrieval misses, the model has nothing accurate to work from.
query -> embed -> search vector store -> top-k passages
-> put passages in prompt -> model answers from them
# Garbage retrieval in -> wrong / hallucinated answer outEmbeddings, chunking, and vector search
Documents are split into chunks, each converted to an embedding (a vector capturing meaning) and stored in a vector database. At query time the question is embedded and the nearest chunks are retrieved by similarity. Chunk size is a real trade-off: chunks too large dilute relevance and waste context; too small lose surrounding meaning. Hybrid search — combining keyword and vector — often beats either alone.
Chunk too large: retrieves noise, wastes context tokens Chunk too small: loses surrounding meaning, fragments facts Hybrid search: keyword + vector — catches exact terms AND meaning
Retrieval quality and grounding
Grounding means the answer is supported by retrieved evidence, not the model's parametric guesswork. Techniques that improve it: re-rank retrieved passages by relevance, instruct the model to answer only from the provided context and say it does not know otherwise, and return citations so claims are traceable. These are the main defenses against hallucination in agentic systems.
Data handling: freshness, structure, and governance
Beyond retrieval, agents must handle data responsibly: keep the knowledge base fresh (stale data produces confidently wrong answers), query structured sources such as SQL and APIs as well as unstructured text, and respect access control so an agent never retrieves data the user is not allowed to see. Data quality and permissions are part of this domain, not an afterthought.
Ingestion is where most retrieval failures start
The retrieval step can only return what ingestion produced. Documents arrive as PDFs, slides, HTML, spreadsheets and scans, and each needs parsing that keeps its structure: a table flattened into a run of numbers, or a heading separated from the paragraph it governs, produces chunks that no query will match well. Good pipelines split on the document's own structure (sections, headings) rather than a blind character count, attach metadata to every chunk — source, date, version, region, and who is allowed to see it — and remove duplicates so five copies of an old policy do not outvote one current copy. One rule is easy to miss: vectors from different embedding models are not comparable, so changing the embedding model means re-embedding the whole corpus, not only new documents.
parse (keep tables + headings) → split on structure (section-aware chunks, some overlap) → attach metadata (source, date, version, region, access groups) → de-duplicate, drop superseded versions → embed (one model for the whole index) → index, with incremental updates as documents change
Diagnosing a retrieval failure
Measure retrieval separately from generation, or you cannot tell which half failed. For retrieval, a labelled set of queries with their known correct passages gives you recall at k: how often the right passage appears in the top k results. For generation, check faithfulness: does every claim in the answer appear in the passages supplied? With the two measured apart, most symptoms point at one fix.
Symptom Likely cause First fix Right document exists, never retrieved . chunking / embedding fit check recall@k on labelled queries Retrieved, but the answer ignores it ... noisy or too many passages rerank, lower top-k Product codes or exact names missed .... vector-only search add keyword search (hybrid) Answer quotes a superseded policy ...... stale or duplicated index re-index, filter on date/version User sees another team's documents ..... no permission filter filter on access metadata at query time
Worked scenario: an HR policy assistant
A company wants an assistant that answers employee questions about leave, expenses and benefits. The policies are PDFs, each country has its own variant, they are revised several times a year, and some documents are restricted to managers. Work through it as a set of data decisions. Retrieval is the right channel, because the material is text, it changes, and answers should cite the clause they rely on. Ingestion must keep each document's country, effective date and audience as metadata. At query time the retriever filters on the employee's country and access groups before ranking, so a manager-only document never reaches an ordinary employee's prompt, and filters out superseded versions so last year's rate is never quoted. The prompt tells the model to answer only from the supplied passages, cite them, and say so when the passages do not cover the question — then route the employee to HR. Updates are handled by re-indexing changed documents, not by retraining anything.
Worked scenario: numbers that live in a database
The same company's finance team asks the agent "what did we spend on travel in Q3, by region?". Embedding rows of a ledger and searching them by similarity is the wrong tool: similarity search cannot sum, group or filter by date precisely, and it will happily return a plausible-looking row from the wrong quarter. The right design gives the agent a tool that queries the database: a read-only role, a description of the tables it may use, queries that are parameterised or generated against that schema and validated before they run, and a row limit. Retrieval still has a place — it can supply the definition of "travel" from the expense policy — but the figure itself comes from the query, and the answer should say which query produced it.
Common misconceptions
"Bigger chunks give the model more context, so they are safer" — they dilute relevance and crowd out other passages. "Raising top-k always helps" — beyond a point it adds noise the model has to ignore, and costs tokens. "A long context window makes retrieval unnecessary" — it still costs tokens on every call, and models use material buried in a very long context less reliably than a few well-chosen passages. "Vector search handles everything" — exact identifiers and numeric filters need keyword search or structured queries. "Access control is the application's job, not retrieval's" — if the retriever can fetch it, the model can repeat it.
How this domain connects to the rest of the blueprint
Retrieval is a tool like any other, so how the agent decides to call it is Agent Development (15%) and Cognition, Planning, and Memory (10%), which shares this domain's 10% weight. Recall and faithfulness are the measurements Evaluation and Tuning (13%) asks about, and a stale index is one of the silent regressions in Run, Monitor, and Maintain (5%). The permission filter is also a Safety, Ethics, and Compliance (5%) control, and NVIDIA's own retrieval components appear in NVIDIA Platform Implementation (7%).
Worked example questions
Exam-style questions on this domain, with the reasoning spelled out. They are written for this guide rather than taken from the readiness test's question bank.
A customer asks an agent, "Where is my order right now?" Which channel should supply the answer?
- AA vector index of order records, rebuilt every night
- BA tool call that reads the live status from the order system at query timeCorrect
- CA model fine-tuned on last year's order history so it knows typical delivery times
- DA long system prompt containing a table of every open order and its latest status
A team switches to a new embedding model and embeds only newly added documents with it. Retrieval quality collapses. Why?
- AVectors from different embedding models are not comparable, so the corpus must be re-embeddedCorrect
- BThe new model needs a larger top-k to return the same passages
- CChunks must be made much larger whenever the embedding model changes
- DThe vector database needs a restart before it can use the new model
A retrieval-augmented assistant serves employees with different access rights. Where should the permission check happen?
- AIn an output rail that removes restricted facts after the answer is generated
- BIn the system prompt, telling the model not to reveal restricted documents
- CIn the retrieval query, filtered on the requesting user's access groupsCorrect
- DIn a weekly audit that reviews which documents each answer happened to cite
Sources and last verified
Exam figures on this page are read from the vendor pages below. Each date is when we last checked that page.
- NVIDIA-Certified Professional: Agentic AI (NCP-AAI) — last verified · www.nvidia.com/en-us/learn/certification/agentic-ai-professional/
- NVIDIA certification FAQ (retake terms) — last verified · www.nvidia.com/en-us/learn/certification/
Further reading