AI & ML Fundamentals
AI, ML, and the rest of the family
Every ML system is an AI system, but not every AI system learns from data, and that one nested relationship is the mental model the whole domain rests on. Get the AI-ML-deep-learning hierarchy straight and you can read a dashboard, name the problem shape a business question reduces to, and tell when ML earns its keep over plain analytics. Choosing a Google Cloud AI service, or building one, builds on the definitions below.
Artificial intelligence (AI) is the broad field of computer science concerned with building systems that reason, learn, and act in ways that used to require human intelligence. Google describes AI as "a set of technologies that empowers computers to learn, reason, and perform a variety of advanced tasks"[1] such as understanding language, analysing data, and making suggestions. AI is the umbrella term.
Machine learning (ML) is the application of AI in which a system learns the rules from data instead of having them hand-coded. Google's own definition is precise: "Machine learning is a subset of artificial intelligence that enables a system to autonomously learn and improve ... without being explicitly programmed, by feeding it large amounts of data."[2] The single most useful mental model for this whole domain is the subset relationship, drawn below as concentric boxes: every ML system is an AI system, but not every AI system learns from data. Deep learning is in turn a subset of ML that trains multi-layered neural networks, and generative AI is a subset of deep learning; you do not need their internals for this exam, only that each nests inside the one before it the same way ML nests inside AI.
The practical dividing line between ML and ordinary software is who writes the logic. In traditional programming a developer codes explicit if-then rules: "if the transaction is over $10,000 and from a new country, flag it." In ML you instead supply examples (labelled fraud and non-fraud transactions) and the training process derives the rule itself. That is why ML earns its keep on problems whose rules are too varied or too subtle to write out by hand, like recognising what is in an image.
ML problems fall into a few recurring problem types, and naming the shape of a business question is the first decision you make. Google groups the learning approaches into four model types: supervised, unsupervised, semi-supervised, and reinforcement learning[2]. For the Cloud Digital Leader you should be able to recognise the everyday problem shapes those approaches address:
| Problem type | Question it answers | Everyday example |
|---|---|---|
| Classification | Which category does this belong to? | Is this email spam or not? |
| Regression | What is the numeric value? | How many units will we sell next month? |
| Clustering | Which items naturally group together? | Segment customers with no predefined labels |
| Recommendation | What should we suggest next? | Which movie to show this viewer |
| Forecasting | How will this series move over time? | Project demand from past sales |
Classification and regression learn from labelled examples (supervised learning, which "uses labeled training data ... to map a specific feature to a label"[2]); clustering finds structure in unlabelled data (unsupervised learning, which "uses unlabeled data to learn patterns"[2]). If a business question does not reduce to one of these shapes, ML is probably not the answer.
ML vs analytics and BI: predict, don't just report
This section draws the line you will be tested on most: when a scenario calls for machine learning versus traditional data analytics or business intelligence (BI). The two are not competitors so much as answers to different questions, and the exam rewards picking the cheaper, simpler one when it fits.
Analytics and BI explain the past. They aggregate and visualise historical data so a human can read what happened and why: sales by region last quarter, the trend in support tickets, a dashboard of key metrics. The logic is written by people: an analyst composes the query, defines the chart, sets the threshold. The output is for human interpretation.
ML predicts and decides on new cases. Instead of summarising known data, an ML model generalises to records it has never seen, producing a per-case prediction, classification, or recommendation. Where a BI report tells you 4% of last month's transactions were fraudulent, an ML model scores each incoming transaction for fraud in real time. The shared mental model from the previous section explains the difference cleanly: BI runs human-written logic over historical data, while ML runs learned logic over future data.
The decision splits on one question, drawn below: do you need a report on what already happened, or a prediction about each new case?
- Choose analytics / BI when the goal is reporting and a person reading a chart: descriptive, backward-looking, structured data.
- Choose ML when you need a prediction about each new case, at a scale or speed no analyst could match, or when the data is unstructured (images, audio, text) that dashboards cannot easily query.
The relationship is also layered, not adversarial: AI as a field includes "many different disciplines including data analytics, statistics, hardware and software engineering"[2], so analytics often feeds ML. The same warehouse of historical data that powers a dashboard is the training data a model learns from. A common exam stem describes a team that already reports on historical data and now wants to predict or act on each new record; that pivot from describing the past to predicting the future is the signal to move from BI to ML.
Business value and why data quality comes first
This section covers why an organisation reaches for ML and the single biggest factor in whether the project succeeds. The Cloud Digital Leader exam is a business exam, so it tests the value proposition and the prerequisites, not the algorithms.
ML creates business value in three recurring situations, all variations on "a human cannot keep up":
- Scaling decisions. When the same decision must be made many times, quickly, and consistently, ML applies one learned rule across millions of cases, far beyond what a team of analysts could review. Google lists fraud detection, identifying security threats, personalization and recommendations, and automated customer service as core business functions ML supports[2].
- Finding patterns in large datasets. As "the rate of data generation is accelerating ... machine learning helps make it possible to analyze and find value in this vast amount of data"[2], patterns too large or subtle for manual inspection.
- Unlocking unstructured data. Images, audio, video, and free text carry enormous value that row-and-column analytics cannot easily query. ML extracts meaning from them (transcription, translation, image recognition), turning previously untapped data into usable signal.
But ML is only as good as its data, and this is the prerequisite the exam returns to. The diagram below traces why: training data sets a ceiling that flows through training into every prediction the model makes at inference. A model learns whatever its training data teaches it, so the data's quality and representativeness set the ceiling on the model. Google states the dependency directly: "Assuming the training data is of high quality, the more training samples the machine learning algorithm receives, the more accurate the model will become"[2]. Note the precondition. High-quality data is accurate, complete, consistent, and representative of the real population the model will serve.
The consequence worth remembering: training data that is biased or unrepresentative produces a biased model, no matter how good the algorithm. If the historical data under-represents a group or encodes a past prejudice, the model will reproduce that bias at scale. This is why data preparation and governance, not the choice of model, are usually where an ML project is won or lost, and why a scenario describing "poor, scarce, or skewed data" is a signal to fix the data before investing in modelling.
Explainable and responsible AI
This section defines the two governance ideas the exam expects every cloud leader to know, explainable AI and responsible AI, and shows how they shape AI decisions. They are requirements you gather up front, not features bolted on after a model ships.
Explainable AI means a model's predictions can be understood and interpreted by people: knowing why the model produced a given output, not just what it output. This matters for four reasons that recur in exam scenarios: building user trust, debugging a model that behaves oddly, checking for unfair bias, and meeting regulatory obligations that demand a decision be justified. A model nobody can interpret is hard to trust and hard to defend, so when a scenario stresses transparency, auditability, or "the bank must explain why a loan was declined," explainability is the concept being tested. (Google offers tooling in this area; the underlying exam concept is the interpretability of model outputs, which Google lists alongside fairness, privacy, and security as responsible-practice areas[3].)
Responsible AI is the broader practice that contains explainability, drawn below as an umbrella over its pillars: building and operating AI that is fair, accountable, safe, and privacy-respecting. Google frames this through its published AI Principles, a set of commitments that guide how AI should, and should not, be developed and used. Google's generative AI services "are designed with Google's AI Principles in mind,"[3] and the practice spans fairness (avoiding unjust bias), transparency and interpretability, privacy and security, and safety.
The relationship to keep straight: explainability is one pillar of responsible AI, not a synonym for it. Responsible AI is the umbrella: fairness, accountability, safety, privacy, and explainability together; explainable AI is specifically the "can a human understand this output" pillar. Reflecting the shared-responsibility theme that runs through this exam, the cloud provider supplies tools and safety filters, but the customer "remains responsible" for testing models and adhering to the acceptable-use and prohibited-use policies[3]. Responsible AI is a shared obligation, not something the platform fully handles for you.
Exam-pattern recognition. Stems that pair AI with the words trust, fairness, bias, transparency, or regulation are testing responsible/explainable AI, and the right answer favours interpretable models, fairness checks, and human oversight. A scenario about predicting per-case outcomes at scale points to ML over analytics. A scenario where data is poor, scarce, or unrepresentative points to fixing data quality first. And the classic distractor, treating analytics/BI and ML as interchangeable, is wrong because one describes the past while the other predicts new cases.
Analytics & BI vs Machine Learning
| Dimension | Analytics / BI | Machine Learning |
|---|---|---|
| Core question | What happened and why (descriptive) | What will happen / what to do per case (predictive) |
| How the logic is built | Humans write queries and rules | A model learns rules from training data |
| Works on new, unseen data | No: summarises known historical data | Yes: generalises to cases it has not seen |
| Best with unstructured data | Weak: built for structured rows and columns | Strong: handles images, audio, and text |
| Typical output | Dashboards, reports, aggregates | Predictions, classifications, recommendations |
Sharp facts the exam loves — give these one last read before exam day.
Cheat sheet
Sharp facts the exam loves — scan these before test day.
- ML is a subset of AI: every ML system is AI, but not all AI is ML
Artificial intelligence is the broad field of building systems that reason, learn, and act like humans; machine learning is the subset of AI in which a system learns rules from data rather than having them explicitly programmed. Google defines ML as a subset of AI that learns autonomously by being fed large amounts of data. Hold the nesting straight: AI is the umbrella, ML is an application of AI, and deep learning is a further subset of ML.
- The line between ML and ordinary software is who writes the logic
In traditional programming a developer hand-codes explicit if-then rules; in machine learning you supply examples and the training process derives the rule itself. That is why ML fits problems whose rules are too varied or too subtle to enumerate by hand, like recognising what is in an image or scoring fraud. If a short, stable set of deterministic rules already solves the problem, plain logic is cheaper and clearer than a model.
Trap Reaching for ML when a handful of fixed business rules would solve the problem reliably: the model adds cost and opacity for no gain.
- Analytics and BI explain the past; ML predicts and decides on new cases
Business intelligence and data analytics aggregate historical data so a person can read what happened and why: dashboards, reports, and aggregates. ML instead produces a model that generalises to data it has never seen, giving a per-case prediction or classification. The signal to move from BI to ML is a team that already reports on history and now wants to predict or act on each new record.
Trap Treating analytics/BI and ML as interchangeable: one is descriptive and backward-looking, the other predicts unseen cases.
4 questions test this
- An organization uses business intelligence dashboards to report on historical structured sales data, but now wants a system that…
- An organization wants a report showing the total revenue generated by each store during the previous fiscal year. Which approach is most…
- A data analytics team uses dashboards to report on last quarter's sales figures. The business now wants to predict which customers are…
- An organization currently uses business intelligence dashboards to summarize and visualize what happened during past sales periods. The…
- Match the business question to an ML problem type
Most business ML maps to a few problem shapes: classification assigns a category (spam-or-not), regression predicts a number (next month's sales), clustering groups similar items with no labels, recommendation suggests the next item, and forecasting projects a time series forward. Naming the shape of the question is the first decision; if it does not reduce to one of these, ML is probably not the right tool.
Trap Calling a 'how many will we sell' question classification: predicting a numeric value is regression, while classification assigns a discrete category.
- Classification and regression need labelled data; clustering does not
Supervised learning trains on labelled examples to map inputs to a known output, which is how classification and regression work: you must already have correctly-labelled historical data. Unsupervised learning finds structure in unlabelled data, which is how clustering groups items with no predefined categories. The practical implication: if you have no labels and cannot get them, supervised approaches are off the table.
Trap Assuming clustering needs labelled training data: it is unsupervised and works precisely because no labels exist.
3 questions test this
- An organization has years of historical records in which each past outcome is already labeled as 'paid' or 'defaulted'. It wants to use…
- A logistics company is preparing a labeled dataset to train an AutoML classification model in Vertex AI. Why is the accuracy of the labels…
- An e-commerce company wants to group its customers into segments based on shared purchasing behavior, without any predefined labels…
- ML adds value when good decisions must be made many times, fast
ML earns its place where the volume, size, or kind of data defeats manual analysis. It scales one learned decision rule consistently across millions of cases, far beyond what analysts could review by hand. Reach for ML for high-frequency, repeated decisions like fraud scoring, content moderation, or demand prediction; reach for analytics when a one-off human-read report is the goal.
- ML finds patterns in datasets too large for humans to inspect
As the rate of data generation accelerates, ML makes it possible to analyse and find value in volumes of data no person could review. The business value is surfacing patterns and correlations hidden in very large datasets, turning raw scale from a liability into an asset. This is distinct from reporting: BI summarises data a human still reads, whereas ML extracts signal from data at a scale beyond human reading.
- ML unlocks unstructured data that analytics cannot easily query
Images, audio, video, and free text carry enormous value but do not fit the rows and columns that traditional analytics and BI query. ML extracts meaning from this unstructured data (image recognition, transcription, translation) turning previously untapped data into usable signal. When a scenario describes value locked in documents, photos, or call recordings, that points to ML over a dashboard.
Trap Expecting a BI dashboard to extract insight from images or free text: analytics is built for structured data, so unstructured sources call for ML.
3 questions test this
- A logistics company analyzes years of structured shipment records with business intelligence dashboards, but now receives millions of…
- An organization uses business intelligence dashboards to report on historical structured sales data, but now wants a system that…
- An organization has long relied on business intelligence dashboards built from structured sales records, but now wants to gain insights…
- A model is only as good as its data: quality and representativeness set the ceiling
A model learns whatever its training data teaches it, so incomplete, inaccurate, or unrepresentative data produces an unreliable model regardless of the algorithm. Google notes that model accuracy improves with more samples only on the precondition that the training data is high quality. High-quality data is accurate, complete, consistent, and representative of the real population the model will serve, which is why data preparation usually decides whether an ML project succeeds.
Trap Assuming a more powerful algorithm or more compute will rescue a model trained on poor or scarce data: fix the data first, because it caps model quality.
4 questions test this
- A manufacturer is training an AutoML defect-detection model in Vertex AI using product photos captured only under bright daytime lighting,…
- A media company is evaluating whether to invest time in improving its labeled training data before building a custom model with Vertex AI.…
- A logistics company is preparing a labeled dataset to train an AutoML classification model in Vertex AI. Why is the accuracy of the labels…
- An online retailer plans to train a custom AutoML model in Vertex AI to predict customer churn, but their historical records contain many…
- Biased or unrepresentative training data produces a biased model at scale
Because the model reflects its training data, data that under-represents a group or encodes a past prejudice teaches the model to reproduce that bias on every prediction. The harm is then applied automatically across many cases, amplifying it. This is why representativeness, not just volume, matters, and why fairness checks on the data and the model are part of responsible ML.
Trap Believing an ML model is automatically objective because it is mathematical: it inherits whatever bias lives in its training data.
3 questions test this
- An organization plans to train a recruiting model on Vertex AI using historical hiring data that reflects past biased decisions. According…
- A company plans to build a recruiting model with AutoML in Vertex AI using past hiring decisions that historically favored one demographic…
- A manufacturer is training an AutoML defect-detection model in Vertex AI using product photos captured only under bright daytime lighting,…
- Explainable AI means people can understand why a model made a prediction
Explainable AI is the property that a model's outputs can be interpreted by people: knowing the reason behind a prediction, not just the prediction. It matters for trust, debugging, detecting unfair bias, and meeting regulations that require a decision to be justified. When a scenario stresses transparency, auditability, or having to explain why a decision was made, explainability is the concept being tested.
6 questions test this
- A bank deployed a custom TensorFlow credit-scoring model on Vertex AI, and regulators now require the bank to explain which factors…
- A bank uses a custom model trained in Vertex AI to assess loan applications and must be able to tell applicants which factors most…
- An insurance company uses a model deployed on Vertex AI to assess claims, and regulators require the company to explain why individual…
- A telecommunications company has deployed a customer-churn model in Vertex AI and wants its business analysts to understand which customer…
- A logistics company's leadership is hesitant to adopt a custom model deployed on Vertex AI because they do not understand how it reaches…
- Which statement best describes the relationship between explainable AI and responsible AI when deploying models on Vertex AI?
- Responsible AI is the umbrella; explainability is one pillar of it
Responsible AI is the broader practice of building and operating AI that is fair, accountable, safe, and privacy-respecting, and explainability is one pillar within it rather than a synonym. Google frames responsible AI through its published AI Principles, which guide how AI should and should not be developed and used. Keep the relationship straight: fairness, accountability, safety, privacy, and explainability together make up responsible AI.
Trap Equating responsible AI with explainability alone: explainability is just one of several pillars under the responsible-AI umbrella.
- Build responsible AI in up front, not as an afterthought
Fairness, transparency, privacy, and human oversight are requirements to gather before a model is built, because retrofitting them after a model is in production is far harder. Treating governance as a launch checklist rather than a design input is how bias and opaque decisions ship to users. The exam favours answers that weigh explainability and fairness early in the AI decision.
The cloud provider supplies tools, safety filters, and AI Principles, but the customer remains responsible for testing models and adhering to acceptable-use and prohibited-use policies. Responsible AI is therefore a shared obligation, mirroring the shared-responsibility theme that runs across this exam, not something the platform fully handles on your behalf. Expect scenarios that test who is accountable for safe and compliant model use.
Trap Assuming the cloud provider's built-in safety features make the customer fully responsible-AI compliant: the customer still owns testing and policy adherence.