StudyToCert

All certifications / Azure AI Fundamentals / Lessons

Microsoft Certified: Azure AI Fundamentals AI-900 · Domain 1: Describe AI workloads and considerations

What AI is: models that learn patterns from data, and how that differs from rule-based software

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

Normal software follows instructions a person wrote, step by step, like a recipe. AI works differently. Instead of writing every instruction, you show the computer lots of examples and let it figure out the pattern for itself. Think of how a child learns what a dog is. Nobody hands them a rulebook about ears and tails. They see many dogs, and soon they can recognize a dog they have never seen before. The thing the computer builds from those examples is called a model. Once it exists, you can give it something new, like a fresh photo or email, and it gives its best guess. That guess is usually good, but it is a guess, not a promise, so people still need to check important results.

It is Monday morning at Cedar Ridge Outfitters, a mid-sized online store, and Priya from customer service is frustrated. The support inbox gets two thousand emails a week, and someone has to sort the angry ones from the routine ones by hand. Last quarter a developer tried to automate it with a list of rules: if the message contains 'refund' or 'terrible', mark it urgent. Within a week customers were writing 'not terrible at all, thanks' and landing in the urgent pile, while genuinely furious messages that never used those words sat for days. Priya's manager asks you a simple question in the hallway: can AI do this better than the rules did, and if so, why?

Artificial intelligence (AI) is software that imitates human abilities such as seeing, understanding language, making predictions and creating content. On the AI-900 exam you are not expected to build AI from scratch or write code. You are expected to recognize what kind of problem AI can solve, which Azure service fits that problem, and what responsible use looks like. Almost everything in modern AI rests on one idea that is worth getting firmly into your head before anything else: a model that has learned patterns from data.

To see why that idea matters, start with traditional software, which is rule-based. A developer writes explicit logic, such as 'if the order total is over 100, apply free shipping'. Every behavior traces back to a line someone typed, so you can read the code and know exactly what will happen. That works well when the rules are known and stable, like tax calculations or shipping thresholds. It breaks down for tasks where nobody can write the rules, such as telling a cat from a dog in a photo or deciding whether a review sounds angry. There are too many variations of fur, lighting, wording and sarcasm to list, and any list you do write is brittle: the moment the input changes slightly, the rule misses it.

Machine learning (ML) turns this around. Instead of writing the rules, you give an algorithm many examples of inputs and, usually, the correct outputs, such as thousands of emails already marked 'urgent' or 'routine'. Training adjusts the model's internal values, often called weights or parameters, until its outputs match the examples as closely as possible. The result is a model: a function that takes new input and returns a prediction. Using the trained model on new data is called inferencing (or inference, or scoring). The rules still exist in a sense, but they are hidden inside the learned values rather than written out by a person.

There is an important consequence of learning from examples. Because a model learned from examples, its output is a probability-based best guess, not a guaranteed truth. A vision model might return 'dog, 94% confidence'. A language model might write a fluent paragraph that contains a factual mistake. If you looked at the raw response from an Azure AI service, you would often see a confidence score next to each label, and that number is a reminder that the system is estimating. This is why AI solutions need testing, human oversight and the responsible AI principles you will study later in this domain.

Data quality follows directly from the same idea. A model can only learn patterns that are present in its data, including unwanted ones. If the training emails came mostly from one product line, the model may misread messages about another. If historical decisions were biased, the model will learn that bias and repeat it at scale. The quality and representativeness of training data therefore matter as much as the choice of algorithm, and an AI project usually spends far more time on collecting and preparing data than on training.

It also helps to know when not to use AI. If a task has clear, stable rules, such as calculating sales tax or checking that a date field is not empty, ordinary code is cheaper, faster, fully predictable and easier to audit. AI earns its place when the rules are too many, too fuzzy or too changeable to write down, and when you have enough example data to learn from. Exam questions sometimes test exactly this judgment by offering an AI answer for a problem a simple rule would solve.

Most AI you will meet on the exam is delivered as a service rather than built from scratch. Azure AI services (Vision, Language, Speech, Translator, Document Intelligence, Content Safety and others) expose pretrained models through an application programming interface (API), so you send an image or text and get results back, typically as JSON with labels and confidence scores. Azure Machine Learning is for training your own models on your own data when no prebuilt model fits. Microsoft Foundry brings together generative AI models, agents and AI services in one portal. Knowing which of these to pick for a scenario is a large part of AI-900, and every later lesson builds on the simple distinction in this one: rules written by people versus patterns learned from data.

Think of it like this Rule-based software is like a vending machine: press B4 and you always get the same snack, because someone wired it that way. A machine learning model is more like an experienced shop assistant who has served thousands of customers and can usually guess what a new customer wants from a few clues. The assistant is flexible and handles situations nobody planned for, but can still guess wrong, which is why the exam stresses that model output is probabilistic. Where the analogy stops: the model does not understand customers the way a person does; it only reflects statistical patterns in its training data.

Key terms

Artificial intelligence (AI)
Software that imitates human abilities such as seeing, understanding language, predicting and creating content.
Machine learning (ML)
The technique of building models by training algorithms on example data instead of writing explicit rules.
Model
A function learned from data that takes new input and returns a prediction, label, score or generated content.
Training
The process of adjusting a model's internal values using example data until its outputs match the examples well.
Inference
Using a trained model to make predictions on new data; also called inferencing or scoring.
Rule-based software
Software whose behavior comes from explicit logic written by a developer rather than from patterns learned from data.
Confidence score
A number, often between 0 and 1, that a model returns to show how sure it is about a prediction.
Real-world example

A spam filter written with rules might block any email containing the word 'prize'. Spammers quickly change the wording to 'pr1ze' or use images instead of text, and legitimate emails about a raffle get blocked. A machine learning spam filter is trained on thousands of emails already marked spam or not spam, learns hundreds of subtle signals such as sender patterns, link types and phrasing, and keeps improving when it is retrained on newly reported messages.

Common mistakes

You decide

A library wants software that automatically decides whether a returned book is late by comparing the due date with today's date. A colleague suggests training a machine learning model on past returns. Is ML the right tool here?

Show the answer

No. The rule is simple, exact and stable: if the return date is after the due date, the book is late. Rule-based code handles this perfectly and predictably. ML is for problems where the rules are too complex or fuzzy to write down, such as predicting which members are likely to stop borrowing.

A photo-sharing startup wants to tag uploaded pictures as 'beach', 'city' or 'forest'. They have 50,000 photos already tagged by users. Should they write rules or use a model?

Show the answer

Use a machine learning model (or a prebuilt vision service). Nobody can write reliable rules about pixel colors and shapes for every possible beach or city photo, and the 50,000 labeled photos are exactly the kind of example data a model learns from.

Exam tip: If a scenario says the outcome is hard to express as rules and there is plenty of historical example data, the answer involves machine learning. Remember that model outputs are probabilistic, so answers claiming AI is always correct are wrong. Also remember the split: Azure AI services for pretrained capabilities, Azure Machine Learning for training your own models.

Check yourself

What is the difference between training and inference?

Training builds the model from example data; inference uses the trained model to make predictions on new data.

Why can two similar inputs to an AI model give a wrong answer for one of them?

A model gives a probability-based prediction learned from its training data, not a guaranteed result, so unusual or poorly represented inputs can be misclassified.

A team needs to sort support emails by tone, but every keyword rule they write misses cases. What approach does this suggest?

Machine learning (or a pretrained language service), because the pattern is too varied to capture in hand-written rules and example emails are available to learn from.

Study Azure AI Fundamentals for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Azure AI Fundamentals study plan