Without understanding the generative AI stack, you will look at a tool like Gemini and think it is just magic, missing the entire architecture that makes it possible, and you will fail to grasp how different components fit together for the exam. This matters because the Generative AI Leader exam requires you to describe how infrastructure, platform tools and applications work as a layered system, not just list buzzwords. By the end of this chapter, you will be able to explain the stack to a colleague who has never used cloud computing.
Jump to a section
A simple way to picture Google Cloud Generative AI Stack Overview
3 floors exist in a typical luxury apartment building: the basement with all the plumbing and electrical (infrastructure), the main floor with the concierge and shared amenities (platform), and the penthouse suite where the resident lives and works (application). You are a property developer who wants to build a building that can not only host tenants but also have a genius penthouse resident who can write a brand-new novel, design a custom piece of furniture, or generate a personalised workout plan whenever the tenant asks. This is generative AI.
The Google Cloud Generative AI Stack is exactly that building. The bottom layer, the infrastructure (basement), is Google Cloud's hardware: thousands of specialised chips called TPUs (Tensor Processing Units) designed to do the heavy maths for AI models, plus fast networking and storage. The middle layer, the platform (main floor), is Vertex AI — a collection of tools that let developers and data scientists build, train, and deploy AI models without having to manage the basement hardware. The top layer, the application (penthouse), is where the final AI product lives: a chatbot that writes poems, a tool that creates images from text descriptions, or a system that summarises meeting notes. Each generative AI application you use — like Gemini within Google Workspace or a custom AI you build — sits in that penthouse, powered by everything below.
The key insight is that you do not need to know how to lay pipes or wire the building yourself. The stack organises the necessary components so you can focus on what happens in the penthouse: the creative generation that solves real problems for people like you.
The Google Cloud Generative AI Stack is a three-layer model that shows how all the pieces of a generative AI system connect. Think of it as a layered cake: each layer supports the one above it, and you can use the top layers without worrying about the bottom ones. This is a common pattern in cloud computing called "abstraction" — hiding complexity so that you can focus on the part you care about.
The bottom layer is the Infrastructure Layer. This is the physical hardware that runs everything. It includes thousands of specialised computers called TPUs (Tensor Processing Units), which are chips Google designed specifically for the massive maths operations required by AI models. It also includes GPUs (Graphics Processing Units), which were originally built for video games but are also very good at AI work because they can do many calculations at once. This layer also covers networking (the cables and routers that connect these chips together) and storage (the hard drives and solid-state drives that hold the training data and the finished model). An IT professional who works at this layer is called a Cloud Architect or Infrastructure Engineer. They are responsible for making sure there are enough chips to run a model, that the network is fast enough, and that the data is safe.
The middle layer is the Platform Layer. This is the layer of software tools that make it easier to build, train, and use AI models without having to manage any hardware. The main platform here is Vertex AI, which is Google Cloud's unified AI platform. Within Vertex AI, you get tools like: - Vertex AI Studio: A web-based interface where you can start building AI applications immediately, with no coding required. - Vertex AI Pipelines: A system to automate the steps of building a model (like data cleaning, training, and testing) so you can repeat them reliably. - Model Garden: A library of pre-built AI models that you can use or customise, including Google's own models like Gemma and third-party models like Llama. - Vertex AI Agent Builder: A tool to create conversational AI agents (chatbots) that can answer questions using your own company data. This layer also includes Cloud Storage for holding data and Cloud Logging for seeing what your AI application is doing. An IT professional working here might be called a Machine Learning Engineer or a Data Scientist. Their job is to use the tools in this layer to build a model that works well for their specific problem.
The top layer is the Application Layer. This is what end users actually see and interact with. It includes Google's own generative AI products like Gemini (the AI assistant you can chat with), Duet AI in Google Workspace (which helps you write emails or slides), and Vertex AI Search for Healthcare (a specialised search tool for medical records). It also includes any custom application that a company builds on top of the platform layer, such as a customer service bot for a bank or an image generator for a design agency. The people who work at this layer are Application Developers or Product Managers. Their focus is on user experience and making sure the AI does something useful.
The entire stack is built on the idea of managed services. That means Google Cloud takes care of the hardware and the underlying platform software, so you do not have to. For example, if you use Vertex AI to train a model, Google automatically handles finding available TPUs, provisioning them, and connecting them to your storage. If a chip fails, Google replaces it without you noticing. This is a huge change from the past, where companies had to buy their own servers, wire them together, and hire teams just to keep them running.
Each layer has its own security and access controls. For instance, Cloud IAM (Identity and Access Management) lets you decide who can see and use the models you build. Cloud KMS (Key Management Service) encrypts your data so that even Google Cloud administrators cannot read it. These security tools run across all three layers.
In summary, the stack lets different people focus on what they are best at. A hardware engineer can optimise the TPUs. A data scientist can use the platform tools to experiment with models. A business user can interact with the finished application. The exam will test that you understand these three layers, what each contains, and how they relate to each other.
Identify the Use Case
Before touching any cloud service, you decide what problem the generative AI tool will solve: for example, generating draft emails for customer support. This determines which layer you will work in most.
Set Up Infrastructure
In the Google Cloud console, you provision compute resources (e.g., TPUs or GPUs), configure networking with VPC, and set up Cloud Storage for data. This is the Infrastructure Layer. You do not physically touch any hardware.
Select the Platform Tools
You open Vertex AI and choose the appropriate tools, such as Model Garden to pick a pre-built model (e.g., Gemini) or Vertex AI Pipelines to automate the workflow. This is the Platform Layer.
Build and Train (or Customise) the Model
If using a pre-built model, you may do retrieval augmented generation (RAG) by connecting it to your company data. If building from scratch, you train a new model using Vertex AI Training. The platform handles the scheduling on the infrastructure.
Deploy to the Application Layer
You deploy the model as an endpoint (an API that applications can call) or as a full web app. Users interact with it through a chat interface or another front end. This is the Application Layer.
Monitor and Secure
Using Cloud Monitoring and Cloud Logging, you track usage and issues. Cloud IAM is used to control access. This step spans all layers and continues after deployment.
Consider a medium-sized insurance company called "SafeGuard Insurance" that wants to build a generative AI tool for its claims adjusters. The tool should allow an adjuster to type something like "draft a denial letter for claim #4521 based on the policy exclusion for pre-existing roof damage" and have the AI produce a professional letter, pulling in the specific policy clauses and claim details.
An IT professional at SafeGuard, let us call her Priya (a Cloud Architect), needs to make this happen. Here is what she does step by step using the Google Cloud Generative AI Stack:
First, Priya does not buy any hardware. She never calls a vendor to order a server. Instead, she uses the Infrastructure Layer. She requests GPU capacity through the Google Cloud console. She selects a region (for example, us-central1 in Iowa) for data residency compliance. She sets up VPC (Virtual Private Cloud) networking so that the AI model can only communicate with SafeGuard's internal claims database. This entire step takes her about 30 minutes, whereas buying and installing physical hardware would have taken weeks.
Second, Priya moves to the Platform Layer. She opens Vertex AI Agent Builder and creates a new agent. She connects the agent to a data source: a Cloud Storage bucket containing thousands of past claim letters and the company's policy document. She does not train a model from scratch; instead, she uses Model Garden to select Gemini 1.5 Pro, a pre-existing Google model, and then she adds "grounding" by connecting it to SafeGuard's specific data. This process is called Retrieval Augmented Generation (RAG) — the AI retrieves the relevant policy and claim information from the database before generating its answer, ensuring the output is accurate and not made up.
Third, Priya uses Vertex AI Pipelines to set up a workflow. Whenever a new denial letter is drafted by the AI, the pipeline automatically sends it to a human adjuster for review (using Cloud Logging to track the audit trail). She sets up monitoring with Cloud Monitoring to watch for unusual activity, like the AI being asked to generate letters outside normal working hours.
Finally, Priya deploys the agent as a web application in the Application Layer. The adjusters access it through their existing web browser. They never see the platform or infrastructure. They just see a chat interface where they type their request and get a letter draft. Priya uses Cloud IAM to give access only to the 50 adjusters in the claims department.
The result: a custom generative AI tool built in a few days, using no hardware management, with built-in security and logging. The alternative, building everything from scratch, would have taken months and required a much larger team. This is the practical reality of the stack: it dramatically accelerates the time to get a generative AI application into production.
The Generative AI Leader exam tests your understanding of the stack primarily through scenario-based questions and definition questions. You will not be asked to write code or configure a TPU. Instead, you must be able to identify which layer a given component belongs to and explain the purpose of the abstraction.
Here are the exact concepts the exam loves to test: - The three layers: Infrastructure, Platform, Application. You will see a question like "Which layer of the Google Cloud Generative AI Stack includes Vertex AI?" Answer: Platform layer. - TPUs vs GPUs: The exam expects you to know that Google Cloud offers both, but TPUs are custom-designed by Google specifically for AI training and inference, whereas GPUs are more general-purpose. A common question: "Which chip is most optimised for training large language models on Google Cloud?" Answer: TPU. - Vertex AI as the centrepiece: The exam will repeatedly ask about Vertex AI functions. Know that it is part of the platform layer and includes Model Garden, Agent Builder, and Pipelines. - Managed services and abstraction: Be ready for a question like "What is a key benefit of the Platform Layer?" Answer: It abstracts infrastructure management, allowing users to focus on building AI applications without managing hardware. - PaaS (Platform as a Service): The exam uses this term for platforms like Vertex AI. Contrast it with IaaS (Infrastructure as a Service) which is the raw compute (TPUs, VMs).
Trap patterns to watch for:
The exam might list a component like Cloud Storage and ask which layer it belongs to. Cloud Storage is at the infrastructure layer (it provides raw storage capacity) but it is also used by platform tools. The correct answer is always the layer where the component is primarily defined: storage is infrastructure.
The exam might suggest that the Application Layer only includes Google products like Gemini. That is a trap. It also includes any custom application built on the platform, such as a customer chatbot.
The exam might ask about security features across the stack, such as Cloud IAM. Know that IAM spans all three layers.
Key definitions to memorise: - Generative AI Stack: The three-layer architecture (Infrastructure, Platform, Application) on Google Cloud that enables the creation and deployment of generative AI models. - TPU (Tensor Processing Unit): A custom ASIC (Application-Specific Integrated Circuit) designed by Google to accelerate machine learning workloads, particularly for large language models. - Vertex AI: Google Cloud's unified platform for machine learning and generative AI, providing tools for model building, training, deployment, and monitoring. - Abstraction: The principle of hiding the complexity of lower layers (e.g., infrastructure) so that users of higher layers (e.g., platform) do not need to manage them.
The exam will not ask you to compare Google Cloud's stack to AWS or Azure unless explicitly stated. Focus on Google Cloud's specific components.
Finally, the exam expects you to know that the stack enables different roles (data scientists, developers, business users) to work at the layer appropriate to their skills. A question might ask: "Which role would primarily work at the Infrastructure Layer?" Answer: Cloud Architect or Infrastructure Engineer.
The Google Cloud Generative AI Stack has three layers: Infrastructure (hardware like TPUs and networking), Platform (Vertex AI and tools), and Application (Gemini and custom apps).
Vertex AI is the core of the Platform Layer, offering tools like Model Garden, Agent Builder, and Pipelines to build and deploy generative AI without managing hardware.
TPUs are custom Google chips optimised for AI training; GPUs are more general-purpose but also used for AI workloads.
The stack is built on managed services, meaning Google Cloud handles the infrastructure so you can focus on building applications.
Abstraction is the principle that each layer hides the complexity of the layer below, enabling different roles to work at their appropriate level.
Cloud IAM and Cloud KMS provide security across all layers, controlling who can access models and how data is encrypted.
These come up on the exam all the time. Here's how to tell them apart.
Infrastructure Layer
Contains physical hardware like TPUs, GPUs, and network cables
Managed by Cloud Architects and Infrastructure Engineers
Bare compute and storage without any AI-specific tools
Platform Layer
Contains software tools like Vertex AI and Model Garden
Used by Data Scientists and ML Engineers
Provides abstraction to build and train models without managing hardware
TPU (Tensor Processing Unit)
Custom-designed by Google specifically for machine learning
Most efficient for training large language models on Google Cloud
Only available on Google Cloud Platform
GPU (Graphics Processing Unit)
Originally designed for rendering graphics, repurposed for AI
More general-purpose, used for various compute tasks including AI
Available from multiple cloud providers and on-premises
Pre-built Model (e.g., Gemini via Model Garden)
Used as-is or customised with your data (RAG)
No training required; faster to deploy
Less flexible if you need very specific behaviour
Custom-Trained Model
Built from scratch or fine-tuned using your own data
Requires training time and compute resources
Highly customisable to your exact use case
Mistake
The Google Cloud Generative AI Stack is just a term for the different AI models Google offers, like Gemini and Imagen.
Correct
The stack refers to the full layered architecture: the hardware (infrastructure), the platform tools (Vertex AI), and the applications (both Google-built and custom). Models like Gemini are just one part of the application layer.
Beginners often equate specific AI products with the entire ecosystem, not realising the infrastructure and platform are distinct layers that make those products possible.
Mistake
If you use Vertex AI, you still need to manage your own servers and network because the cloud is just a remote computer.
Correct
Vertex AI is a managed service, meaning Google Cloud automatically handles the underlying servers, networking, and storage. You do not need to provision or manage any hardware.
This misconception comes from a time when cloud computing was just renting virtual machines, but modern platforms like Vertex AI abstract away that complexity entirely.
Mistake
TPUs and GPUs are the same thing, just different brands.
Correct
TPUs are custom-designed by Google specifically for machine learning tasks like training large language models. GPUs are more general-purpose and originally designed for graphics, though they are also used for AI. TPUs are often more efficient for Google's specific workloads.
The names sound similar, and both are used for similar purposes (accelerating computations), but they are architecturally different. The exam specifically tests this distinction.
Mistake
The Application Layer only includes public Google products like Gemini — custom apps built by companies are not part of the stack.
Correct
The Application Layer includes any generative AI application that runs on Google Cloud, whether it is a Google product (like Gemini) or a custom-built application (like a customer service chatbot for a retailer).
Learners sometimes think the stack is only Google's own offerings, but the entire purpose of the platform is to let customers build their own applications on top.
Reveal each answer, then mark whether you got it right. Score 60%+ to unlock the next chapter.
The Platform Layer (Vertex AI) provides tools to build, train, and deploy AI models. The Application Layer is the final product that users interact with, such as Gemini or a custom chatbot. The platform enables the application.
Not necessarily for the top layers. Vertex AI Studio and Agent Builder offer graphical interfaces to create AI applications without coding. However, deeper work like customising models may require Python or SQL.
Gemini is part of the Application Layer. It is a generative AI application that runs on Google Cloud, but end users do not manage the underlying infrastructure or platform.
A TPU (Tensor Processing Unit) is a custom chip Google designed to perform the matrix maths needed for AI models much faster than a general-purpose CPU. It is part of the Infrastructure Layer.
Yes, you can build a completely custom generative AI application using only the Platform Layer (Vertex AI) and Infrastructure Layer, deploying your own model and user interface.
No, the exam focuses on the architecture and function of components, not pricing. You only need to know that TPUs and GPUs exist in the Infrastructure Layer and that managed services reduce cost through abstraction.
You've finished Google Cloud Generative AI Stack Overview. Continue through the Generative AI Leader study guide to build a complete picture of the exam.
Done with this chapter?