AI-901 study notes · 55–60% of the exam

Implement AI solutions by using Microsoft Foundry

First draft for review. Check details against Microsoft Learn before relying on them.

What this area covers

Building with Microsoft Foundry: writing prompts, deploying models, building chat apps and agents, and using Foundry Tools for language, speech, vision and information extraction. This is the heaviest area, at 55–60%.

Prompts and models

  • System prompt: sets the role, tone, rules and output format for the whole conversation. User prompt: the request in each turn.
  • Good prompts are specific about the task, audience, constraints and format. Add few-shot examples and grounding data.
  • Getting started: pick a model in the model catalog, deploy it to get an endpoint, then try it in the chat playground.
  • Client apps use the Foundry SDK with the endpoint and credentials. Prefer Microsoft Entra ID over keys.
  • Chat calls are stateless, so the app sends the conversation history each time.
  • Content safety: filters screen prompts and responses for harmful content. Prompt shields detect jailbreak and injection attempts.

Agents

  • An agent is a model plus instructions, knowledge (files, search) and tools (code interpreter, functions and APIs).
  • Build and test in the Foundry portal's agents playground.
  • Client app pattern: create a thread, add a message, run the agent, then read the reply.
  • Evaluations score quality and safety against test data. Tracing and metrics show token use and latency.

Text and speech

  • Azure Language: language detection, key phrases, entities, sentiment and summarisation.
  • Multimodal models can answer spoken prompts directly from audio.
  • Azure Speech: speech to text, text to speech, speech translation and speaker diarisation.

Vision and image generation

  • Image input: send images to a multimodal model to describe them, read text or answer questions.
  • Image generation: use an image-generation model from the catalog. Apply safety filters and review output before publishing.

Information extraction

  • Azure Content Understanding uses analysers to extract structured fields from documents, images, audio and video, such as invoice totals, vehicle details or webinar summaries.
  • App pattern: submit the file to an analyser, then use the JSON result.

Exam tips

  • You must deploy a model before your app can call it.
  • To answer only from company documents, use retrieval-augmented generation and tell the model to decline when there's no source.