Study guide · Agentic AI
Cognition, Planning & Memory: NCP-AAI Domain 5 (10%)
Cognition, Planning & Memory is 10% of the NCP-AAI exam — how an agent reasons about a goal, breaks it into steps, and remembers across them. Here's what the exam expects.
What this domain covers
Cognition, Planning, and Memory is about how an agent thinks: how it turns a goal into a sequence of steps, decides what to do next, and carries information forward across a long task. It is 10% of the exam — the heaviest domain after the top four — because planning and memory are what separate a multi-step agent from a single prompt.
Planning and task decomposition
Hard tasks are solved by breaking them into smaller sub-tasks. You should know the main planning strategies: ReAct interleaves reasoning and acting one step at a time; plan-and-execute drafts the whole plan up front and then carries it out; and decomposition splits a goal into sub-goals handled in sequence or by sub-agents. Up-front planning is more predictable; step-by-step planning adapts better to surprises.
ReAct: think -> act -> observe -> think -> ... (interleaved) plan-and-execute: draft full plan -> run each step -> replan if needed decomposition: goal -> [sub-goal, sub-goal, ...] -> combine
Memory: working, short-term, and long-term
Agents use several kinds of memory. Working (short-term) memory is the live context window — the running conversation and recent tool results. Long-term memory persists across sessions in an external store, often a vector database, and is retrieved when relevant. People also distinguish episodic memory (what happened — past interactions) from semantic memory (durable facts the agent knows). The skill is deciding what to keep in-context versus what to offload and retrieve.
Working / short-term: the context window — recent turns + tool results Long-term (episodic): past interactions, stored and retrieved by relevance Long-term (semantic): durable facts / knowledge about the user or domain
Managing the context window
The context window is finite, so long tasks must manage it actively. Common techniques: summarize older turns into a compact running summary, retrieve only the memories relevant to the current step instead of stuffing everything in, and drop or compress stale tool output. Letting context grow unbounded raises cost and latency and eventually overflows the window.
Reflection and self-correction
Stronger agents review their own progress: checking whether a step succeeded, noticing when they are stuck or looping, and revising the plan. Reflection — having the agent critique its own trajectory and adjust — improves reliability on hard tasks at the cost of extra model calls. It pairs naturally with memory: the agent records what worked and avoids repeating mistakes.
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.
An agent works in an environment where each tool result often changes what the next step should be, and surprises are common. Which planning strategy fits?
- APlan-and-execute: draft the whole plan up front, then carry it out unchanged
- BA single prompt that asks the model for the final answer with no intermediate steps
- CReAct: interleave reasoning and acting, choosing each step from the last resultCorrect
- DA fixed workflow in code that runs the same sequence of tool calls on every task
Which statement about agent memory is accurate?
- AA larger context window gives an agent memory that persists across sessions
- BWorking memory is an external vector store that is queried at every step
- CEpisodic memory holds durable facts, while semantic memory holds past events
- DLong-term memory lives in an external store and is retrieved when relevantCorrect
An agent on a hard multi-step task sometimes repeats a failed action several times without noticing. Which capability addresses this most directly?
- AReflection: checking whether each step succeeded and revising the plan when stuckCorrect
- BA larger model, since a more capable model will not repeat a failed action
- CA higher temperature, so that each new attempt is more likely to be different
- DAppending every past tool output to the context so the agent sees all history
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