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 system architecture diagram showing traffic flowing from a Cloud Load Balancer to distinct microservices deployed on Google Kubernetes Engine (GKE). Each microservice has its own Deployment, Service, and Pods, and is scaled independently by a Horizontal Pod Autoscaler (HPA).
The Horizontal Pod Autoscaler adds or removes container replicas based on traffic load, while the Vertical Pod Autoscaler adjusts the CPU and memory limits of existing containers. This dynamic adjustment prevents over-provisioning so businesses do not pay for idle compute resources.
The four golden signals are latency (the time it takes for a request to be completed), traffic (the total demand placed on the application), errors (the rate of requests that fail), and saturation (how close the system's resources are to maximum capacity).
FinOps is a continuous practice that connects engineering decisions to business costs, using rightsizing recommendations to scale down oversized virtual machines, applying Committed Use Discounts for predictable workloads, and deploying Spot VMs for flexible batch jobs to optimize cloud expenses.
BigQuery ML allows data analysts to build and run machine learning models using standard SQL directly where the data lives, removing the need to export massive datasets to external training platforms and speeding up the time to generate predictions.
Transitioning from legacy monolithic systems to modern architectures requires refactoring applications into smaller, independent services. Organizations deploy these microservices inside containers, which run on managed platforms like Google Kubernetes Engine (GKE) or Cloud Run. This transition improves the overall scalability and agility of the system because teams can update individual components without redeploying the entire application. Traffic flows through a load balancer directly to these containerized services, allowing them to scale independently.
Managing modern microservices manually creates repetitive work, known as toil, which slows down development. To eliminate this issue, teams use Terraform to implement Infrastructure as Code (IaC), ensuring that environments are created consistently and without human error. Workflows and scheduled operations are automated using specific Google Cloud tools:
To handle shifting user demand, GKE manages container resources dynamically using automated scalers. The Horizontal Pod Autoscaler (HPA) adds or removes container replicas based on traffic load, while the Vertical Pod Autoscaler (VPA) adjusts the CPU and memory limits of existing containers. This dynamic adjustment prevents over-provisioning, meaning the business does not pay for idle compute resources. To further optimize costs, architectures can use Spot VMs for workloads that can tolerate interruptions, alongside regular right-sizing of virtual machines.
Maintaining a modern application requires complete visibility into how the infrastructure performs. Teams use Cloud Monitoring and Cloud Logging to capture and analyze system metrics in real time. To evaluate system health and make informed architectural choices, engineers watch the four golden signals:
To keep deployments reliable, organizations transition to GitOps, which uses version control as the single source of truth for infrastructure. Using Terraform, teams build automated deployment pipelines that deploy resources directly from code repositories. This automated pipeline ensures that every change is tracked, approved, and repeatable, which minimizes operational risk and removes toil. If an issue arises during deployment, the pipeline can quickly roll back the infrastructure to a previous stable state.
Managing cloud expenses requires a continuous practice called FinOps, which connects engineering decisions to business costs. Architects use rightsizing recommendations to scale down oversized virtual machines and match actual resource demands. To secure the lowest possible rates, organizations apply Committed Use Discounts (CUDs) for predictable workloads and deploy Spot VMs for flexible, batch jobs. To analyze spending patterns, billing data is exported to BigQuery, where teams run SQL queries to identify cost anomalies and optimize their budgets.
Maintaining a resilient cloud environment is not a one-time project but a continuous cycle known as the optimization loop. This loop involves constantly assessing, planning, and improving systems to keep them cloud-ready and highly efficient. After major changes or operational incidents, teams conduct retrospectives to learn what went well and what failed. Staying aligned with new technology features ensures that the cloud platform evolves alongside changing business needs.
Advanced data analytics allows businesses to refine their logic and build predictive capabilities without managing complex server infrastructure. BigQuery acts as a serverless data warehouse that scales automatically to process petabytes of data using flexible pricing. By utilizing BigQuery ML (BQML), data analysts can build and run machine learning models using standard SQL directly where the data lives. This removes the need to export massive datasets to external training platforms, speeding up the time to generate predictions.
For advanced machine learning workflows, Vertex AI provides a unified platform to manage the entire lifecycle from training to monitoring. Connecting Vertex AI to Cloud SQL allows developers to query database records and enrich them with artificial intelligence models in real-time. For instance, database queries can call models to generate embeddings for semantic search or invoke predictions directly within SQL transactions. To ensure these models perform well, developers track metrics like first-token latency and throughput.
Deploying modern AI applications requires powerful compute resources that scale dynamically. Cloud Run supports GPUs, allowing developers to run large language models and intelligent agents without managing Kubernetes clusters. For massive data pipelines, Dataflow utilizes horizontal autoscaling to automatically adjust worker instances based on the volume of incoming data. This combination ensures that both AI inference and data preprocessing scale seamlessly as workload demands shift.
To maintain the quality of AI solutions, architectures must adapt to technological changes and track performance. Tools like Active Assist analyze current usage and automatically suggest configuration improvements to reduce waste. Proactive management requires tracking GPU and TPU utilization metrics to forecast when more compute capacity will be needed. Finally, engineers must perform qualitative evaluations of model outputs to ensure that predictions remain accurate and reliable over time.
An enterprise runs a legacy monolithic web application on on-premises virtual machines. The monolithic application combines API routing, background order processing, and state management into a single large codebase, resulting in slow release cycles and operational bottlenecks. During seasonal promotions, the ingress API gateway experiences major traffic spikes, forcing the organization to over-provision the entire infrastructure to maintain availability.
The team wants to modernize this architecture on Google Cloud by refactoring the monolith into loosely coupled microservices to increase release agility and ensure that the ingress and stateless service layers can scale dynamically based on workload demand.
Which modernization approach should you recommend?