TECHNOLOGY & CERTIFICATION EDITORIAL

Microsoft AI-901: Generative AI and Agents

Generative AI and agentic AI now sit at the center of AI-901. The current exam expects candidates to understand how generative models work at a conceptual level, create effective prompts, deploy and interact with models in Microsoft Foundry, and build or test a single-agent solution. That is a significant shift from simply recognizing AI vocabulary.

The distinction between a chatbot and an agent is especially important. A chatbot may generate a response from conversation context. An agent can also use instructions, tools, data, and actions to pursue a goal. That added autonomy makes permission boundaries, architecture and governance more important.

A campus assistant may explain an appointment policy, but it cannot truthfully confirm a meeting until an authorized calendar operation succeeds. An agent adds tools, managed state and failure handling to ordinary generation. The action proposed by a language model is not the same as an executed business change. Microsoft AI-901 introduces these boundaries through a small agent, while Single-agent testing in Foundry should exercise tool timeouts, unauthorized calls and uncertain results rather than only successful conversations.

Understand what a generative model actually does

A generative model predicts and produces new content based on patterns learned during training plus the context supplied at inference time. It does not retrieve a guaranteed fact from an internal database every time it answers. That is why prompts, grounding, evaluation, and verification matter.

The model can produce fluent output that is still incorrect. A professional application therefore treats generation as probabilistic behavior that must be bounded by context, system instructions, and application logic.

Use system and user prompts for different purposes

System instructions define persistent behavior, role, constraints, or policy for the interaction. User prompts express the immediate request. Keeping these responsibilities separate makes the application easier to reason about and reduces the risk that every user message must restate the entire operating policy.

Prompt design should be explicit about the task, expected output, context, and constraints. Vague prompts create more variation, while structured instructions can improve consistency. AI-901 tests this at a foundational level rather than requiring advanced prompt-engineering theory.

Deploy models and call a simple Foundry client

Microsoft Foundry provides a workspace for selecting and deploying models, experimenting with prompts, and building applications around them. Candidates should understand the basic workflow: choose a model, create or use a deployment, test the behavior, and then call it from an application through the supported interface.

Testing in a portal is only the beginning. Real applications must also handle authentication, errors, latency, limits, and user input safely. The exam introduces that lifecycle without expecting the depth of a senior production engineer.

The current AI-901 objectives include creating a lightweight chat client with the Foundry SDK. The key concept is that an application sends structured requests to a deployed model and receives model output that it can display or process.

Candidates should be comfortable with basic Python syntax and the idea of creating a client, passing messages or prompt content, and handling a result. This is one reason the updated AI-901 is more hands-on than earlier fundamentals exams.

Define and test a single agent

An agent combines a model with instructions, state, tools, and potentially external knowledge. Instead of only generating text, it can decide that a task requires a tool call, use the result, and continue toward the goal.

Tool access creates a second decision beyond what the model proposes: what may the application execute? A support agent can recommend a product replacement without receiving authority to change a payment amount. Narrowly scoped tools and validated parameters reduce the blast radius of mistakes, while a downstream service must check identity, entitlement and approval independently of the conversation.

AI-901 focuses on creating and testing a single-agent solution. That is a useful design discipline: prove that one agent has clear instructions, appropriate tools, useful grounding, and predictable behavior before adding multiple specialized agents.

More agents create more handoffs, identities, failure modes, and debugging complexity. A multi-agent architecture should solve a real coordination problem rather than exist because agentic AI is fashionable.

Ground and evaluate the agent result

Generative models benefit from grounding when the application must answer from trusted organizational information. Retrieval can supply relevant documents or records at runtime so the model has current context instead of relying only on training knowledge.

Grounding improves factual relevance but does not remove the need for authorization. An application should retrieve only information the user or workload is allowed to access. Otherwise the AI layer can accidentally widen data exposure.

Agent testing should include more than final-response quality. Teams should examine whether the agent chose the right tool, whether arguments were correct, whether failure handling is safe, whether the answer is supported by the available evidence, and whether the agent stays within its allowed scope.

A fundamentals-level agent test should ask a narrower question: did the agent choose the intended approved tool, pass valid arguments, respect the user’s permission boundary, and report the true outcome when the tool returned an error? Record one request that requires no tool, one permitted request and one request the tool must reject. That three-case comparison teaches the difference between generating a convincing answer and safely executing an action without introducing an unrelated credential pathway.

Separate generated text from authorized actions

When a scenario says the model should answer naturally, think generation. When it must use trusted current data, think grounding or retrieval. When it must perform an operation, think tools or agent actions. When it must choose among steps, think agent reasoning and orchestration.

A useful single-agent exercise exposes the full chain from user intent to confirmed business state. The agent selects approved knowledge, proposes a tool action and receives a structured response. If a tool times out after accepting a write, the caller must reconcile a durable operation identifier before trying again. That uncertain case teaches more about dependable orchestration than an additional happy-path tool demonstration.

Design tools as constrained capabilities

An agent tool should expose the narrowest useful operation. A tool named “manage customer account” is difficult to secure because it may imply many unrelated permissions. Separate tools for reading an order, creating a support case, or requesting a refund allow the agent framework to authorize and validate actions more precisely.

Tool outputs should also be structured enough for the agent to reason about them reliably. Clear schemas reduce ambiguity and make it easier for application code to validate arguments before a real-world action occurs.

Handle tool failure as part of the conversation design

External APIs fail, return incomplete data, or reject a request. An agent should not invent a successful outcome when a tool call fails. It needs explicit error handling, retry logic where appropriate, and a safe way to tell the user what happened.

This is a key difference between a demonstration and a production agent. In a demo, every dependency usually works. In real systems, reliability depends on how gracefully the agent handles timeouts, permission errors, unavailable data, and partially completed actions.

Manage state and retrieval context

Conversation history can improve continuity, but retaining too much state increases cost, privacy exposure, and the chance that outdated context influences a later decision. Applications should decide what state is necessary, how long it should persist, and whether sensitive content should be excluded.

Agent state is part of the application architecture, not a magical property of the model. Clear state boundaries make the system easier to test, reset, audit, and govern.

Retrieval-augmented generation works best when the search stage returns a small set of relevant, authoritative passages. Sending an entire document library into the prompt is neither efficient nor reliable. Retrieval quality therefore becomes part of answer quality.

Metadata, access control, chunking, and ranking all influence which evidence reaches the model. The generative step cannot correct a retrieval process that consistently supplies the wrong source material.

Know when a workflow is better than an agent

A deterministic workflow is often preferable when the steps are fixed and the acceptable action sequence is known in advance. Agents are most valuable when the system must interpret an open-ended goal and decide which tool or step is appropriate.

A direct generation client may be the better choice when no tool selection or external action is required. A lightweight chat client can provide secure connection, bounded conversation state and response handling without autonomous execution. The first architecture question is whether an agent is needed at all.

Foundry model setup must establish that the chosen deployment is callable, while prompt and parameter design separates durable system instructions from the user’s immediate request. These checks apply before adding agent state and tools; a more complex workflow does not correct a weak client or an unavailable model.

Using an agent where ordinary orchestration is sufficient adds uncertainty and testing burden. Good architecture chooses autonomy only where it provides real value.

Observe actions and inform the user

Agents become more useful when they can act, but action creates operational risk. Applications should log which tool was selected, what arguments were supplied, what result came back, and which user or workload identity authorized the operation. That audit trail is essential when an agent behaves unexpectedly.

Where possible, design actions so mistakes can be reversed. Creating a draft for approval is safer than sending an irreversible message immediately; proposing a configuration change is safer than applying it with unrestricted privilege. Reversibility lets teams benefit from automation while preserving a recovery path.

High-impact actions may also require a human confirmation step. Human-in-the-loop design is not a failure of autonomy; it is a deliberate control for cases where the consequence of an incorrect action is greater than the benefit of fully automatic execution.

AI-901 focuses on a simple single-agent solution, but these operational principles explain why tool design and permission scope matter even in foundational agent architecture.

Agentic applications should make important actions visible. Users should know when the system is about to send a message, create a record, invoke a business process, or use a privileged tool. Clear confirmation reduces surprise and gives people a chance to correct a misunderstood request before the action becomes real.

This transparency also improves trust. A useful agent explains what it did and, where appropriate, which tool or source supported the result rather than hiding every step behind a conversational interface.

Back to Insights
Explore what matters. Knowledge that goes beyond the exam.
Explore ExamTopics