AI and Machine Learning Foundations
ISC2 AI Security · Lesson 1 of 34 · 3:37
YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗
Learning with these videos? Subscribe for new courses and exam-style questions.
Subscribe on YouTube (opens in a new tab)In this lesson
Lesson 1 of the free ISC2 AI security series (pilot exam, domain 1, AI concepts and security fundamentals). In this lesson: types of AI, the AI ecosystem, machine learning paradigms, deep learning and evolutionary computation, neural networks, and AI hardware. With three quick checks and a recap, and Ravenmoor Payments, a fictional payment provider, as the running example.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
Speaking the language of AI
Ravenmoor Payments processes card payments for online merchants, and its board wants more AI: fraud models, a support assistant, and an agent that handles disputes. The new AI security lead must review all of it, and the data scientists speak a language of their own. This lesson gives you that language, because you cannot secure what you cannot describe.
Types of AI
Artificial intelligence is the broad field of systems that perform tasks we link to human intelligence, like recognizing patterns, predicting, or generating language. Early AI used hand-written rules, as in expert systems, then machine learning let systems learn patterns from data, and deep learning and generative AI followed. Every system in production today is narrow AI: it performs well at specific tasks, while general AI, able to handle any intellectual task like a person, remains a research goal. And every AI system sits in an ecosystem of data, models, infrastructure, providers, and the people who build and use it.
The AI ecosystem
For a security professional, each part of that ecosystem is both an asset and an attack surface. Data can be poisoned or leaked, models can be stolen or tricked, and infrastructure can be overloaded. Providers bring their own risks, through hosted models, programming interfaces, and platforms. So the first questions are always the same: which data, which model, which provider, and who is accountable?
Machine learning paradigms
Machine learning comes in three main paradigms. In supervised learning, the model learns from labeled examples, like transactions marked as fraud or not fraud, and then predicts the label of new ones. In unsupervised learning, there are no labels: the model finds structure on its own, such as clusters of similar merchants or unusual transactions. In reinforcement learning, an agent learns by trial and error, taking actions and receiving rewards or penalties. For security, labels are an asset: whoever can change them can change what the model learns.
Deep learning and evolutionary computation
Deep learning uses neural networks with many layers, which learn their own features from raw data, such as images, audio, or text. It needs large amounts of data and computing power, and its decisions are harder to explain. Evolutionary computation takes a different path: it borrows from natural selection, and evolves a population of candidate solutions through selection, crossover, and mutation, as genetic algorithms do. It suits optimization problems, like tuning settings or finding the best schedule, where no simple formula exists.
Neural networks
A neural network is made of layers of connected nodes, and each connection has a weight that training adjusts. Convolutional networks scan data with small filters, which makes them strong at images, such as reading a scanned identity document. Recurrent networks process a sequence one step at a time and carry a memory of earlier steps, which suits time series, like the history of payments on a card. Transformers replaced them for most language tasks: their attention mechanism weighs every part of the input against every other part, in parallel. Transformers are the architecture behind today's large language models.
AI hardware
Training and running these models needs specialized hardware. Graphics processing units, or GPUs, run thousands of calculations in parallel, which is exactly what neural networks need. Tensor processing units, or TPUs, are chips that Google designed for machine learning, and offers in its cloud. Memory matters as much: the weights of a model must fit in the memory of its accelerators, and that memory holds sensitive data, from weights to prompts.
Recap
Let's recap. All AI in production is narrow AI, and it sits in an ecosystem of data, models, infrastructure, providers, and people. Supervised learning needs labels, unsupervised learning finds structure, and reinforcement learning learns from rewards. Deep learning stacks many layers, while evolutionary computation evolves candidate solutions. Convolutional networks suit images, recurrent networks suit sequences, and transformers power large language models. And GPUs, TPUs, and their memory are assets to protect.
Quick checks for this lesson
The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.
A Ravenmoor executive calls the new fraud model general AI, because it learns from data on its own. What is the most accurate response?
- Learning from data makes it general AI
- It is narrow AI, which learns one task from data
- It is a rule-based expert system
- General AI can be bought for fraud detection
Show the answer
It is narrow AI, which learns one task from data
The fraud model is narrow AI, which learns one specific task from data. “Learning from data makes it general AI” is wrong, since learning from data is what all machine learning does, and it does not make a system general. “It is a rule-based expert system” is wrong, because a model that learns from data is not a rule-based expert system. And “General AI can be bought for fraud detection” is wrong, since general AI remains a research goal, not a product you can buy.
Ravenmoor has millions of transactions with no labels, and wants to find groups of merchants that behave alike. Which approach fits?
- Supervised learning
- Reinforcement learning
- Evolutionary computation
- Unsupervised learning
Show the answer
Unsupervised learning
Unsupervised learning finds structure, such as clusters, in data that has no labels. “Supervised learning” would need labeled examples, which Ravenmoor does not have. “Reinforcement learning” learns actions from rewards, and it does not group records. And “Evolutionary computation” searches for the best solution to an optimization problem, which is not the goal here.
A data scientist says that a new language model does not fit on the team’s accelerators, even though the servers have fast processors. What limits it?
- The memory of the accelerators, which must hold the weights
- The number of labels in the training data
- The speed of the servers’ main processors
- The use of a convolutional architecture
Show the answer
The memory of the accelerators, which must hold the weights
The weights of the model must fit in the memory of the accelerators. “The number of labels in the training data” is wrong, since labels matter for training, not for loading a model. “The speed of the servers’ main processors” is wrong, because the speed of the main processors does not decide whether the weights fit. And “The use of a convolutional architecture” is wrong, since a convolutional network is an architecture, and it says nothing about this model's size.