Intrigued by the art of cloud architecture? Discover how to design, develop, and manage robust, secure, scalable, and dynamic solutions on Google Cloud as you prepare for the Professional Cloud Architect exam!
Prepare and test your skills
Prepare and test your skills
A layered stack diagram illustrating the AI Hypercomputer architecture, showing the performance-optimized infrastructure layer (GPUs, TPUs, storage, networking), open software layer (GKE, Slurm, Cluster Toolkit), and consumption options layer (Future Reservations, Spot VMs, Cloud Monitoring).
The AI Hypercomputer is an integrated supercomputing system designed for demanding AI workloads, combining high-performance hardware, open-source software frameworks, and flexible consumption options. Its architecture consists of three layers: performance-optimized infrastructure with accelerators like GPUs and TPUs, open software, and consumption options.
Vertex AI Agent Builder is a tool used to create and manage AI Agents that interact with users and perform tasks like searching for products. It ensures accurate responses by using grounding techniques to connect agents to real-world data and integrating with enterprise data sources via tools like the Model Context Protocol (MCP).
Model Garden is a central repository within Vertex AI that allows architects to browse and select from a wide variety of foundation models. Key selection criteria include modality (handling text, images, video, or audio), cost (balancing expense against budget), and performance (assessing accuracy and speed for specific tasks).
Google Cloud offers several consumption models for AI infrastructure: Future Reservations provide guaranteed capacity and discounts for long-term projects, Spot VMs offer the deepest discounts for less critical tasks but can be reclaimed, and Flex-start is for short-lived clusters needing cost-effectiveness.
The AI Hypercomputer is an integrated supercomputing system designed to handle the most demanding AI and machine learning workloads. It combines high-performance hardware, open-source software frameworks, and flexible ways to pay for resources. This system helps organizations boost efficiency during the pre-training, tuning, and serving of large models.
The architecture consists of three main layers: performance-optimized infrastructure, open software, and consumption options. The infrastructure layer includes specialized accelerators like GPUs and TPUs, along with high-speed networking and storage. Choosing the right machine type is critical for optimization: A4X works best for foundational model training, A3 Ultra is ideal for large-scale training and fine-tuning, and A3 Edge is optimized specifically for serving inference.
To manage these powerful resources, users can choose between different orchestration tools like Google Kubernetes Engine (GKE) or Slurm. GKE provides a managed environment that supports features like autoscaling and high availability for containerized AI apps. Using Cluster Toolkit allows for quick deployment through blueprints, which are pre-defined configurations for complex AI clusters.
Optimizing storage is essential to keep the accelerators fed with data without delays. Services like Cloud Storage FUSE and Parallelstore provide high-speed access to datasets during training. For block storage, Hyperdisk ML offers scalable performance that can be tuned to specific workload needs. Data redundancy is maintained through multi-regional buckets to ensure fault tolerance.
Managing costs is a key part of infrastructure optimization through various consumption models. Future Reservations provide guaranteed capacity and significant discounts for long-term projects like training foundation models. For less critical or experimental tasks, Spot VMs offer the deepest discounts but can be reclaimed by Google at any time. Flex-start is another option for short-lived clusters that need to be cost-effective. To maintain peak performance, architects must proactively manage resources using tools like Cloud Monitoring, which involves tracking goodput to measure actual ML productivity. Architects should also implement fault-tolerant designs, such as distributing deployments across multiple regions, to ensure the AI system remains resilient against hardware failures or outages.
Vertex AI Agent Builder is a powerful tool used to create and manage AI Agents that can interact with users. These agents use Gemini models to understand instructions and perform specific tasks like searching for products. To make sure these agents provide correct information, developers use grounding techniques to connect them to real-world data. This process ensures that the AI doesn't just guess but uses facts from your business.
Data Integration with enterprise data sources is essential for building useful search applications. Tools like the Model Context Protocol (MCP) help agents securely access various storage systems, including Cloud SQL for structured database information, BigQuery for large-scale data analysis, and Vector Databases used for Retrieval Augmented Generation to store text embeddings. This integration ensures that the AI has the most up-to-date information available and allows the agent to provide accurate answers based on private company files.
Infrastructure design requires choosing the right compute resources for autoscaling to handle changing traffic. You can deploy agents and search tools using several Google Cloud services: Cloud Run works best for serverless, request-driven scaling, Google Kubernetes Engine is ideal for containerized workloads that need more control, and the AI Hypercomputer provides specialized GPUs and TPUs for high-performance work. Choosing the right service depends on your specific performance and cost requirements. Maintaining high availability across different regions helps prevent the service from going down.
Model Garden in Vertex AI provides a central place to find and test various foundation models. You can choose from Gemini models, which are multimodal, meaning they can understand text, images, and video. Selecting the most affordable model that meets your needs helps optimize costs while maintaining high quality. Developers can also fine-tune these models to better fit their specific business requirements.
Observability is the final step in management to track how well the agents are performing. Using Cloud Monitoring and Cloud Logging, you can see every step an agent takes to solve a problem. It is important to perform continuous evaluation to check for accuracy and safety in the agent's responses. Setting up proactive alerts ensures that you can fix issues before they affect your users.
Model Garden is a central repository within Vertex AI that allows architects to browse and select from a wide variety of foundation models. When choosing a model, it is essential to evaluate technical factors to ensure the model aligns with specific business use cases. Key selection criteria include modality (determining if the model handles text, images, video, or audio), cost (balancing the expense of model calls against the project budget), and performance (assessing the accuracy and speed of the model for specific tasks). Selecting the appropriate model from the start ensures that the final solution is both scalable and cost-effective.
Gemini models come in several variants, each designed with unique technical capabilities for different workloads. Gemini Pro is the recommended choice for complex reasoning and acting as a primary task orchestrator in agentic systems. For applications requiring high speed and low latency, Gemini Flash provides a more efficient alternative. Architects may also use Gemini Flash-Lite for simpler, high-volume tasks that require fewer computational resources. Matching the specific model variant to the complexity of the business task is a core responsibility of a cloud architect.
The model lifecycle involves several critical phases that move a generative AI application from an idea to a production-ready tool. It begins with Discovery, where developers identify suitable foundation models, followed by Development using prompt engineering or model chaining. During Deployment, architects must manage various artifacts such as prompt templates and fine-tuned model adapters. Ongoing monitoring for model drift and continuous evaluation is required to maintain the reliability of the system over time.
To enhance performance on specialized tasks, developers often use Model Tuning techniques like Supervervised Fine-Tuning. This process involves training the model on a specific dataset to optimize its ability to perform a particular function. Another strategy is Model Routing, which dynamically selects the best model for a task based on its complexity. This allows a system to route simple requests to a Small Language Model to save money, reserve powerful models for complex reasoning, and reduce overall latency by using faster models when possible. These optimization strategies help maintain a balance between high-quality responses and manageable operational costs.
Choosing the right Model Runtime is the final step in designing the compute and network architecture for an AI solution. Vertex AI offers a fully managed environment that simplifies scaling and security for enterprise-grade applications. For teams needing maximum control over specialized hardware like TPUs or GPUs, Google Kubernetes Engine is the preferred platform. Alternatively, Cloud Run serves as a cost-effective, serverless option for containerized models with variable traffic. The selected runtime must support the specific storage and compute requirements of the chosen foundation model.
An enterprise is designing an automated customer support solution using Python and the Agent Development Kit (ADK). The design must satisfy the following architectural requirements:
Which architecture should the cloud architect recommend?