Generative AI Concepts: Foundation Models, LLMs, and Business Use Cases
Generative AI is a category of artificial intelligence that creates new content — text, images, code, audio, and video — by learning patterns from vast amounts of existing data. It sits inside a hierarchy: artificial intelligence is the broad goal of machines performing tasks that normally require human intelligence, machine learning is the technique of learning from data instead of following hand-written rules, and generative AI is the branch of machine learning that produces original output rather than only classifying or predicting. In this lesson you will learn the core vocabulary the exam expects — foundation models, large language models, multimodal models, diffusion models, prompt engineering, and prompt tuning — plus the three machine learning approaches, the five stages of the machine learning lifecycle and the Google Cloud tools for each, how to choose a foundation model for a business use case, and the four business patterns where gen AI delivers value: create, summarize, discover, and automate.
On this page8 sections
- How AI, machine learning, and generative AI relate
- Foundation models and large language models
- Diffusion models: how gen AI creates images and video
- Prompt engineering versus prompt tuning
- The three machine learning approaches
- The five stages of the machine learning lifecycle
- How to choose a foundation model for a business use case
- Business use cases: create, summarize, discover, automate
- Define artificial intelligence, machine learning, natural language processing, and generative AI, and explain how they relate
- Tell whether a business proposal needs predictive machine learning, generative AI, or both
- Distinguish foundation models, large language models, multimodal foundation models, and diffusion models, and explain how an LLM is pretrained and refined
- Separate prompt engineering, grounding with retrieval-augmented generation, prompt tuning, and fine-tuning
- Compare supervised, unsupervised, and reinforcement learning approaches
- Identify the five stages of the machine learning lifecycle and the Google Cloud tools that support each stage
- Evaluate foundation models for a business use case using factors such as modality, context window, security, availability, cost, and performance
- Recognize business use cases where gen AI can create, summarize, discover, and automate
How AI, machine learning, and generative AI relate
Artificial intelligence (AI) is the umbrella discipline, machine learning (ML) is a technique within it, and generative AI is a specialized branch of machine learning — each term is a narrower circle inside the previous one. AI describes any system that performs tasks associated with human intelligence, such as understanding language, recognizing images, or making decisions. Machine learning achieves this by training models on data so they improve from experience instead of relying on explicitly programmed rules. Generative AI goes one step further: rather than only classifying inputs or predicting a number, it produces new content that did not exist before.
Natural language processing (NLP) is the field of AI concerned with understanding and generating human language, covering tasks such as translation, chat, and question answering. Much of NLP is not generative at all: sentiment analysis, text classification, and entity extraction read language and return a label or a list of fields. NLP is also the foundation on which large language models are built. So a model that reads job applications and pulls out each candidate's skills and years of experience as structured fields is NLP and machine learning, but it is not generative AI, because it never produces new content. Working with language and generating content are separate questions.
| Concept | What it does | Business example |
|---|---|---|
| Artificial intelligence | Machines performing tasks that normally need human intelligence | A camera system that recognizes defects on a production line |
| Natural language processing | Understands or generates human language | Scoring the sentiment of product reviews |
| Machine learning (predictive) | Learns patterns from data to classify or predict | A model that predicts which machines are likely to fail next month |
| Generative AI | Creates new content: text, images, code, audio, video | Gemini writing a first draft of a product announcement |
The reliable test is the output. If the system produces original content, it is generative AI; if it returns a label, a score, or a forecast, it is traditional (predictive) machine learning. One organization usually needs both. An energy utility estimating tomorrow's electricity load for each region from years of meter readings needs predictive ML, because the output is a number derived from historical patterns; the same utility drafting plain-language outage notices tailored to each neighbourhood needs generative AI, because the output is new text. Judge each proposal by what it must produce, not by which technology is newer.
Foundation models and large language models
A foundation model is a large AI model pretrained on a vast, broad dataset that can then be adapted to many different downstream tasks — one model serving as the foundation for summarization, drafting, classification, translation, and more. This reuse is the business breakthrough, and it is an example of transfer learning: knowledge learned during pretraining carries over to new tasks. Instead of building a separate model from scratch for every task, which needs large labeled datasets per task, an organization starts from a pretrained foundation model and adapts it with prompting or light tuning, which dramatically reduces the time, data, and cost needed to put AI to work.
A large language model (LLM) is a foundation model specialized in language. It is built in stages. Pretraining is self-supervised: the model reads an enormous body of unlabeled text and learns to predict the next words (tokens) in a sequence, so the text itself supplies the answers and no one has to label anything. A token is the unit of text a model reads and writes — a word or a piece of a word — and an LLM generates its output the same way, predicting one token at a time and appending each to the sequence. That is how it learns grammar, facts, and reasoning patterns, and why a trained LLM can answer questions, draft documents, translate, summarize, and write code. Later refinement steps use smaller, curated data: instruction tuning trains on labeled prompt-and-response examples so the model follows instructions, and reinforcement learning from human feedback (RLHF) turns human ratings of its answers into a reward so it becomes more helpful and safer. Google's Gemini family is the flagship example, and Gemma is Google's family of lightweight open models that organizations can run and adapt themselves.
A multimodal foundation model can take in and reason across more than one type of data — text, images, audio, and video — in a single model. Gemini is natively multimodal: you can show it a photo of a shelf display and ask for a written compliance report, or give it a short product video and ask for a step-by-step written guide. Do not confuse multimodal with multilingual. Multilingual means handling several human languages; a help-desk assistant that answers typed questions in French, Hindi, and Portuguese is still working with one modality, text.
Multimodality matters when the answer depends on how the inputs relate to each other. Consider an equipment-maintenance review that must catch when a technician's written report says a part was replaced but the inspection photo still shows the worn one. If one model first turns the photo into a short caption or label and a second model reads that caption alongside the report, the second model never sees the image itself, so any detail the caption leaves out is lost, and the team now maintains two models instead of one. A single multimodal model that receives the photo and the report together can check one against the other directly. For business leaders, multimodality matters because most enterprise information is not plain text; a model that reads documents, screenshots, and recordings unlocks far more of an organization's knowledge.
Diffusion models: how gen AI creates images and video
A diffusion model is a type of generative model that creates images by learning to reverse noise: during training it watches images being progressively degraded into random static, and it learns to run that process backwards, refining pure noise step by step into a coherent picture that matches a text description. This is the technique behind modern image and video generation. It works differently from a language model, which produces text one token at a time by predicting what comes next; a diffusion model refines a whole image over many denoising steps.
Diffusion is not the only generative approach for images. Generative adversarial networks (GANs) train two networks against each other — a generator that makes images and a discriminator that tries to tell them from real ones — and produce an image in a single pass. Variational autoencoders (VAEs) compress images into a compact representation and learn to generate new images by decoding from it. The feature that identifies a diffusion model is the iterative denoising: starting from noise and removing it step by step.
In the Google Cloud portfolio, Imagen is the foundation model for generating and editing high-quality images from text prompts, and Veo is the foundation model for generating video. A marketing team can use Imagen to produce campaign visuals and product imagery without a photo shoot, and use Veo to storyboard or generate short video content — compressing creative cycles from weeks to hours.
You do not need the mathematics. What matters is the mapping: language tasks point to large language models such as Gemini, image generation points to diffusion-based models such as Imagen, and video generation points to Veo. When a scenario describes creating visual assets from a written brief, diffusion models and Imagen are the concepts involved.
Prompt engineering versus prompt tuning
Prompt engineering and prompt tuning are both ways to get better output from a foundation model without retraining it from scratch, but they work at different levels. Prompt engineering is the human craft of writing effective instructions: giving the model a clear task, audience, context, examples, and a desired format. It requires no training or infrastructure — anyone can do it in the Gemini app — and it is usually the first, cheapest lever an organization pulls to improve results.
Prompt tuning is a parameter-efficient tuning technique: instead of a person rewording instructions, the system learns a soft prompt — a small set of numeric vectors, not readable words — from labeled examples and adds it to every request. The base model's weights stay frozen; only the soft prompt is learned. That makes it far cheaper than changing the model, while giving more consistent task-specific behavior, such as a house style, than hand-written prompts alone. Full fine-tuning, by contrast, updates all of the model's weights on your data, which costs the most and produces a new version of the model. Prompt tuning is a concept you need to recognize by name; on Google Cloud, the main managed tuning option for Gemini models is supervised fine-tuning that uses a parameter-efficient method, so only a small number of added parameters is trained (preference tuning is also available for some Gemini models).
Grounding is a different lever again. Retrieval-augmented generation (RAG) finds relevant documents at request time — from a company knowledge base or search — and adds them to the prompt so the model answers from current, specific facts. It changes what the model knows for that request; it does not teach the model a behavior and does not change its weights.
| Technique | What changes | Best for |
|---|---|---|
| Prompt engineering | The words a person writes in the prompt | Quick improvements with no budget or training |
| Grounding / RAG | Retrieved documents are added to each prompt | Answers that must reflect company data or recent facts |
| Prompt tuning | A learned soft prompt; base weights frozen | Consistent task behavior when weights must not change |
| Fine-tuning | The model's weights (all of them in full fine-tuning; a small added set in parameter-efficient tuning) | Specialized behavior the lighter options cannot reach |
For a leader, the decision logic runs in order of cost and effort: start with prompt engineering (no training, immediate), add grounding when the problem is missing or outdated knowledge, move to prompt tuning when you need repeatable task-specific behavior at scale, and reserve fine-tuning for cases where the lighter options cannot reach the required quality. The right choice is usually the lightest technique that meets the need and the organization's constraints.
The three machine learning approaches
Machine learning models are trained in three main ways, and the difference comes down to what kind of feedback the model receives. Supervised learning trains on labeled data — examples paired with the correct answer — so the model learns to map inputs to known outputs. It powers spam filtering (emails labeled spam or not), fraud detection (transactions labeled fraudulent or legitimate), and sales forecasting.
Unsupervised learning trains on unlabeled data and discovers hidden structure on its own. There is no correct answer provided; the model finds groupings and patterns. The classic business example is customer segmentation — clustering shoppers by behavior without anyone defining the segments in advance — along with anomaly detection and market-basket analysis.
The two approaches complement each other. A supervised model can only recognize patterns that appear in its labels: an intrusion-detection model trained on labeled examples of known network attacks has no way to recognize a technique nobody has labeled yet. Unsupervised anomaly detection needs no labels, so it can flag network activity that simply departs from normal behavior, surfacing an unfamiliar pattern early; security analysts then investigate what was flagged, and the cases they confirm become labels that can later improve the supervised model.
Reinforcement learning trains an agent through trial and error: the agent takes actions in an environment and receives rewards or penalties, gradually learning a strategy that maximizes reward. It suits sequential decision problems such as recommendation systems, robotics, and resource optimization. It also refines large language models: in reinforcement learning from human feedback (RLHF), human reviewers judge the model's responses for qualities such as helpfulness and safety, a reward model learns from those judgments, and the LLM is then optimized to earn a higher reward.
Two related terms sit outside these three approaches. Self-supervised learning creates its own labels from unlabeled data — predicting the next word in a sentence is the example — and is how foundation models are pretrained. Transfer learning reuses what a model learned on one task for another, which is what adapting a foundation model does. The cue is the data and the feedback: labeled examples with known answers signal supervised learning, unlabeled data explored for patterns signals unsupervised learning, and learning by reward and penalty over repeated attempts signals reinforcement learning.
The five stages of the machine learning lifecycle
The machine learning lifecycle is the end-to-end journey a model travels: data ingestion, data preparation, model training, model deployment, and model management. Understanding it matters to leaders because most gen AI project cost and risk lives in the data and management stages, not in the model itself.
Data ingestion collects raw data from source systems — databases, applications, documents, event streams. Data preparation cleans, transforms, deduplicates, and organizes that data so it is usable for training and so evaluation is honest. Poor preparation is the most common reason AI projects underdeliver. Model training teaches the model from the prepared data, or adapts a pretrained foundation model to your task. Model deployment puts the trained model into production behind an endpoint, or runs it in batch, so applications and agents can use it. Model management is the ongoing work: monitoring quality, tracking versions, watching for drift as real-world data changes, and retraining when performance degrades.
| Stage | Google Cloud tools | What the tool does there |
|---|---|---|
| Data ingestion | Pub/Sub, Cloud Storage, BigQuery | Pub/Sub is a messaging service for real-time event streams that decouples the systems producing events from the systems processing them; Cloud Storage holds files and unstructured content; BigQuery loads and stores analytical data |
| Data preparation | Dataflow, BigQuery | Dataflow runs managed pipelines that clean and transform data at scale, in batch or streaming; BigQuery transforms data with SQL |
| Model training | Agent Platform (training, tuning, AutoML) | Trains custom models or tunes foundation models |
| Model deployment | Agent Platform endpoints and batch prediction | Serves the model online for real-time requests, or in batch |
| Model management | Agent Platform model monitoring, Model Registry | Compares serving inputs against a baseline to detect drift and skew and alerts the team; tracks model versions |
Gemini Enterprise Agent Platform (Agent Platform for short, the evolution of what was previously branded Vertex AI) is Google Cloud's unified AI platform, and it supports training, deployment, and management from one environment. Two near-misses are worth separating. Looker is a business intelligence and reporting tool for exploring data and building dashboards; it does not run the pipelines that prepare training data. Cloud Monitoring alerts on an endpoint's operational health, such as latency, error rates, and uptime; a model can be fast and error-free while its predictions get steadily worse, so those alerts do not detect drift. Model monitoring watches the data the model receives.
Placing a problem in the right stage depends on timing. Drift is a gradual change after launch: the real world moves away from the data the model was trained on, so quality declines over weeks or months, and the fix belongs to model management — monitor, alert, and retrain. A model that underperforms from its first day in production and never matched its test results points earlier in the lifecycle. For example, if a source system that retries failed uploads wrote some machine sensor readings twice and nobody removed the repeats, identical records can land on both sides of the train/test split; the model is then partly tested on examples it has already seen, so the evaluation overstates quality. That is a data-preparation failure, and deduplicating before splitting the data is what keeps evaluation honest.
Remember the order and the ownership: the lifecycle is a loop, not a line, and management feeds back into new data and retraining for as long as the model serves the business.
How to choose a foundation model for a business use case
Choosing a foundation model is a structured trade-off across eight factors, not a search for a single best model: match each requirement in the scenario to the factor it tests, and often more than one factor applies at once.
| Factor | Question it answers | When it dominates |
|---|---|---|
| Modality | What data types must the model handle — text, images, audio, video? | Analyzing documents with charts, or generating visuals |
| Context window | How much information can the model consider in one request? | Summarizing long technical manuals, codebases, or hours of transcripts |
| Security | How is data protected, and does it stay under enterprise control? | Regulated industries and confidential data |
| Availability and reliability | Does the model meet uptime needs across regions? | Customer-facing, business-critical applications |
| Cost | What does each request cost at expected volume? | High-volume tasks such as tagging millions of product listings |
| Performance | Is output quality and speed sufficient for the task? | Complex reasoning versus simple, latency-sensitive tasks |
| Fine-tuning | Can the model be trained further on your own data? | Specialized domains with unique vocabulary |
| Customization | Can behavior be shaped via prompts, tuning, and grounding? | Enforcing brand voice or company-specific answers |
The practical pattern: a lightweight, lower-cost model often wins for simple high-volume tasks, while a frontier multimodal model with a large context window wins for complex reasoning over rich inputs. Set the quality bar first. When several models clear that bar, the remaining differences in quality matter less than price at high volume, so cost becomes the deciding factor for simple, repetitive work. Requirements also combine: answering questions about a long engineering manual supplied as scanned pages full of diagrams depends on both modality (images of pages, not plain text) and context window (the whole manual at once).
How the model is served matters too. Batch prediction sends a large set of requests to be processed together and returns the results later; it costs less than online requests and suits overnight jobs with a deadline, such as scoring a quarter's worth of product reviews for sentiment ahead of a planning meeting. Because it is asynchronous, it cannot serve a user waiting for an answer — real-time needs call for online prediction. Matching requirements to factors, rather than defaulting to the most capable model, is the skill being built here.
Business use cases: create, summarize, discover, automate
Google Cloud frames gen AI business value in four verbs — create, summarize, discover, and automate — and exam scenarios are usually a thin disguise over one of them. Create covers generating new content: text generation for marketing copy and proposals, image generation for creative assets, code generation to accelerate developers, and video generation for training or advertising material.
Summarize condenses long content into short, decision-ready form: distilling a fifty-page report into an executive brief, recapping meetings, or compressing a support ticket history before an agent picks it up. Discover surfaces knowledge that already exists but is hard to find: asking questions across an organization's documents, analyzing data in plain language, and spotting patterns a person would miss. Automate removes manual steps from a workflow: drafting replies, extracting fields from invoices, classifying feedback, and powering personalized user experiences that adapt content to each customer.
Consider a national retailer. It uses gen AI to create product descriptions and seasonal campaign imagery, summarize thousands of customer reviews into weekly insight reports, discover answers from internal merchandising policies through conversational search, and automate personalized email offers for each shopper segment. One foundation model strategy serves all four patterns — which is exactly why foundation models changed the economics of enterprise AI.
Tip. The exam tests this topic mostly through definition-matching and scenario questions: expect to pick the term that fits a description (diffusion model for image generation, multimodal versus multilingual, prompt engineering versus grounding versus prompt tuning versus fine-tuning), the ML approach that fits a dataset (labeled data signals supervised, pattern or anomaly discovery in unlabeled data signals unsupervised, reward-driven learning including RLHF signals reinforcement), or whether a proposal needs predictive ML or generative AI. Lifecycle questions ask which stage a task belongs to and which Google Cloud tool supports it, including telling gradual drift (model management) from a model that was never as good as tested (data preparation). Watch for trigger words like 'labeled', 'reward', 'context window', 'weights frozen', and 'real time'. Foundation-model selection questions reward matching a business constraint — cost, security, availability, modality — to the deciding factor rather than choosing the most powerful model.
- Generative AI is a branch of machine learning that creates new content; traditional ML classifies or predicts, and one organization often needs both.
- NLP covers non-generative language tasks too: a model that only tags or scores text is NLP and ML, not gen AI.
- A foundation model is pretrained on broad data and adapted to many tasks; an LLM is pretrained self-supervised on unlabeled text, then refined with labeled instructions and RLHF.
- Multimodal means several data types in one model (Gemini); multilingual means several languages. When inputs of different types must be checked against each other, one multimodal model sees them together, while a chain of models passes along only a lossy summary.
- Diffusion models generate images by iteratively denoising random noise — the concept behind Imagen; Veo generates video. GANs and VAEs are other generative approaches.
- Prompt engineering edits the words, grounding/RAG adds retrieved documents, prompt tuning learns a soft prompt with weights frozen, and fine-tuning changes weights.
- Supervised learning uses labeled data, unsupervised finds patterns (and anomalies) in unlabeled data, reinforcement learns from rewards and penalties.
- The ML lifecycle runs ingestion (Pub/Sub, Cloud Storage), preparation (Dataflow, BigQuery), training, deployment, and management (Gemini Enterprise Agent Platform model monitoring for drift) — as a loop.
- Choose a foundation model by modality, context window, security, availability, cost, performance, fine-tuning, and customization; set the quality bar first, then let cost decide among models that meet it.
- Gen AI business value maps to four verbs: create, summarize, discover, and automate.
Frequently asked questions
What is the difference between AI, machine learning, and generative AI?
Artificial intelligence is the broad field of machines performing tasks that normally require human intelligence. Machine learning is a technique within AI where models learn patterns from data instead of following hand-written rules. Generative AI is a branch of machine learning that creates new content — text, images, code, audio, and video — rather than only classifying inputs or predicting values. Each term is a narrower subset of the one before it.
How do I know whether a project needs generative AI or predictive machine learning?
Look at what the system must output. If it must create new content such as text, images, code, or video, it needs generative AI. If it must return a label, a score, or a forecast from historical data, such as tomorrow's electricity load or the chance a machine fails, predictive machine learning fits. A model that reads text and only labels it or extracts fields from it is natural language processing and machine learning, but not generative AI. Most organizations run both kinds of project side by side.
What is a foundation model in generative AI?
A foundation model is a large AI model pretrained on a vast, broad dataset that can be adapted to many different downstream tasks, such as summarization, drafting, translation, and classification. Instead of building a separate model for every task, organizations adapt one pretrained foundation model — through prompting, tuning, or fine-tuning — which sharply reduces the time, data, and cost of applying AI. Google's foundation models include Gemini, Gemma, Imagen, and Veo.
What is the difference between prompt engineering and prompt tuning?
Prompt engineering is the human practice of writing better instructions for a model — clear tasks, context, examples, and output format — and requires no training or infrastructure. Prompt tuning is a parameter-efficient technique that learns a soft prompt (numeric vectors, not words) from labeled examples while the model's weights stay frozen, giving consistent task-specific behavior at far lower cost than fine-tuning, which changes the model's weights. Grounding with retrieval-augmented generation is different again: it adds retrieved documents to the prompt so answers reflect specific, current facts. Organizations typically try prompt engineering first and reserve fine-tuning for cases the lighter options cannot solve.
What are the five stages of the machine learning lifecycle?
The machine learning lifecycle has five stages: data ingestion (collecting raw data, for example streaming events through Pub/Sub or landing files in Cloud Storage), data preparation (cleaning, transforming, and deduplicating it, for example with Dataflow or BigQuery), model training (teaching or adapting the model), model deployment (serving it through an endpoint or in batch), and model management (monitoring quality, detecting drift with Agent Platform model monitoring, tracking versions, and retraining). It operates as a continuous loop rather than a one-time sequence.
What is the difference between model drift and a data preparation problem?
Drift is a gradual decline after launch, as real-world data moves away from what the model was trained on; it is handled in model management by monitoring serving inputs against a baseline, alerting, and retraining. A model that performs worse than its test results from its first day in production points to a data preparation problem instead, such as repeated copies of the same records landing in both the training and evaluation sets, so the model is tested on examples it has already seen and the evaluation score is inflated; removing duplicates before splitting the data prevents this. Endpoint health alerts on latency and errors detect neither.
How do you choose the right foundation model for a business use case?
Evaluate candidate models against the requirements of the use case across eight factors: modality (which data types it must handle), context window (how much input it can consider at once), security, availability and reliability, cost at expected volume, performance, fine-tuning support, and customization options. Simple high-volume tasks often favor a lightweight, lower-cost model, while complex reasoning over long or mixed-media inputs favors a frontier multimodal model with a large context window.
What are the main business use cases for generative AI?
Generative AI business use cases group into four patterns: create (generating text, images, code, and video), summarize (condensing long reports, meetings, and ticket histories into decision-ready briefs), discover (finding and questioning knowledge across an organization's documents and data), and automate (removing manual workflow steps and delivering personalized user experiences). Most enterprise scenarios are a combination of these four.
Source
This lesson covers the "Fundamentals of gen AI" domain of the official GenAI Leader exam guide. Vendors revise their guides — check the source for the current version.
- Google Cloud Generative AI Leader exam guide — Google Cloud
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.