Cert BuddyAI-901
Try it free
The AI-901 ExamImplement AI solutions using Foundry

Implement AI Solutions Using Microsoft Foundry

This skill group covers 55–60% of the AI-901 exam, representing the majority of scored questions. It tests practical knowledge of Microsoft Foundry, Microsoft's unified platform for building, evaluating, and deploying AI applications and agents. Candidates must understand the Foundry hub-and-project model, how to use Azure OpenAI Service through Foundry, generative AI concepts, AI agents, and how to implement computer vision, NLP, and document intelligence solutions via Foundry.

What is Microsoft Foundry?

Microsoft Foundry (formerly Azure AI Foundry and Azure AI Studio) is Microsoft's unified development platform for enterprise AI. It provides a hub-and-project organizational model: a hub is a shared infrastructure resource that centralizes compute, connections to Azure services (Azure OpenAI, Azure AI Search, Foundry Tools), and governance policies. Projects are created within a hub and represent individual AI applications. Each project can deploy models, run evaluations, and build prompt flows independently.

Foundry gives access to a model catalog containing hundreds of foundation models including Azure OpenAI models (GPT-4, GPT-4o, gpt-image, Whisper), open-source models from Hugging Face and Meta, and models from Mistral and Cohere. Models are deployed to managed endpoints and consumed via REST API.

Choosing a model based on its capabilities

Start with what the task needs, then pick a model that fits. The catalog includes foundation models, reasoning models, small language models, multimodal models, and domain-specific models, so models differ in what they can do. Embedding models support search and retrieval, and image-generation models create pictures from text. A model card describes what a model does, so read it before you choose.

To compare candidates, the model leaderboards in the Foundry portal rank language models on quality, safety, cost, and throughput, so you can weigh accuracy against price and speed. You can also try a model in the playground or evaluate it on your own data before you deploy it. You remain responsible for selecting a model that suits your use case.

Deploying a model and trying it in the portal

Before an app can use a model, you deploy it. In the Foundry portal, you open the model catalog, select a model, and review its model card. Then you select Deploy, using either the default settings or custom settings. By default, the deployment uses the model name, and you can change that name before deploying. Your code later uses the deployment name in the model parameter to route requests to that deployment. Models from partners and community require an Azure Marketplace subscription first; models sold by Azure, such as gpt-4o-mini, do not.

When the deployment succeeds, you land in the playground, a web-based interface where you type prompts and see the model's responses right away. The Code tab shows how to access the deployment from your own code. From the Models page, you can also view endpoint details and keys, adjust settings, or delete a deployment you no longer need.

Choosing deployment options and configuration parameters

When you deploy a model in Foundry, you choose a deployment type. It determines where your data is processed (global, data zone, or a specific Azure geography), how you pay, and how predictable performance is. The three main categories are standard (pay-per-token), provisioned (reserved capacity for steady, high-volume traffic with lower latency variance), and batch (discounted processing for large asynchronous jobs). For most workloads, the guidance is to start with Global Standard, and to choose a data zone or geography type when you have data residency requirements. Not every model supports every deployment type.

Configuration parameters shape each response. Temperature ranges from 0 to 2. Lower values, such as 0.2, make output more focused and concrete, while higher values, such as 0.7, make it more random and varied. Top_p also controls randomness, but in a different way. Change one of the two at a time, not both.

Generative AI and Azure OpenAI Service

Azure OpenAI Service provides access to OpenAI's GPT-4, GPT-4o, gpt-image, and Whisper models through Azure's enterprise infrastructure, with private networking, data residency, content filtering, and compliance certifications. Unlike using OpenAI's API directly, Azure OpenAI does not use submitted data to train OpenAI's base models.

Key generative AI concepts tested on the AI-901:

  • Large language models (LLMs): Transformer-based models trained on massive text datasets; they predict the next token given a context window
  • Prompt engineering: Designing inputs (prompts) to guide LLM outputs; includes zero-shot, few-shot, chain-of-thought, and system message techniques
  • Retrieval-augmented generation (RAG): Grounding LLM responses in retrieved documents from a knowledge base (Azure AI Search) to reduce hallucinations
  • Content filtering: Azure OpenAI's built-in safety system that blocks harmful content in inputs and outputs across four categories: hate, sexual, violence, and self-harm
  • Grounding: Providing factual context in the prompt so the model's output is anchored to real information rather than generating unsupported claims

How generative AI models work

A large language model learns to predict the next token in a sequence. Training starts with tokenization: the text is broken into tokens, which include words, parts of words, and punctuation, and each token gets a unique ID. Each token is then given a vector, which is a list of numbers. A transformer model refines these vectors into embeddings that capture meaning and how tokens relate to one another in context.

The transformer has two blocks. The encoder builds the embeddings by using attention, which weighs how strongly each token is influenced by the tokens around it. The decoder uses those embeddings to work out the most probable next token for a prompt. To generate a response, the model predicts one token after another.

Writing system and user prompts

A prompt is the input you give a generative model. With the Chat Completion API, the prompt is sent as a list of messages, each with a role: system, user, or assistant. The system message holds the instructions that tell the model what to do. The user message holds the person's request or question. The assistant role holds the model's replies, and you can add example user and assistant exchanges after the system message to show the behavior you want.

Effective prompts are specific. "Write an introduction for a weekly newsletter" works, but a version that names the company and the points to mention gives the model much more to work with. Clear instructions, a stated output structure, and a few examples (few-shot prompting) usually beat a vague request. A prompt with no examples is called zero-shot. Remember that the model predicts the most likely next words, so give it the context it needs.

Building a chat client with the Foundry SDK

A lightweight chat client is a small app that sends a user's message to a model you have deployed in Microsoft Foundry and displays the reply. You build it with the Foundry SDK, which is available for languages including Python, C#, TypeScript, and Java. In Python, the azure-ai-projects package provides the project client.

The app follows a short pattern. First, it connects to your Foundry project by using the project endpoint and a credential, such as DefaultAzureCredential, after you sign in with the Azure CLI. Next, it gets a client for sending model requests. Finally, it sends the user's text as input, names the model deployment to use, and reads the text of the response.

Remember the ingredients: a deployed model, a project endpoint, and authentication. The SDK handles the calls between your app and the model.

Agentic AI workloads

An AI agent is an AI system that perceives its environment, makes decisions, and takes actions to achieve a goal, autonomously, across multiple steps. Agents use tool calling (function calling in Azure OpenAI) to invoke external APIs, search the web, execute code, or query databases as part of generating a response.

Multi-agent systems coordinate several specialized agents, each with a defined role. Orchestration frameworks like Semantic Kernel and AutoGen manage agent coordination. The Foundry Agent Service provides managed infrastructure for building and deploying production agents.

Creating and testing an agent in the Foundry portal

You can create a single agent without writing code. In the Foundry portal, open your project, select Agents in the Build section, and select Create agent. Give the agent a name and select the model deployment it will use. You can also give it instructions that say what to do and how to do it, for example "You are a helpful agent that can answer questions about geography."

An agent defines core behavior. Once it is created, it gives consistent responses without you repeating the instructions in every request, and you can update or delete it at any time.

To test the agent, chat with it in the playground. Ask a question, then ask a related follow-up. If the follow-up is answered in context, the agent is keeping the conversation history across turns. Once the agent works as you expect, a client application can talk to it.

Building a client app for an agent

Once you have created and tested an agent, a lightweight client application lets people talk to it. The agent holds the core behavior: in Microsoft Foundry you define it with a name, a model deployment, and instructions, and you can update or delete it at any time. Because the agent carries those instructions, the client does not need to repeat them in every request.

The client connects to your Foundry project with the project endpoint and a credential, just as a chat client for a model does. It then starts a conversation and sends the user's messages to the agent within that conversation. The conversation keeps its history, so a follow-up question such as "And what is the capital?" is understood in context.

In short, the agent defines the behavior, and the client app supplies the user's messages and displays the replies.

Computer vision via Foundry

Azure AI Vision capabilities accessible through Foundry include: image analysis (describing image contents, detecting objects, reading text), object detection (locating and classifying objects with bounding boxes), OCR (extracting text from images and documents), and image generation (text-to-image with gpt-image models via Azure OpenAI).

Using images in prompts

Some models deployed in Microsoft Foundry are multimodal: they accept images as well as text in a prompt. Microsoft describes vision-enabled chat models as large multimodal models that can analyze images and answer questions about them. Current examples include the GPT-4o series and the GPT-4.1 series. To use one, you deploy a supported model and then send a request that contains both an image and a text instruction.

You can try this without writing code in the Foundry portal chat playground. Upload an image with the attachment button, enter a prompt such as "Describe this image," and the model replies with a description. You can then ask follow-up questions about the same image. When you are ready to build, you call the Chat Completion API on the deployed model from your own code. The key idea: the model reads the image and your text together.

Building a vision app

A lightweight vision application sends an image to a vision service and shows what comes back. With Azure Vision in Foundry Tools, you create a resource, which gives you a key and an endpoint, and use the Image Analysis client SDK, which is available for languages including Python, C#, Java, and JavaScript. Your code creates a client from the endpoint and key, calls the analyze method on an image, and requests visual features such as a caption (a one-sentence description) or Read (text found in the image). The app then prints or displays the results. Keep the key out of your code by using environment variables or Azure Key Vault.

If you prefer a multimodal chat model, the app can instead send the image and a text prompt to a deployed model, as described in the previous section.

Creating images with generative models

Image generation models create new images from a text prompt, and some can also use an image that you provide as input. For Azure OpenAI in Microsoft Foundry, the image generation models are the gpt-image series, so the first step is to deploy one in your Foundry resource. The older DALL-E 3 model was retired on March 4, 2026, and is no longer available for new deployments.

You can try image generation in the Foundry portal first. In your own code, you call either the image generation API or the Responses API with a prompt that describes the picture you want, plus options such as image quality (low, medium, or high for the GPT-Image-1 model). The newer gpt-image models return the image as base64 data instead of a URL, so your app decodes it before displaying or saving it. The key idea: the prompt describes the picture, and the deployed model produces it.

NLP and speech via Foundry

Azure AI Language provides text analytics capabilities: sentiment analysis, key phrase extraction, named entity recognition (NER), language detection, text summarization, question answering, and conversational language understanding (CLU). Azure AI Speech handles speech-to-text transcription, text-to-speech synthesis, speaker recognition, and real-time speech translation. Azure AI Translator provides text and document translation across 100+ languages.

Building a text analysis app

A lightweight text analysis application sends text to Azure Language in Foundry Tools and shows what comes back. Azure Language is a cloud-based service with natural language processing features for understanding and analyzing text, including sentiment analysis, key phrase extraction, language detection, named entity recognition, PII detection, and summarization. You can use most of these features in Microsoft Foundry without writing code, then call the same service from your own app through REST APIs or client libraries.

Each technique returns a different kind of result. Sentiment analysis labels text as positive, negative, neutral, or mixed, and opinion mining ties those opinions to specific aspects of the text. Named entity recognition finds items such as people, places, organizations, and dates and tags each with a category. Key phrase extraction returns the main concepts in the text as a list. Summarization condenses a long passage into a short one. Language detection returns the language the text is written in.

To build the app, you create an Azure Language resource, which gives you a key and an endpoint. Your code uses them to authenticate each request, passes in a text sample, and reads the results, such as the sentiment it expresses. For production apps, store the key in a secure place instead of hard-coding it.

Building a speech app

A lightweight speech application uses Azure Speech in Foundry Tools to convert between spoken audio and text. Speech to text transcribes audio into written words, and text to speech reads text aloud in a synthetic voice. You can try both in the Foundry portal first: upload an audio file to see its transcript, or choose a prebuilt voice, enter sample text, and play it. The portal can also show sample code for the feature you tried.

To add the feature to your own app, you use the Speech SDK, which is available in languages including Python, C#, Java, and JavaScript. The app sends audio from a microphone or a file to be recognized, or sends text to be synthesized, and then shows the transcript or plays the audio. Remember the pair: recognition turns audio into text, and synthesis turns text into audio.

Speech recognition and synthesis features

Azure Speech offers several ways to recognize speech. Real-time transcription handles streaming audio, such as live captions. Fast transcription handles pre-recorded files, and batch transcription processes large volumes of audio asynchronously. If the audio has background noise or industry jargon, a custom speech model can improve accuracy.

For synthesis, neural voices are humanlike voices powered by deep neural networks. You can choose a standard voice or create a private custom voice that is unique to your brand. Speech Synthesis Markup Language (SSML) lets you adjust pitch, pronunciation, speaking rate, and volume. Related features include speech translation, language identification, and pronunciation assessment.

Responding to spoken prompts with a multimodal model

Some models accept speech directly instead of text. The GPT Realtime API for speech and audio gives you access to models that support low-latency, "speech in, speech out" conversational interactions, as well as translations and transcriptions. It suits live interactions such as customer support agents, voice assistants, and real-time translators.

To use one, you start with a deployment of a GPT realtime model in a supported region, and your app then connects to that deployment. The Realtime API supports three connection methods: WebSocket for server-to-server work, WebRTC for browser and mobile apps that need low-latency audio, and SIP for telephony systems such as call centers. The API is turn-based, so the model can be interrupted by the user's speech and may be silent for short periods while it generates a response. The key idea: the deployed model takes the user's spoken prompt as input and can answer in speech.

Document intelligence and knowledge mining via Foundry

Azure Content Understanding in Foundry Tools extracts structured data from documents, images, audio, and video using prebuilt analyzers or custom analyzers that you define with a schema. Azure AI Search indexes content from multiple sources and provides full-text search, vector search, and hybrid search. In a RAG architecture, Azure AI Search serves as the retrieval layer: queries find relevant document chunks that are passed as grounding context to the language model.

How information is extracted from content

Azure Content Understanding in Foundry Tools works in two stages. Content extraction turns unstructured input into normalized text and metadata. For documents and images, it uses optical character recognition (OCR) to read text and recognizes layout elements such as paragraphs and tables. For audio and video, it transcribes speech and identifies key visual elements.

Field extraction then generates the structured values you defined in a schema. A field can be extracted as it appears in the content (documents only), classified into a set of categories, such as call sentiment, or generated, such as a summary of a conversation. Confidence scores from 0 to 1 and grounding, which points to where a value came from, help you verify results.

Extracting information from documents and forms

Documents and forms are the classic input for Azure Content Understanding in Foundry Tools. Its document analyzers handle complex documents in many formats and templates, such as contracts, loan applications, financial reports, receipts, and invoices. You pick an analyzer, either a prebuilt one or a custom analyzer that you define with a schema, and the service returns the key fields, clauses, and relationships it finds as structured data.

Two features help you trust the output. Each extracted value has a confidence score, so you can send low-confidence results to a person for review. Grounding shows where in the document a value came from, so the result is easy to verify. Azure Document Intelligence is part of these capabilities and provides high-accuracy, deterministic extraction from structured documents. LLM-powered analyzers handle complex, unstructured, and multimodal content.

Extracting information from images

Azure Content Understanding in Foundry Tools can also turn images into structured data. You define a schema that lists the fields you want, with a description and an output type for each one, and an image analyzer returns those values for every image you submit. Typical uses include pulling key details from images to build an index for a RAG chat experience, reading business charts and trends for reports, spotting defects such as scratches or cracks on a production line, and counting products on retail shelves. Because the output is structured, it is easy to send to databases, spreadsheets, or business systems.

Image analyzers are not designed for scenarios that depend mainly on text in the image. If your main goal is to read and analyze text, use a document field extraction schema instead. You can try image analysis without writing code in the Foundry portal, or call the REST API.

Extracting information from audio and video

Azure Content Understanding in Foundry Tools is not limited to documents and images. It uses generative AI to process documents, images, video, and audio and turn them into a user-defined output format. You define the output you want with a schema, so you get structured field values instead of a raw file, along with confidence scores that help you decide what needs human review.

Content Understanding includes prebuilt analyzers for industry scenarios, including call center analytics and media analysis. That means audio such as recorded customer calls, and video such as media files, can be processed with an analyzer built for that scenario. Pick the analyzer that matches the content type, and the service returns the result in a predictable format that your app or workflow can use.

Building an information extraction app

A lightweight information extraction application uses Azure Content Understanding in Foundry Tools to turn files into structured results. You create a Microsoft Foundry resource, set default model deployments so the service can call Foundry models, and copy the endpoint and key (or sign in with Microsoft Entra ID). Your code creates a client and picks an analyzer, which defines how content is processed and what to extract. Prebuilt analyzers cover documents, images, audio, and video, such as prebuilt-invoice for invoices.

Analysis is asynchronous: the app submits the file, waits for the operation to succeed, and then reads the result. The result includes the content as Markdown and fields with typed values and confidence scores. Remember the flow: choose an analyzer, submit content, and read the fields.

Frequently asked questions

Q: What percentage of the AI-901 exam covers Microsoft Foundry?
A: The "Implement AI solutions using Microsoft Foundry" skill group covers 55–60% of the exam. This is the largest skill group and includes generative AI, agentic AI, computer vision, NLP, speech, and document intelligence, all accessed through or alongside Foundry.

Q: How is Microsoft Foundry different from Azure AI Studio?
A: Microsoft Foundry (previously Azure AI Foundry) is the new name and expanded version of Azure AI Studio. Foundry added the hub-and-project organizational model, a broader model catalog, the Agent Service, enhanced evaluation tools, and deeper integration with Azure AI Search for RAG. The AI-901 uses the Foundry name; questions about Azure AI Studio on legacy practice materials refer to the same platform.

Q: What is the difference between Azure OpenAI Service and Foundry Tools?
A: Azure OpenAI Service specifically provides access to OpenAI's GPT, gpt-image, and Whisper models through Azure infrastructure. Foundry Tools is the broader umbrella for Microsoft's pre-built AI capabilities, such as Vision, Language, Speech, and Content Understanding. Both are accessible through Microsoft Foundry, and both are tested on the AI-901.

The Foundry skill group represents the majority of the exam. Practice these topics in Cert Buddy to build confidence before your exam date. Also review the AI concepts skill group (40–45%) →

Ready to try it?

600+ AI-901 practice questions, smart flashcards, and AI Insights grounded in live Microsoft Learn docs. Free, no credit card needed.

Start for free