Lesson 5 of 26 · see all lessons
  1. Start here: the exam, Python basics and responsible AI (skill area 1, 40-45%)

    1. 1. Start here: the AI-901 exam, the plan and what you already know
    2. 2. The Python and Azure basics AI-901 expects
    3. 3. Responsible AI: the six principles in practice
  2. AI models: how they work, choosing and deploying (skill area 1)

    1. 4. How generative AI models work
    2. 5. Choosing the right AI model for the job
    3. 6. Deploying a model: deployment options and configuration parameters
  3. AI workloads: text, speech, vision and extraction (skill area 1)

    1. 7. Common AI workloads: from chat and agents to vision and extraction
    2. 8. Text analysis: key phrases, entities, sentiment and summaries
    3. 9. Speech: recognition and synthesis
    4. 10. Computer vision and image generation
    5. 11. Extracting information from documents, images, audio and video
  4. Generative AI apps and agents in Foundry (skill area 2, 55-60%)

    1. 12. Writing system and user prompts
    2. 13. Deploying a model and chatting with it in the Foundry portal
    3. 14. Building a lightweight chat client with the Foundry SDK
    4. 15. Creating and testing a single agent in the Foundry portal
    5. 16. Building a lightweight client app for an agent
  5. Text, speech, vision and extraction apps in Foundry (skill area 2)

    1. 17. Building a text analysis app
    2. 18. Building speech apps: spoken prompts and Azure Speech
    3. 19. Building vision apps: images in prompts and generated images
    4. 20. Extracting information with Content Understanding: documents and forms
    5. 21. Content Understanding for images, audio and video, and a small extraction app
  6. Final review and four mock exams

    1. 22. Final review and exam day: every decision on one page
    2. 23. Mock exam 1
    3. 24. Mock exam 2
    4. 25. Mock exam 3
    5. 26. Mock exam 4
See the leaderboard

17 min

Choosing the right AI model for the job

Pick a model from the Foundry model catalog by what it can do: chat, reasoning, embeddings, images, speech or vision.

By the end of this lesson you can

  • Tell Foundry Models sold by Azure from models from partners and community
  • Match a scenario to a model type: chat, reasoning, embeddings, image generation, audio or multimodal
  • Weigh task fit, quality, cost, latency, context window and region when picking a model
  • Use model cards, benchmarks and the model leaderboard to compare models

From earlier lessons · 1 of 2

Which statement about embeddings is true?

Pick one answer.

From earlier lessons · 2 of 2

A model must answer from a company handbook that changes weekly, without retraining. What should you use?

Pick one answer.

Fernhill's AI wish list has grown. Answer customer chats. Plan a 14-stop tour that fits budgets, visas and train times. Find reviews by meaning, not keywords. Create brochure images. Read itineraries aloud. The owner asks, "Can't one model do all of that?" Some of it, maybe. But the exam wants you to pick the model built for each job.

[2]

The Foundry model catalog

Exam depth: know it cold.

The model catalog in the Foundry portal is where you find, compare and deploy models. It's split into two categories:

Foundry Models sold by Azure.Foundry Models from partners and community.
Who sells and supports it.Microsoft, under Microsoft Product Terms.The model provider.
Examples.All Azure OpenAI models, plus selected models from other top providers.Models from research labs, partners and the community.
Support and SLA.Microsoft support and Azure service-level agreements.Varies by provider.
Best for.Deep Azure integration, guaranteed support.Specialized or niche capabilities, the newest research.

An SLA (service-level agreement) is a written promise about uptime and support.

[34][40]

A bank needs a chat model billed through its Azure subscription, supported by Microsoft and covered by an Azure SLA. Which part of the catalog should it pick from?

Pick one answer.

[40]

Model types by capability

Exam depth: know it cold.

Model typeInput, outputPick it when the scenario says...
Chat (completion)Text in, text out.Answer questions, draft emails, summarize, chat.
ReasoningText in, text out, after extra thinking.Complex multi-step problems: planning, math, code, comparing contracts.
EmbeddingText in, a vector out.Semantic search, similarity, finding passages for RAG.
Image generationText in, an image out.Create new pictures from a description.
Audio (speech)Speech in, text out; or text in, speech out.Transcribe calls, read text aloud, voice conversations.
MultimodalText plus images (and sometimes audio) in.Describe a photo, answer questions about a chart or scanned page.

In the catalog, filter by inference task (such as chat completion or embeddings) or by capabilities (such as reasoning or tool calling).

[34][36][40][41]

Match

Match each Fernhill job to the model type built for it

Pick an item on the left, then its match on the right.

[34]

Chat models vs reasoning models

Exam depth: know it cold.

A reasoning model spends extra time working through a request before it answers. It's strongest at science, coding, math, multi-step planning and spotting subtle differences between documents.

That extra thinking produces reasoning tokens. You don't see them, but they fill the context window and you pay for them as output tokens. So a reasoning model is usually slower and costs more per request.

Decision rule: a quick, everyday reply means a chat model. A hard problem with many steps or constraints means a reasoning model.

[41]

A law firm needs to compare two 40-page contracts and list every subtle difference in obligations. Response time isn't important. Which model type fits best?

Pick one answer.

[41]

Fernhill wants to turn 50,000 reviews into vectors so staff can search them by meaning. Which model should it deploy?

Pick one answer.

[35]

One model for everything sounds simple, until it's asked to paint a brochure and plan 14 train connections at once. Picture: Flat vector infographic style, clean shapes and pastel colours.

How to choose: the selection criteria

Exam depth: know it cold.

Once you know the model type, compare models of that type on these points.

  • Task fit and modality: does it accept the input you have and produce the output you need?
  • Quality: how well it scores on benchmarks for your kind of task.
  • Cost: price per input and output token, or per image or minute of audio.
  • Latency and throughput: how fast it answers. Real-time chat needs low latency.
  • Context window: can it take your longest prompt plus its reply?
  • Region availability: is it offered in the Azure region where your data must stay?
  • Responsible AI and safety: review the model card's limitations and safety scores.

You're responsible for choosing a model that suits your use case. The catalog won't do that for you.

[34][40][42]

Rendering diagram…
First pick the type from the input and output, then compare models of that type.

[34][42]

Small vs large: the trade-off

Exam depth: know it cold.

Bigger isn't always better.

  • Large language models handle a wide range of topics well. They cost more to run.
  • Small language models work well on focused tasks. They're cheaper and small enough to run locally or on devices at the edge, close to where data is produced.

Decision rule: words like "on the device", "offline", "low cost" or "narrow task" point to a small model. Words like "wide range of questions" or "general assistant" point to a large one.

[32][36]

A tour company wants a phrase-translation helper that runs on guides' tablets, even with no internet connection. Which choice fits best?

Pick one answer.

[32]

Model cards, benchmarks and the model leaderboard

Exam depth: recognize it.

  • Model card: each model's page in the catalog. It shows quick facts, details such as version and supported data types, benchmarks, existing deployments and the license.
  • Benchmark: a standard test that scores models on the same public data, such as reasoning, coding or math questions.
  • Model leaderboard (preview): ranks models by quality, safety, cost and throughput. You can compare two or three models side by side, and see trade-off charts.

Higher quality scores are better. For safety, a lower attack success rate means the model resists attacks better.

[40][42]

[42]

Exam-style practice

For this statement, select Yes if it is true. Otherwise, select No. "The Foundry model leaderboard lets you compare models on quality, safety, cost and throughput."

Pick one answer.

[42]

Guides upload photos of hotel rooms. The app must answer questions such as "Does this room have a balcony?" What kind of model should you deploy?

Pick one answer.

[34]

Two chat models score almost the same. Company policy says customer data must be processed in a specific Azure region. What should you check next?

Pick one answer.

[34][40]

FlashcardsIndex cardsFlashcards ⚡

Card 1 of 15

[34][40][41][42]

Worth keeping

  1. Sold by Azure = Microsoft support and SLAs. Partners and community = provider support, specialized models.
  2. Pick the type from input and output: chat, reasoning, embedding, image generation, audio, multimodal.
  3. Reasoning models think longer and cost more; use them for hard multi-step problems.
  4. Then compare on quality, cost, latency, context window, region and safety.
  5. Leaderboards shortlist; your own data decides.

Fernhill has picked its models. But a model in the catalog can't answer anything until it's deployed, and the deployment type decides cost, speed and where data is processed. Lesson 6 covers deployments and the settings that shape every reply.

Leaderboard

Loading…

50 XP for each lesson you finish, 10 for each right answer. Names show only for learners who turn on Show me on leaderboards.

Embed this practice on your site

Free for classrooms, blogs and study groups. Paste this into any page that accepts HTML.

Report a copyright problem with this lesson

Sources for this lesson (9)

Each fact in the lesson is marked with the number of the page it comes from.

  1. [2]Microsoft Learn: Study guide for Exam AI-901: Microsoft Azure AI Fundamentals
  2. [32]Microsoft Learn: Generative AI and agents (Introduction to AI concepts)
  3. [34]Microsoft Learn: Foundry Models sold by Azure
  4. [35]Microsoft Learn: Understand embeddings in Azure OpenAI
  5. [36]Microsoft Learn: Foundry Models from partners and community
  6. [37]Microsoft Learn: Understand retrieval-augmented generation
  7. [40]Microsoft Learn: Overview of Microsoft Foundry Models
  8. [41]Microsoft Learn: Azure OpenAI reasoning models
  9. [42]Microsoft Learn: Model leaderboards in Microsoft Foundry portal (preview)