Your profile

One profile for every MSDEVBUILD site. Only you can see it, and the site owner if you write in.

Lesson 1 of 30
Next❯

What is AI? Machine Learning, Generative AI and Agents

Module 1: AI Concepts ⏱ 8 min read Updated

Your note

My notes for this lesson

Select any text in the lesson to highlight it or add a note. Saved in this browser.

    No highlights yet. Select a sentence in the lesson, then pick a colour or add a note.

    All my bookmarks and notes

    Reading settings

    For every lesson, saved in this browser.

    Text size
    Line spacing
    Font

    With IaaS you rent the virtual machine. Microsoft looks after the building, power and hardware; you patch the operating system.

    30-second answer

    Artificial intelligence (AI) is software that does things we used to think needed a human: understanding language, recognising images, making predictions and creating content. Machine learning is the main way we build AI (the software learns patterns from data), deep learning is machine learning with many-layered neural networks, generative AI uses deep learning models to create new text, images or audio, and an AI agent is a generative model that's been given instructions and tools so it can carry out tasks.

    Simulate it » No Azure account needed

    Exam objective: 1.3.1 Identify scenarios for common AI workloads, including generative and agentic AI, text analysis, speech, computer vision, and information extraction. 1.2.1 Describe how generative AI models work. (Skills measured as of April 15, 2026)

    Simulations

    Feel it before you read it. No account needed, nothing leaves this page.

    Azure portal: A first look at the Foundry portal Look around the Foundry portal, where AI apps get built.
    </> Embed

    Embed this simulation

    Free for trainers, teachers and bloggers. Paste this into your page:

    Loading the portal…

    The <strong>Foundry portal</strong> (ai.azure.com) is where AI apps get built. The left menu follows the work: <strong>Discover</strong>, <strong>Build</strong>, <strong>Operate</strong>.

    👆 Click the glowing item in the portal to continue

    Read the steps as text
    1. The Foundry portal (ai.azure.com) is where AI apps get built. The left menu follows the work: Discover, Build, Operate.
    2. Discover models from Microsoft, OpenAI, Meta, Mistral and more.
    3. Foundry Tools are ready-made AI services for speech, language, vision and extraction.
    4. Build is where you deploy models and create agents: a model plus instructions plus tools.
    5. Guardrails keep every app on the safe side, and Operate shows monitoring and traces.

    🧪 Simulation for learning. Screens are simplified versions of the Azure portal; names, prices and IDs are examples. Nothing here touches real Azure.

    😟 THE PROBLEM

    Your support team answers the same 200 questions every day.

    😊 THE SOLUTION

    Let AI handle the repeats so people handle the hard cases.

    • Staff drown in repeat questions✓ An AI assistant answers the common ones
    • Nobody answers at 2 AM✓ AI works around the clock
    • Forms are typed in by hand✓ AI reads them for you
    🛠️ Solved with: Artificial intelligence

    Start with a question

    Your phone unlocks when it sees your face, your email hides spam, and a chatbot just wrote your leave letter. Is all of that the same AI?

    They all feel like magic, but they’re doing different jobs. Face unlock recognises something. The spam filter predicts whether a message is junk. The chatbot creates new text that didn’t exist a second ago.

    All three are artificial intelligence. The words you keep hearing (machine learning, deep learning, generative AI, agents) are layers inside that one big idea. Once you see the layers, the rest of AI-901 gets much easier.

    Explain it like I’m 10

    Visual: machine learning in motion

    First, how a model learns from examples. Then, what’s going on inside the neural networks behind deep learning.

    ▶ Explainer video See it in motion 7 steps · 1 min 12 sec

    An animation contrasting a hand-written rule that fails on a green mango with machine learning: labelled examples go into training, a model comes out, and the model predicts a new fruit with a confidence score. It ends with regression, classification and clustering, and where machine learning sits inside AI.
    Read the video script
    1. Rules break on real lifeTry writing rules to spot a mango. Yellow and oval? Then a green mango turns up, and your rule gets it wrong.
    2. Show it examples insteadMachine learning flips this around. Instead of rules, you give the computer lots of examples, each one labelled with the right answer.
    3. Training finds the patternDuring training, the algorithm looks at features like colour, shape and size, and keeps adjusting itself until its guesses match the labels.
    4. Out comes a modelWhat comes out is a model, a file that captures the pattern it learned. That model is what you deploy.
    5. New data in, prediction outShow the model a fruit it has never seen, and it predicts the answer, with a confidence score. Using a model like this is called inferencing.
    6. Three kinds of predictionPredictions come in three flavours. A number is called regression. A label is classification. Groups of similar items are clustering.
    7. Where it fits in AIMachine learning is the main way we build AI today. Deep learning, and the generative AI built on it, both sit inside machine learning.
    ▶ Explainer video See it in motion 7 steps · 1 min 12 sec

    An animation of a single artificial neuron, then a network with an input layer, two hidden layers and an output layer. A photo’s pixels flow through it, early layers spot edges and later layers spot shapes, the output scores cat at 92 percent, and a wrong guess during training sends corrections back to adjust the weights.
    Read the video script
    1. One neuron, one tiny decisionA neural network is built from simple units called neurons. Each one takes some numbers in, weighs them, adds them up, and passes a signal on.
    2. Stack neurons in layersNeurons are arranged in layers. An input layer takes the data, hidden layers in the middle do the work, and an output layer gives the answer.
    3. Feed in a photoFeed in a photo, and every pixel becomes a number on the input layer.
    4. Each layer spots moreThe first hidden layer picks out edges. The next one combines them into shapes, like ears and whiskers.
    5. The output decidesThe output layer turns all of that into a score for each answer. Cat, ninety two percent.
    6. Wrong guess? Adjust the weightsDuring training, when a guess is wrong, like calling this dog a cat, the error is sent backwards through the layers and every weight gets nudged. Thousands of rounds later, the network is good at its job.
    7. Many layers = deep learningA network with many hidden layers is called deep learning. It powers speech recognition, image recognition and large language models.

    The technical explanation

    Artificial intelligence is any software that imitates a human ability: understanding language, seeing, listening, predicting, deciding or creating. The terms you’ll meet fit inside each other like nested boxes.

    LayerWhat it meansEveryday example
    Artificial intelligenceSoftware that behaves intelligently, by rules or by learningA spam filter, a chess program
    Machine learningA model learns patterns from example dataPredicting delivery time from past orders
    Deep learningMachine learning with many-layered neural networksRecognising faces, converting speech to text
    Generative AIDeep learning models that create new content from a promptDrafting an email, generating an image
    AI agentA generative model with instructions and tools that acts on a goalBooking a meeting room after checking calendars
    1. 1 AI

      Software that imitates human abilities.

    2. 2 Machine learning

      Learns patterns from data.

    3. 3 Deep learning

      Many-layered neural networks.

    4. 4 Generative AI

      Creates new text, images and audio.

    5. 5 Agents

      Model + instructions + tools, takes actions.

    Each layer builds on the one before it

    Predict versus create

    Traditional machine learning gives you a prediction: a number (the price of a flat), a label (spam or not spam) or a group (customers who behave alike). Generative AI gives you new content. A large language model, such as the GPT models or Microsoft Phi, writes text by predicting the next small chunk of text again and again. You’ll see how that works in the generative AI lesson.

    What makes an agent different

    A chat model answers a question. An agent is given a goal, instructions and tools (search your files, run code, call an API). It decides which tool to use, looks at the result and carries on until the task is done. In Microsoft Foundry you build agents with Foundry Agent Service.

    The five AI workloads in AI-901

    WorkloadInput → outputFoundry option
    Generative and agentic AIPrompt → new content or completed taskFoundry Models, Foundry Agent Service
    Text analysisText → sentiment, key phrases, entities, summaryAzure Language in Foundry Tools, or a language model
    SpeechAudio ↔ textAzure Speech in Foundry Tools, audio-capable models
    Computer visionImage → description, tags, text; prompt → imageAzure Vision in Foundry Tools, multimodal and image-generation models
    Information extractionDocuments, images, audio, video → structured fieldsAzure Content Understanding in Foundry Tools

    Where AI-901 fits

    AI-901 (Microsoft Azure AI Fundamentals) replaced AI-900, which retired on 30 June 2026. It has two domains: identify AI concepts and capabilities (40–45%) and implement AI solutions by using Microsoft Foundry (55–60%). The second domain is hands-on, so you’ll write a little Python against a Foundry project. Microsoft Foundry is the portal at ai.azure.com where you pick models, deploy them, build agents and use Foundry Tools.

    Architect level Does every AI solution need generative AI?

    No. A sentiment score for a million reviews, a transcript of a call or the total on a receipt can come from a purpose-built Foundry Tool, which is usually cheaper, faster and more predictable than a chat model. Language models can do many of the same jobs through a prompt, and Microsoft is steering several older Language features toward Foundry models over time. A good answer on the exam, and at work, picks the simplest option that meets the requirement.

    Real-world business scenario

    Retail

    Fabrikam Mart, a grocery chain in Chennai

    The problem
    Store managers spent hours reading customer feedback, answering the same supplier questions and checking delivery notes by hand.
    What they used
    Azure Language in Foundry Tools scores feedback sentiment, a Foundry agent answers supplier questions from policy documents, and Content Understanding reads delivery notes into order fields.
    Why that choice
    Each job needed a different AI workload. Matching the workload to the tool kept costs down and the results easy to check.
    The result
    Managers now review a daily dashboard instead of piles of paper, and supplier questions get answered in minutes.

    When to use it and when not to

    ✓ Use it when…

    • The task needs human-like skills such as reading, listening, seeing or writing, at a volume people can't keep up with.
    • You have examples or documents the AI can learn from or be grounded in.
    • A person can check the output, or the cost of a wrong answer is low.

    ✕ Think twice when…

    • A simple rule or a database query already gives the exact answer every time.
    • The decision has a big impact on someone and nobody will review what the AI says.
    • You can't explain to users that AI is involved or how it reaches its answers.

    ↔ Alternatives to consider

    • **Plain code or business rules** when the logic is fixed and known.
    • **A purpose-built Foundry Tool** (Language, Speech, Vision, Content Understanding) when the task is narrow and well defined.
    Ready for more?The full lesson adds the technical explanation, when to use it, interview questions and revision notes.

    Test yourself with exercises

    5 original practice questions in the AI-901 style. Pick your answers, then check them. You will see why each option is right or wrong. Score 75% or more and this topic is marked complete.

    Question 1

    Question 1 of 5

    Which statement correctly describes the relationship between artificial intelligence and machine learning?

    Question 2

    Question 2 of 5

    A marketing team wants a solution that writes first drafts of product descriptions from a short list of product features.

    Which type of AI workload should the team use?

    Question 3

    Question 3 of 5

    A company wants a solution that receives an employee request, checks room availability in a booking system, reserves a room and sends a confirmation, without a person completing each step.

    Which type of solution best meets this requirement?

    Question 4

    Question 4 of 5 · Select 2

    Which TWO scenarios are examples of information extraction or text analysis workloads rather than generative AI workloads?

    Question 5

    Question 5 of 5

    Which type of machine learning uses neural networks with many layers and underpins modern language, speech and vision models?

    Interview preparation

    Say your answer out loud first, then open the model answer. Interviewers care more about your reasoning than the exact words.

    Beginner What's the difference between AI and machine learning?

    Model answer

    AI is the goal: software that behaves intelligently. Machine learning is the most common way to get there. Instead of writing every rule by hand, you show the model lots of examples and it learns the pattern. So all machine learning is AI, but a simple rules engine can be called AI without any learning at all.

    Interviewer follows up

    Where does deep learning fit?

    You

    Deep learning is a kind of machine learning that uses neural networks with many layers. It's what made speech recognition, image recognition and large language models work as well as they do today.

    Intermediate How is generative AI different from the AI that came before it?

    Model answer

    Older AI mostly predicted or classified: is this email spam, what's the price of this house, which object is in this photo. Generative AI produces new content: it writes the email, drafts the code or creates the image. Under the hood it's still a deep learning model, but one trained on huge amounts of data to predict the next piece of content.

    Experienced developer When would you call something an agent rather than a chatbot?

    Model answer

    A chatbot answers what you type. An agent is given a goal, instructions and tools such as file search, a code interpreter or an API, and it decides which tool to call, looks at the result and keeps going until the task is done. In Microsoft Foundry I'd build it in Foundry Agent Service: model plus instructions plus tools.

    Scenario A retailer wants to read thousands of handwritten delivery notes and pull out the order number and date. Which AI workload is that?

    Model answer

    Information extraction. The input is a document image and the output is structured fields. In Foundry I'd look at Azure Content Understanding in Foundry Tools rather than a plain chat model.

    Quick revision

    Key points

    • AI is the big circle. Machine learning sits inside it, deep learning inside that, and generative AI is built on deep learning.
    • Machine learning learns patterns from data instead of following hand-written rules.
    • Generative AI creates new content from a prompt; traditional ML predicts or classifies.
    • An agent is a generative model plus instructions plus tools, so it can take actions.
    • AI-901 workloads are generative and agentic AI, text analysis, speech, computer vision and information extraction.

    Important terminology

    Artificial intelligence (AI)
    Software that imitates human abilities such as understanding language, seeing, predicting and creating content.
    Machine learning (ML)
    A way of building AI where a model learns patterns from example data instead of following hand-written rules.
    Deep learning
    Machine learning that uses neural networks with many layers; the basis of modern speech, vision and language models.
    Generative AI
    AI that creates new content (text, code, images, audio) in response to a prompt.
    AI agent
    A generative AI model with instructions and tools that can plan steps, call tools and act to complete a task.
    Model
    The trained file of learned patterns that takes an input and produces a prediction or new content.

    Common mistakes

    • Treating AI, machine learning and generative AI as three names for the same thing.
    • Thinking an agent is just a chatbot with a different name. Tools and actions make the difference.

    Exam tips

    • "Create", "draft", "write" or "generate" in a scenario points to generative AI.
    • "Take actions", "call a tool" or "complete a multi-step task" points to an AI agent.

    Five quick revision questions

    1. 1.Is machine learning a part of AI or the other way round?Show

      Machine learning is a part of AI.

    2. 2.What kind of model is generative AI built on?Show

      Deep learning models, usually transformer-based language models.

    3. 3.What turns a generative model into an agent?Show

      Instructions plus tools it can call to take actions.

    4. 4.Which workload reads fields from an invoice image?Show

      Information extraction.

    5. 5.Which Microsoft platform is AI-901 built around?Show

      Microsoft Foundry (formerly Azure AI Foundry).

    Official references

    Finished this lesson? Tick it off. Your progress is saved in this browser.

    Next up: The Six Principles of Responsible AI

    Studying with a friend? Send them this lesson

    It's free and needs no sign-up. Their progress saves in their own browser.

    Lesson done? Make it stick with a quick gameSort It, Match the Pairs, Lightning Round and Who Am I? Earn XP and badges. Play ❯

    Install MSDEVBUILD Azure

    Free · no account · works offline

    Save the whole course for offline ›

    Hi, I’m your Nimbus

    Your study buddy. Pick what we do next.

    MSDEVBUILD · Multi-Stack Dev Build

    Sign in to MSDEVBUILD

    One account for Azure certifications and the blog: sign in here and you are signed in on both. Your XP, streak, practice deck and certificate stay in sync on every device. Optional: everything works without an account.