SaveMyCert
Log in
5 of 5 free questions left today·for unlimited practice
Fundamentals of AI and ML

AI vs ML vs Deep Learning: Core AIF-C01 Concepts and Terminology

13 min readAIF-C01 · Fundamentals of AI and MLUpdated

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. Domain 1 is 20% of the scored exam, and Task 1.1 questions reward precise definitions, 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 the three learning types apart, recognize common data types, and match an inferencing style to the workload it fits.

What you’ll learn
  • Define the core AIF-C01 terms: AI, ML, deep learning, neural networks, computer vision, NLP, LLM, generative AI, and agentic AI.
  • Explain the nested relationship between AI, ML, deep learning, and generative AI, and place agentic AI within it.
  • Distinguish supervised, unsupervised, and reinforcement learning, and identify which requires 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.
  • Separate model from algorithm, training from inferencing, and overfitting from underfitting.

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.

TermWhat it isSimple example
AIAny machine that mimics human intelligence, rules includedA rules-based tax calculator
MLAI that learns patterns from dataA spam filter trained on past emails
Deep learningML using multi-layer neural networksRecognizing objects in a photo
Generative AIDeep learning that creates new contentWriting a draft email from a prompt
Agentic AIGenAI that plans and acts using toolsAn assistant that books a meeting for you

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.

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. 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. You pay for training once (or occasionally, when you retrain) but for inferencing every time the model is called, which 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.

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. LLMs are the engines behind most generative AI text applications and behind agentic systems. 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.

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.

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 typeData usedLearns byExample
SupervisedLabeled (answers included)Mapping inputs to known outputsSpam detection, predicting a house price
UnsupervisedUnlabeled (no answers)Finding structure and groupingsCustomer segmentation, anomaly detection
ReinforcementNo dataset; an environmentTrial and error with rewardsGame playing, robot navigation

The single most useful exam 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.

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. The exam pattern is straightforward: many records at once and no rush means batch, an instant single answer means real-time, large or slow jobs mean asynchronous, and spiky or occasional traffic with no servers to manage means 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 almost entirely 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, 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, and "score millions of records overnight" signals batch. Also be ready to order the AI, ML, deep learning, and generative AI hierarchy correctly and to separate a model from the algorithm that produced it.

Key takeaways
  • 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.
  • An algorithm is the learning method; a model is the trained result. Training builds the model; inferencing uses it on new data.
  • Supervised learning needs labeled data; unsupervised learning finds structure in unlabeled data; reinforcement learning learns by rewards through trial and error.
  • Structured versus unstructured is about format (tabular and time-series versus image and text); labeled versus unlabeled is about whether answers are provided.
  • Batch = many records offline; real-time = instant single answer; asynchronous = large or slow jobs queued; serverless = auto-scaling with no servers to manage.
  • Overfitting means great on training data but poor on new data; underfitting means poor on both.
  • Bias is a systematic skew in outputs; fairness is the goal of equitable treatment across groups.
  • Computer vision handles images, NLP handles language, and an LLM is a large neural network that generates text.

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 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 on the world, for example looking up information and completing a booking. 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 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. Serverless inferencing scales capacity automatically with no servers to manage and is well suited to intermittent or unpredictable traffic where you do not want to pay for idle infrastructure.

Test yourself on this topic
Practice questions with full explanations.
Practice now

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.