AI vs ML vs Deep Learning: Core AIF-C01 Concepts and Terminology
Artificial intelligence (AI) is the broad field of building computer systems that perform tasks normally requiring human intelligence, and machine learning (ML) is the subset of AI where systems learn patterns from data instead of following hand-written rules. This lesson defines the vocabulary the AIF-C01 exam assumes you already know: AI, ML, deep learning, neural networks, generative AI, and agentic AI, plus supporting terms like model, algorithm, training, inferencing, bias, fairness, and fit. Task 1.1 questions reward precise definitions and clean distinctions between look-alike terms, such as knowing that deep learning sits inside ML, that supervised learning needs labeled data, or that clustering groups items with no labels. By the end you will be able to place each term in the AI-to-generative-AI hierarchy, tell generative and agentic systems apart from predictive models and scripted workflows, tell the learning types apart, recognize common data types, and match an inferencing style to the workload it fits.
On this page9 sections
- AI, ML, Deep Learning, GenAI, and Agentic AI: One Nested Family
- Look-Alikes: Predictive ML vs GenAI, Agentic AI vs Scripted Workflows
- The Building Blocks: Model, Algorithm, Training, and Inferencing
- Neural Networks, Computer Vision, NLP, and LLMs
- Bias, Fairness, and Fit: Overfitting versus Underfitting
- Types of Machine Learning: Supervised, Unsupervised, Reinforcement
- Types of Data in AI Models
- Types of Inferencing: Batch, Real-Time, Asynchronous, Serverless
- Putting It Together: One Scenario, Every Term
- Define the core AIF-C01 terms: AI, ML, deep learning, neural networks, computer vision, NLP, model, algorithm, LLM, generative AI, and agentic AI.
- Explain the nested relationship between AI, ML, deep learning, and generative AI, and place agentic AI within it.
- Contrast generative AI with predictive ML, and agentic AI with a fixed, scripted workflow that happens to call tools.
- Explain how deep learning differs from traditional ML methods such as decision trees in data, compute, feature engineering, and interpretability.
- Distinguish supervised, unsupervised, self-supervised, and reinforcement learning, and identify which require externally labeled data.
- Recognize the main data types used in AI models, including structured versus unstructured and labeled versus unlabeled.
- Match a workload to the correct inferencing style: batch, real-time, asynchronous, or serverless, including the serverless cold-start trade-off.
- Separate model from algorithm and hyperparameters, training from inferencing, overfitting from underfitting, and bias from variance, fairness, and explainability.
AI, ML, Deep Learning, GenAI, and Agentic AI: One Nested Family
These five terms are not competing labels; they nest inside one another, and the exam expects you to know the ordering. Artificial intelligence (AI) is the widest circle: any technique that lets a computer mimic human intelligence, including old-fashioned rule-based systems that follow hand-written logic. Machine learning (ML) sits inside AI. It is the family of methods that learn patterns from data rather than being explicitly programmed with rules. Deep learning sits inside ML. It uses neural networks with many stacked layers to learn from large amounts of data, and it powers most modern breakthroughs in images and language. Generative AI (GenAI) is built on deep learning. It uses very large models (foundation models and large language models) to generate new content such as text, images, or code.
Agentic AI is the newest term. An agentic system uses a generative model as a reasoning engine, then adds memory and the ability to call tools so it can plan and take multi-step actions toward a goal, not just answer a single prompt. Think of it as GenAI that acts. The table below fixes the hierarchy in one view, and the next section separates the terms that are most often confused with one another.
| Term | What it is | Simple example |
|---|---|---|
| AI | Any machine that mimics human intelligence, rules included | A rules-based tax calculator |
| ML | AI that learns patterns from data | A spam filter trained on past emails |
| Deep learning | ML using multi-layer neural networks | Recognizing objects in a photo |
| Generative AI | Deep learning that creates new content | Writing a draft email from a prompt |
| Agentic AI | GenAI that plans and acts using tools | An assistant that books a meeting for you |
Look-Alikes: Predictive ML vs GenAI, Agentic AI vs Scripted Workflows
Generative AI creates new content, while traditional predictive ML outputs a label, score, or number about input that already exists. A credit model that rates a loan applicant's risk of default, a churn model that scores each customer, and a forecast of next week's sales are all predictive: nothing new is written or drawn. A model that drafts a marketing email, summarizes a report, or creates an image is generative. Both are machine learning; the difference is the kind of output.
Generating content is not, by itself, agentic. A model that writes one description, one email, or one answer per request is generative AI, however good the output. A system becomes agentic when the model itself decides what to do next: it breaks a goal into steps, chooses which tool or system to call, reads the result, and picks the following step from what it learned, often keeping memory of earlier results along the way. The test is who chooses the path. If a developer has hard-coded the sequence, so every request follows the same path whatever the model says, the application is a fixed workflow that uses generative AI, even though it calls APIs and the model writes part of the output. If the model plans and selects the steps at run time, it is agentic AI.
Two other terms are frequently placed next to agentic AI. Retrieval-augmented generation (RAG) grounds a model's answer in documents retrieved from a knowledge source at question time; it improves what the model says but does not plan or take actions (Domain 3 covers it in depth). The "agent" in reinforcement learning is a different idea: a learner trained by rewards and penalties through trial and error in an environment. An agentic AI system is usually built on a pre-trained foundation model and is not trained by rewards while it does its job, so the shared word "agent" should not lead you to treat the two as the same thing.
| Term | What it produces or does | Who decides the steps |
|---|---|---|
| Predictive ML | A label, score, or number for existing input | Not applicable: one prediction per input |
| Generative AI | New content (text, images, code) | Not applicable: one response per prompt |
| Fixed workflow using GenAI | Tool calls in a set order, then generated text | Developer-written code |
| Agentic AI | Multi-step actions toward a goal using tools and memory | The model, at run time |
| RAG | Answers grounded in retrieved documents | Not applicable: retrieval then generation |
| Reinforcement learning agent | A policy learned from rewards in an environment | A policy learned through trial and error |
The Building Blocks: Model, Algorithm, Training, and Inferencing
Four foundational words appear in almost every AIF-C01 question about how machine learning works, and distractors love to swap them. An algorithm is the method or procedure used to learn from data, for example a decision-tree or gradient-descent procedure. A model is the result you get after running that algorithm over data: the trained artifact that stores the learned patterns and can make predictions. In short, the algorithm is the recipe and the model is the cake. Because the learned patterns come from the data, one algorithm can yield many models: train it on last year's records and again on this year's and you have two distinct models. Hyperparameters are the settings you choose before training starts, such as the maximum depth of a decision tree or how many passes to make over the data; they shape how the algorithm learns but are inputs to training, not something training produces. (Tuning them is part of the ML lifecycle in Task 1.3.)
Training is the phase where the algorithm processes example data and adjusts the model until it captures useful patterns. It is compute-heavy and usually happens before the model is used. Inferencing (also called inference) is the phase where the finished model is given new, unseen input and produces a prediction or output. Training builds the model; inferencing uses it. Inferencing leaves the model as training made it: the input arrives without an answer attached, the model processes it and returns an output, and nothing is learned from that request unless you later retrain on new data. A helpful test for the exam: if the sentence describes the system learning from labeled or historical examples, it is training. If it describes the system answering a live request or scoring new records, it is inferencing. The costs behave differently too: training is a periodic expense paid when you build or rebuild the model, while inferencing is paid per use, so a popular application's inference bill rises with its traffic. That is why the two are budgeted and scaled separately.
Neural Networks, Computer Vision, NLP, and LLMs
These terms name the technologies and problem areas the exam references repeatedly. A neural network is a model loosely inspired by the brain: layers of connected nodes that pass signals forward, with each connection weighted so the network can learn complex relationships. A neural network with many hidden layers is what makes something deep learning. What a network learns is stored as millions or billions of numeric weights spread across those layers, not as rules a person can read.
Deep learning versus traditional ML
Deep learning learns useful features directly from raw inputs, while traditional ML methods such as decision trees and gradient-boosted trees usually depend on people engineering input features first. In speech recognition, for instance, the early hidden layers learn short sound patterns and later layers combine them into syllables and words, so engineers do not have to design the acoustic measurements first. Tree-based methods, by contrast, split on one input feature at a time, which suits well-defined columns but is a poor match for raw, high-dimensional signals such as a waveform or an image. That power has costs. Deep networks typically need far more training data and compute, and because their knowledge is spread across weights they are harder to interpret. A single decision tree stores what it learns as branching if-then splits you can read and explain; ensembles such as gradient-boosted trees combine hundreds of trees, so they are less readable than one tree but still usually easier to explain than a deep network.
| Aspect | Traditional ML (for example, decision trees) | Deep learning |
|---|---|---|
| Input features | Usually engineered by people | Learned from raw inputs by hidden layers |
| Data and compute | Works with modest data and compute | Typically needs much more of both |
| Best-suited data | Small to medium tabular data | Images, audio, and free text at large scale |
| How learning is stored | Splits or coefficients (readable for a single tree or linear model) | Numeric weights across many layers |
| Explainability | Usually easier to explain each prediction | Harder to explain each prediction |
The rule of thumb: when data is limited and already arranged in columns, traditional ML usually trains faster, performs as well or better, and is easier to justify; when data is plentiful and raw (images, audio, free text), deep learning usually wins.
Computer vision is the field concerned with helping machines interpret images and video, such as detecting objects, reading faces, or spotting defects on a production line. Natural language processing (NLP) is the field concerned with understanding and working with human language, covering tasks like sentiment analysis, translation, and entity extraction. Speech recognition, which converts spoken audio into text, is closely related and often grouped with NLP applications.
A large language model (LLM) is a very large neural network trained on huge volumes of text so it can predict and generate language. It generates text one token (roughly a word or part of a word) at a time by predicting what should come next. LLMs are the engines behind most generative AI text applications and behind agentic systems. Two neighbouring model types are easy to mix up with it: an embedding model turns text into numeric vectors that capture meaning, which powers semantic search and similarity matching, but it does not generate replies; a diffusion model generates images by gradually turning random noise into a picture. Domain 2 covers both in more depth. For Task 1.1 you only need to recognize what each term means and which problem it addresses; the deeper mechanics of foundation models and tokens belong to the generative AI domain, not here. Being able to say "computer vision handles images, NLP handles language, an LLM generates text" is enough to answer definition questions correctly.
Bias, Fairness, and Fit: Overfitting versus Underfitting
This cluster of terms describes how well a model behaves, and it reappears in the responsible-AI domain, so learning it now pays off twice. Bias, in the fairness sense, is a systematic skew in a model's outputs, often caused by unrepresentative training data, that produces unfair results for some groups of people. Fairness is the goal of treating individuals and groups equitably so the model does not disadvantage anyone based on attributes like age, gender, or ethnicity. Bias is the problem; fairness is the objective you pursue by detecting and reducing that bias. A related but different term is explainability: the ability to understand and describe why a model reached a particular decision. Explainability helps you investigate a suspected bias, but a lack of it is not the same thing as bias.
Fit describes how well a model matches the underlying pattern in data, and the exam tests two failure modes. Overfitting happens when a model learns the training data too closely, including its noise, so it performs well on examples it has seen but poorly on new data; it has essentially memorized instead of generalized. Underfitting is the opposite: the model is too simple to capture the real pattern, so it performs poorly even on the training data. The sweet spot, good fit, generalizes well to unseen data. A quick discriminator: great on training data but bad on new data means overfitting, while bad on both means underfitting.
Statisticians also use "bias" in a second, technical sense, paired with variance. Variance is how much a model's predictions change when it is trained on a different sample of data; a high-variance model is overly sensitive to its training set, which is the root of overfitting. Statistical bias here means error from overly simple assumptions, which is the root of underfitting. Keep the senses apart: when a scenario describes a model treating a group of people unequally, the terms that apply are bias (the unfair skew) and fairness (the goal), not variance or overfitting.
| Term | Meaning |
|---|---|
| Bias (fairness sense) | Systematic skew that disadvantages some groups |
| Fairness | The goal of equitable treatment across groups |
| Explainability | Understanding why a model made a decision |
| Variance | Sensitivity of a model to its training data; high variance leads to overfitting |
| Overfitting | Strong on training data, weak on new data |
| Underfitting | Weak on both training and new data |
Types of Machine Learning: Supervised, Unsupervised, Reinforcement
The AIF-C01 exam expects you to tell three learning types apart by the kind of data they use and the problem they solve. Supervised learning trains on labeled data, meaning each example already carries the correct answer, and the model learns to map inputs to those answers. A spam filter trained on emails each marked spam or not-spam is supervised learning. Unsupervised learning trains on unlabeled data and finds hidden structure on its own, with no correct answers provided. Grouping customers into segments by their purchasing behavior, with no predefined categories, is unsupervised learning. Reinforcement learning has no fixed dataset of answers at all; an agent interacts with an environment and learns by trial and error, receiving rewards for good actions and penalties for bad ones. Training a robot to walk or a program to play a game are classic examples.
| Learning type | Data used | Learns by | Example |
|---|---|---|---|
| Supervised | Labeled (answers included) | Mapping inputs to known outputs | Spam detection, predicting a house price |
| Unsupervised | Unlabeled (no answers) | Finding structure and groupings | Customer segmentation, anomaly detection |
| Reinforcement | No dataset; an environment | Trial and error with rewards | Game playing, robot navigation |
The single most useful clue is the word "labeled": if a scenario says the data is labeled or has known outcomes, think supervised; if it says items must be grouped with no labels, think unsupervised. The setting does not change the learning type. A driving model trained on recorded journeys, each moment tagged with the steering an expert driver applied, is supervised learning, because it learns from labeled examples; it would be reinforcement learning only if it learned by driving in a simulator and receiving rewards for good outcomes.
A fourth term appears beside these three. Self-supervised learning creates its own labels from the raw data, for example by hiding the next word in a sentence and learning to predict it. This is how large language models are pre-trained on huge volumes of unlabeled text. It differs from supervised learning, where the labels are supplied from outside the data (by people or an existing record), such as an email marked spam or a transaction confirmed as fraud.
Types of Data in AI Models
Models are only as good as the data they learn from, and the exam asks you to recognize common data categories. The broadest split is structured versus unstructured. Structured data is organized into a predictable format, typically rows and columns, so it is easy to store in tables and query. Two important structured kinds are tabular data (spreadsheet-style rows and columns, such as customer records) and time-series data (values recorded in time order, such as daily temperature or hourly sales). Unstructured data has no fixed schema and includes image, text, and audio, which make up the large majority of data organizations hold.
A second, separate distinction is labeled versus unlabeled data, which ties directly to the learning types above. Labeled data comes with the correct answer attached to each example, for instance a photo tagged "cat," and it is what supervised learning requires. Unlabeled data has no such answers and is what unsupervised learning works with. Labeling is often expensive and time-consuming because it usually needs humans, which is a practical reason teams sometimes prefer unsupervised approaches. Keep the two axes distinct on the exam: structured-versus-unstructured is about format, while labeled-versus-unlabeled is about whether answers are provided.
Types of Inferencing: Batch, Real-Time, Asynchronous, Serverless
Once a model exists, there are several ways to run inference, and Task 1.1 asks you to match the style to the workload. Batch inferencing processes a large volume of data all at once, offline, when you do not need an immediate answer, for example scoring every customer overnight to update a churn report. Real-time inferencing returns a prediction immediately for a single request and is used when low latency matters, such as approving or declining a card payment at checkout. Choose real-time when a user or system is waiting on the answer right now.
Asynchronous inferencing suits requests with large payloads or long processing times: the request is queued, processed when resources are ready, and the result is delivered when it is done, so the caller is not blocked while waiting. It is a middle ground between batch and real-time, useful for tasks like processing a large document or video. Serverless inferencing removes the need to manage or pre-provision servers; capacity scales automatically with demand, including scaling down when idle, which fits intermittent or unpredictable traffic where you would rather not pay for idle infrastructure. Serverless is still a synchronous request-response pattern for small, quick requests: the caller sends a request and waits for the answer, as with real-time inferencing, and it is not a queue for large or long jobs. The trade-off for scaling to zero is a cold start: after an idle period, the first request waits while compute is brought up, so it is slower than the requests that follow. A provisioned real-time endpoint avoids that delay but keeps paying for capacity while it sits idle.
| Style | How the caller gets the answer | Best fit | Main trade-off |
|---|---|---|---|
| Batch | Results written out when the whole job finishes | Large volumes, no one waiting | No immediate answers |
| Real-time | Waits for an immediate response | Steady traffic needing low latency | Provisioned capacity is paid for even when idle |
| Asynchronous | Request queued; result delivered later | Large payloads or long processing | Caller does not get the answer in the same call |
| Serverless | Waits for an immediate response | Small requests with intermittent or unpredictable traffic | Cold-start delay after idle periods |
The pattern to remember: many records at once and no rush means batch, an instant single answer under steady load means real-time, large or slow jobs mean asynchronous, and quick requests with spiky or occasional traffic, where idle cost matters more than an occasional cold start, mean serverless.
Putting It Together: One Scenario, Every Term
A retailer wants to reduce fraud and understand its customers, and its project touches nearly every Task 1.1 term. Its data science team starts with structured, tabular transaction records. Because past transactions are labeled as fraudulent or legitimate, they use supervised learning: an algorithm processes the labeled history during training and produces a model. To catch fraud the instant a purchase is made, the model is deployed for real-time inferencing at checkout, while a nightly job re-scores dormant accounts using batch inferencing.
Separately, the team has millions of unlabeled product-review texts. With no answers attached, they apply unsupervised learning to group reviews into themes, an NLP task. A computer vision model checks product photos for quality, and a generative AI assistant powered by a large language model drafts replies to customers; when that assistant is allowed to look up an order and issue a refund on its own, it becomes agentic AI. Along the way the team watches for overfitting, so the fraud model does not just memorize old cases, and audits for bias to keep decisions fair across customer groups. Every one of these words is a definition the exam can ask you to recognize.
Tip. Task 1.1 questions are mostly definition and matching questions, so precise vocabulary wins points. Expect a short scenario that ends by asking which term it describes, with look-alike terms as distractors. Watch the trigger words: "groups similar items with no labels" points to unsupervised learning or clustering, "labeled examples with known answers" points to supervised learning (even when the labels are an expert's recorded choices), and "learns by rewards through trial and error" points to reinforcement learning. "Performs well on training data but poorly on new data" signals overfitting, "needs an instant single prediction" signals real-time inferencing, "score millions of records overnight" signals batch, and "small requests arriving in bursts with long quiet gaps" signals serverless, with its cold-start trade-off. Be ready to order the hierarchy (AI, then ML, then deep learning, then generative AI) and to separate predictive ML from generative AI, agentic AI from a scripted workflow that calls tools, and an LLM from embedding and diffusion models. Some questions compare deep learning with decision-tree methods, so know the trade-offs in data, compute, feature engineering, and explainability, and be able to separate a model from the algorithm and hyperparameters that produced it.
- AI contains ML, ML contains deep learning, and generative AI is built on deep learning; agentic AI is GenAI that plans and acts using tools.
- Predictive ML outputs a label or score for existing input; generative AI creates new content; generating one response is not agentic.
- A system is agentic when the model chooses the steps; tool calls on a fixed, code-defined path are a workflow, and an RL agent trained by rewards is a different idea.
- Deep learning learns features from raw inputs but needs more data and compute and is harder to explain; tree-based methods suit small tabular data with engineered features.
- An algorithm is the learning method, a model is the trained result, and hyperparameters are settings chosen before training. Training builds the model; inferencing uses it without changing it.
- Supervised learning needs externally labeled data; unsupervised finds structure in unlabeled data; self-supervised makes its own labels from raw data; reinforcement learning learns from rewards.
- Structured versus unstructured is about format (tabular and time-series versus image, text, and audio); labeled versus unlabeled is about whether answers are provided.
- Batch = many records offline; real-time = instant answer on provisioned capacity; asynchronous = large or slow jobs queued; serverless = quick requests, scales to zero, cold start after idle.
- Overfitting (linked to high variance) means great on training data but poor on new data; underfitting means poor on both.
- Bias is a systematic skew that disadvantages a group; fairness is the goal of equitable treatment; explainability is understanding why a model decided.
- Computer vision handles images, NLP handles language, an LLM generates text, an embedding model turns text into vectors, and a diffusion model generates images.
Frequently asked questions
What is the difference between AI and machine learning?
Artificial intelligence is the broad field of making machines mimic human intelligence, and it includes rule-based systems that follow hand-written logic as well as systems that learn. Machine learning is a subset of AI in which the system learns patterns from data instead of being explicitly programmed with rules. So all machine learning is AI, but not all AI is machine learning. On the exam, if a scenario describes fixed hand-coded rules it is AI but not ML, while a system that improves by learning from examples is machine learning.
How is deep learning different from traditional machine learning?
Deep learning is a subset of machine learning that uses neural networks with many hidden layers. Those layers learn useful features directly from raw inputs such as pixels, audio, or text, so less manual feature engineering is needed than with traditional methods such as decision trees. The trade-offs are that deep learning typically needs far more training data and compute, and it stores what it learns as numeric weights, which makes individual predictions harder to explain than a decision tree's readable if-then splits. For small tabular datasets, tree-based methods are usually the better choice; for large volumes of images or free text, deep learning usually is.
How do supervised, unsupervised, and reinforcement learning differ?
Supervised learning trains on labeled data, where each example includes the correct answer, and learns to predict that answer for new inputs; spam detection is an example. Unsupervised learning trains on unlabeled data and discovers structure on its own, such as grouping customers into segments with no predefined categories. Reinforcement learning has no fixed answer key; an agent interacts with an environment and learns by trial and error using rewards and penalties, as when training a program to play a game. The quickest exam clue is whether the data is labeled: labeled points to supervised, unlabeled to unsupervised.
What is the difference between training and inferencing?
Training is the phase where an algorithm processes example data and adjusts a model until it captures useful patterns; it is compute-heavy and usually happens before the model is put to work. Inferencing is the phase where the finished model receives new, unseen input and produces a prediction or output. Training builds the model, and inferencing uses it. You typically pay for training occasionally but for inferencing every time the model is called, which is why the two are scaled and budgeted separately.
What is the difference between overfitting and underfitting?
Overfitting happens when a model learns the training data too closely, including its noise, so it performs well on examples it has already seen but poorly on new data; it has memorized rather than generalized. Underfitting is the opposite: the model is too simple to capture the real pattern, so it performs poorly even on the training data. A good fit generalizes well to unseen data. The fast test: strong on training data but weak on new data means overfitting, while weak on both means underfitting.
What is agentic AI and how does it relate to generative AI?
Agentic AI is a system that uses a generative AI model as its reasoning engine and adds memory and the ability to call tools, so it can plan and carry out multi-step tasks toward a goal rather than just responding to one prompt. Generative AI creates content such as text or images; agentic AI takes that a step further by acting, for example looking up information and completing a booking. What makes it agentic is that the model chooses the steps at run time: an application whose code always calls the same tools in the same order is a fixed workflow that uses generative AI, not agentic AI. In the nested hierarchy, agentic AI is built on top of generative AI, which is itself built on deep learning.
What are the main types of inferencing in AWS AI?
There are four common styles. Batch inferencing scores a large volume of data offline when no immediate answer is needed. Real-time inferencing returns a prediction instantly for a single request on provisioned capacity when low latency matters, such as a fraud check at checkout. Asynchronous inferencing queues requests that have large payloads or long processing times and returns results when they are ready, so the caller is not blocked. Serverless inferencing is also an immediate request-response pattern for small requests, but capacity scales automatically, including down to nothing when idle; it suits intermittent or unpredictable traffic, at the cost of a cold-start delay on the first request after an idle period.
Is a reinforcement learning agent the same as agentic AI?
No. A reinforcement learning agent is a learner trained by trial and error: it acts in an environment, receives rewards or penalties, and gradually learns a policy, as when a program learns to play a game. Agentic AI is a system built around a pre-trained generative model that plans a multi-step task, chooses which tools to call, reads the results, and decides its next step at run time. It is not trained by rewards as it works. The two share the word agent but describe different things.
Source
This lesson covers the "Fundamentals of AI and ML" domain of the official AIF-C01 exam guide. Vendors revise their guides — check the source for the current version.
- AWS Certified AI Practitioner (AIF-C01) exam guide — Amazon Web Services
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.