GCP Professional Cloud DevOps Engineer - Comprehensive Fact Sheet¶
Table of Contents¶
- Exam Overview
- CI/CD Pipelines
- Site Reliability Engineering (SRE)
- Performance Optimization
- Service Management
- Google Kubernetes Engine (GKE)
- Infrastructure as Code
- Monitoring and Observability
- Incident Response
- Security and Compliance
Exam Overview¶
Certification Details¶
- π Professional Cloud DevOps Engineer Certification - Official certification page with exam guide and requirements
- π Exam Guide - Detailed breakdown of exam domains and topics covered
- Duration: 2 hours
- Format: Multiple choice and multiple select questions
- Cost: $200 USD
- Validity: 2 years
Key Exam Domains¶
- Bootstrapping a Google Cloud organization for DevOps (17%)
- Building and implementing CI/CD pipelines (23%)
- Applying site reliability engineering practices (23%)
- Implementing service monitoring strategies (21%)
- Optimizing service performance (16%)
CI/CD Pipelines¶
Cloud Build Fundamentals¶
- π Cloud Build Overview - Introduction to Google Cloud's serverless CI/CD platform
- π Cloud Build Configuration - Complete schema reference for cloudbuild.yaml files
- π Build Triggers - Automatically trigger builds from source repositories
- π Cloud Build Substitutions - Use variables in build configurations for flexibility
- π Private Pools - Run builds in custom worker pools with specific configurations
- π Build Step Images - Pre-built container images for common build tasks
- π Custom Build Steps - Create custom builder images for specialized tasks
- π Cloud Build Security - Configure IAM and service accounts for secure builds
Cloud Deploy¶
- π Cloud Deploy Overview - Managed continuous delivery service for GKE and Cloud Run
- π Delivery Pipelines - Define progressive deployment stages and strategies
- π Deployment Strategies - Implement canary, blue-green, and progressive deployments
- π Rollback Procedures - Quickly revert to previous stable releases
- π Approval Gates - Require manual approval before promoting releases
- π Cloud Deploy Automation - Automate deployment promotion based on criteria
- π Skaffold Integration - Use Skaffold for rendering and deploying Kubernetes manifests
Artifact Registry¶
- π Artifact Registry Overview - Store and manage Docker images, packages, and artifacts
- π Docker Repository - Store Docker container images securely
- π Language Package Repositories - Support for Maven, npm, Python, Go, and more
- π Vulnerability Scanning - Automatically scan container images for vulnerabilities
- π Access Control - Manage repository permissions with IAM
- π Remote Repositories - Create remote repositories to proxy external registries
- π Virtual Repositories - Aggregate multiple repositories into a single endpoint
Binary Authorization¶
- π Binary Authorization Overview - Deploy only trusted container images to GKE
- π Policy Configuration - Define deployment policies based on attestations
- π Attestations - Create cryptographic signatures for verified images
- π CI/CD Integration - Integrate attestations into Cloud Build pipelines
Source Repositories and Version Control¶
- π Cloud Source Repositories - Private Git repositories hosted on Google Cloud
- π Mirroring Repositories - Automatically mirror GitHub or Bitbucket repositories
- π Triggering Builds - Integrate with Cloud Build for automated CI/CD
- π Branch Protection - Protect important branches from direct commits
Testing Strategies¶
- π Testing Best Practices - Implement comprehensive automated testing
- π Unit Testing in Builds - Run unit tests as part of build process
- π Integration Testing - Test data management and integration strategies
- π Performance Testing - Monitor and measure system performance
Site Reliability Engineering (SRE)¶
SRE Principles and Practices¶
- π Google SRE Book - Comprehensive guide to Site Reliability Engineering practices
- π SRE Workbook - Practical implementation guidance for SRE principles
- π Error Budgets - Balance reliability with innovation using error budgets
- π Toil Reduction - Identify and eliminate repetitive manual work
- π Capacity Planning - Plan infrastructure capacity for growth
- π Reliability Hierarchy - Build reliable systems through layered practices
Service Level Objectives (SLOs)¶
- π SLO Overview - Define and monitor service level objectives
- π Implementing SLOs - Practical guide to implementing SLOs in your organization
- π SLO Best Practices - Understand the relationship between SLIs, SLOs, and SLAs
- π Cloud Monitoring SLOs - Create and manage SLOs in Cloud Monitoring
- π Alerting on SLO Burn Rate - Set up alerts based on error budget consumption
- π Windows-Based SLOs - Define SLOs based on good/total ratio over time windows
- π Request-Based SLOs - Define SLOs based on proportion of successful requests
Service Level Indicators (SLIs)¶
- π Choosing SLIs - Select meaningful metrics for service quality
- π Common SLI Patterns - Availability, latency, throughput, and quality metrics
- π Custom SLIs - Create custom indicators using Cloud Monitoring metrics
Service Level Agreements (SLAs)¶
- π SLA Best Practices - Establish customer-facing reliability commitments
- π Google Cloud SLAs - Review Google Cloud's service level agreements
- π Consequences of Missing SLOs - Define actions when SLOs are breached
Blameless Postmortems¶
- π Postmortem Culture - Build a culture of learning from failures
- π Postmortem Templates - Structured templates for documenting incidents
- π Error Budget Policy - Define policies for responding to budget exhaustion
Google Kubernetes Engine (GKE)¶
GKE Fundamentals¶
- π GKE Overview - Managed Kubernetes service on Google Cloud
- π Cluster Architecture - Understand control plane and node architecture
- π GKE Standard vs Autopilot - Choose between cluster management modes
- π Node Pools - Group nodes with similar configurations
- π Cluster Autoscaling - Automatically adjust cluster size based on demand
- π Node Auto-Provisioning - Automatically create node pools for pod requirements
GKE Workload Management¶
- π Deploying Workloads - Deploy applications to GKE clusters
- π Horizontal Pod Autoscaling - Scale pods based on CPU, memory, or custom metrics
- π Vertical Pod Autoscaling - Right-size pod resource requests and limits
- π Workload Identity - Securely access Google Cloud services from GKE pods
- π ConfigMaps - Store configuration data separate from application code
- π Secrets Management - Store and manage sensitive information securely
GKE Networking¶
- π GKE Networking Overview - Understand pod, service, and cluster networking
- π Service Types - ClusterIP, NodePort, LoadBalancer service types
- π Ingress - Expose HTTP(S) services externally
- π Network Policies - Control traffic between pods with network policies
- π Private Clusters - Create clusters with private control plane endpoints
- π Service Mesh (Anthos Service Mesh) - Add observability, security, and traffic management
GKE Security¶
- π GKE Security Hardening - Best practices for securing GKE clusters
- π Pod Security Standards - Enforce security policies for pod configurations
- π GKE Sandbox - Run untrusted workloads with additional isolation
- π Shielded GKE Nodes - Protect nodes against rootkits and bootkits
- π Role-Based Access Control (RBAC) - Control access to Kubernetes resources
GKE Operations¶
- π Logging in GKE - Collect and view container and cluster logs
- π Monitoring GKE - Monitor cluster and workload health
- π Cluster Upgrades - Keep clusters updated with latest Kubernetes versions
- π Maintenance Windows - Control when cluster maintenance occurs
- π Backup for GKE - Back up and restore GKE workloads and data
Infrastructure as Code¶
Terraform Fundamentals¶
- π Terraform on Google Cloud - Official Google Cloud Terraform documentation
- π Google Cloud Provider - Terraform provider for Google Cloud resources
- π Terraform Best Practices - Google Cloud's recommended Terraform patterns
- π State Management - Store Terraform state in Cloud Storage
- π Resource Modules - Reusable infrastructure modules
- π Terraform Validation - Validate infrastructure against organizational policies
Deployment Manager¶
- π Deployment Manager Overview - Google Cloud's infrastructure deployment service
- π Configuration Syntax - Write deployment configurations in YAML
- π Templates - Create reusable infrastructure templates
- π Deployment Updates - Update existing infrastructure deployments
Config Connector¶
- π Config Connector Overview - Manage Google Cloud resources with Kubernetes
- π Installing Config Connector - Set up Config Connector in GKE clusters
- π Resource Reference - Complete list of supported Google Cloud resources
- π GitOps with Config Connector - Implement GitOps for infrastructure management
Monitoring and Observability¶
Cloud Monitoring Fundamentals¶
- π Cloud Monitoring Overview - Monitor Google Cloud and application metrics
- π Metrics Explorer - Visualize and explore metrics interactively
- π Custom Metrics - Create application-specific metrics
- π OpenTelemetry Integration - Use OpenTelemetry for instrumentation
- π Dashboards - Create custom monitoring dashboards
- π Uptime Checks - Monitor service availability from multiple locations
- π Metrics Scope - Monitor resources across multiple projects
Cloud Logging¶
- π Cloud Logging Overview - Centralized logging for Google Cloud
- π Log Explorer - Query and analyze logs with powerful search
- π Log-Based Metrics - Create metrics from log entries
- π Log Sinks - Export logs to Cloud Storage, BigQuery, or Pub/Sub
- π Log Router - Route logs to different destinations
- π Exclusion Filters - Exclude logs from ingestion to control costs
- π Log Sampling - Sample high-volume logs
Alerting and Notifications¶
- π Alerting Overview - Create alerts based on metrics and logs
- π Alerting Policies - Configure conditions and notification channels
- π Notification Channels - Send alerts via email, SMS, PagerDuty, Slack, etc.
- π Alert Strategies - Threshold, ratio, and rate-of-change alerts
- π Log-Based Alerts - Alert on specific log patterns or events
- π Snoozing Alerts - Temporarily silence alerts during maintenance
Application Performance Monitoring¶
- π Cloud Trace - Distributed tracing for microservices
- π Cloud Profiler - Continuous CPU and memory profiling
- π Cloud Debugger - Debug production applications without stopping them
- π Error Reporting - Aggregate and display errors from cloud services
Managed Service for Prometheus¶
- π Google Cloud Managed Service for Prometheus - Fully managed Prometheus-compatible monitoring
- π Prometheus Setup - Configure managed Prometheus collection
- π PromQL Queries - Query Prometheus metrics with PromQL
- π Recording Rules - Precompute frequently used queries
Incident Response¶
Incident Management¶
- π Incident Response - Google's approach to managing incidents
- π On-Call Best Practices - Effective on-call engineering practices
- π Incident Command - Structure incident response with clear roles
- π Incident Detection - Detect incidents quickly with effective monitoring
Debugging and Troubleshooting¶
- π Troubleshooting GKE - Common GKE issues and solutions
- π Debugging Applications - Debug containerized applications in GKE
- π Analyzing Logs - Use logs to identify root causes
- π Network Troubleshooting - Diagnose networking issues
Disaster Recovery¶
- π Disaster Recovery Planning - Plan for disaster recovery scenarios
- π Backup Strategies - Implement backup and restore procedures
- π High Availability - Design highly available applications
- π Multi-Region Deployments - Deploy across regions for resilience
- π Recovery Time Objective (RTO) - Define acceptable downtime
- π Recovery Point Objective (RPO) - Define acceptable data loss
Chaos Engineering¶
- π Chaos Engineering Principles - Test system resilience through controlled experiments
- π Testing for Reliability - Validate reliability through systematic testing
Performance Optimization¶
Compute Optimization¶
- π Compute Engine Machine Types - Choose appropriate VM sizes
- π Committed Use Discounts - Reduce costs with long-term commitments
- π Preemptible VMs - Use low-cost preemptible instances for fault-tolerant workloads
- π Custom Machine Types - Create VMs with custom CPU and memory configurations
- π Right-Sizing Recommendations - Optimize VM sizes based on usage
Container Optimization¶
- π Container Best Practices - Build efficient container images
- π Image Optimization - Reduce image size and build time
- π Resource Requests and Limits - Set appropriate resource constraints
- π Pod Startup Optimization - Reduce pod startup time
Network Optimization¶
- π Cloud CDN - Cache content closer to users
- π Cloud Load Balancing - Distribute traffic efficiently
- π Network Service Tiers - Optimize network performance and cost
- π VPC Peering - Connect VPCs with low latency
- π Private Service Connect - Access services over private connections
Storage Optimization¶
- π Storage Classes - Choose appropriate Cloud Storage classes
- π Persistent Disk Types - Select disk types for performance needs
- π Object Lifecycle Management - Automatically transition or delete objects
- π Filestore Tiers - Choose managed NFS tier for workload needs
Cost Optimization¶
- π Cost Optimization Best Practices - Reduce cloud spending effectively
- π Cloud Billing Reports - Analyze and visualize spending
- π Budgets and Alerts - Set spending limits and notifications
- π Recommender - Get AI-powered optimization recommendations
- π Active Assist - Automated insights for cost and performance
Service Management¶
Cloud Run¶
- π Cloud Run Overview - Fully managed serverless container platform
- π Cloud Run Services - Deploy and manage containerized applications
- π Cloud Run Jobs - Run containers to completion for batch workloads
- π Autoscaling - Automatically scale based on traffic
- π Traffic Splitting - Gradually migrate traffic between revisions
- π Service Identity - Control access to Google Cloud services
Cloud Functions¶
- π Cloud Functions Overview - Event-driven serverless functions
- π Function Triggers - HTTP, Pub/Sub, Cloud Storage event triggers
- π Runtime Environments - Supported language runtimes
- π Function Deployment - Deploy functions from source or containers
API Management¶
- π Cloud Endpoints - Develop, deploy, and manage APIs
- π API Gateway - Secure and manage access to backend services
- π Apigee - Full lifecycle API management platform
- π Service Infrastructure - Foundation for managed services
Service Mesh and Traffic Management¶
- π Traffic Director - Global load balancing for service mesh
- π Istio on GKE - Open source service mesh implementation
- π Service Mesh Observability - Monitor service mesh performance
Security and Compliance¶
Identity and Access Management¶
- π IAM Overview - Manage access to Google Cloud resources
- π IAM Roles - Predefined and custom roles
- π Service Accounts - Identity for applications and VMs
- π IAM Best Practices - Secure access management recommendations
- π IAM Conditions - Add conditional logic to IAM policies
- π Organization Policies - Enforce governance across your organization
Secret Management¶
- π Secret Manager - Store API keys, passwords, and certificates
- π Secret Rotation - Manage secret versions and rotation
- π Accessing Secrets in GKE - Securely inject secrets into pods
- π Secret Manager in Cloud Build - Use secrets in build processes
Encryption and Key Management¶
- π Cloud KMS - Manage encryption keys on Google Cloud
- π Customer-Managed Encryption Keys (CMEK) - Control encryption with your own keys
- π Encryption at Rest - Default encryption for all data
- π Encryption in Transit - Protect data during transmission
Security Scanning and Compliance¶
- π Security Command Center - Centralized security and risk management
- π Container Analysis - Scan container images for vulnerabilities
- π Web Security Scanner - Identify security vulnerabilities in web applications
- π Policy Intelligence - Understand and manage IAM policies
- π Compliance Reports - Access compliance certifications and reports
Network Security¶
- π Cloud Armor - DDoS protection and WAF
- π VPC Service Controls - Create security perimeters around resources
- π Private Google Access - Access Google services from private IPs
- π Cloud Firewall - Control network traffic with firewall rules
- π Certificate Manager - Provision and manage TLS certificates
Additional Resources¶
Training and Preparation¶
- π Cloud Skills Boost - Official Google Cloud learning path
- π DevOps Capabilities - Research-backed DevOps practices
- π Architecture Framework - Design and operate workloads on Google Cloud
- π Sample Questions - Practice with official sample questions
Tools and CLIs¶
- π gcloud CLI - Command-line tool for Google Cloud
- π kubectl - Kubernetes command-line tool
- π gsutil - Cloud Storage command-line tool
- π Skaffold - Local Kubernetes development tool
Best Practices Guides¶
- π DevOps Tech Practices - Trunk-based development and other practices
- π 12-Factor Apps - Methodology for building SaaS applications
- π Microservices Architecture - Design patterns for microservices
Advanced Topics¶
Multi-Cloud and Hybrid Cloud¶
- π Anthos Overview - Modernize applications across hybrid and multi-cloud environments
- π Anthos Config Management - Apply consistent policies across clusters
- π Anthos Service Mesh - Connect and secure services across environments
- π GKE on AWS - Run GKE clusters on Amazon Web Services
- π GKE on Azure - Run GKE clusters on Microsoft Azure
- π Attached Clusters - Manage third-party Kubernetes clusters from Google Cloud
GitOps and Configuration Management¶
- π GitOps Principles - Implement GitOps workflows on Google Cloud
- π Config Sync - Sync cluster configuration from Git repositories
- π Policy Controller - Enforce policies on Kubernetes clusters
- π Kustomize Integration - Customize Kubernetes manifests
- π Helm Charts - Package and deploy Kubernetes applications
Database and Data Pipeline DevOps¶
- π Cloud SQL - Managed relational databases (MySQL, PostgreSQL, SQL Server)
- π Cloud Spanner - Globally distributed relational database
- π Firestore - NoSQL document database
- π Bigtable - Wide-column NoSQL database for analytics
- π Dataflow - Stream and batch data processing
- π Pub/Sub - Real-time messaging service
- π BigQuery - Serverless data warehouse for analytics
Machine Learning Operations (MLOps)¶
- π Vertex AI - Unified ML platform for training and deployment
- π ML Pipelines - Orchestrate ML workflows
- π Model Monitoring - Detect skew and drift in ML models
- π Feature Store - Centralized repository for ML features
- π ML Metadata - Track artifacts and lineage
Domain-Specific Deep Dives¶
Domain 1: Bootstrapping Google Cloud Organization (17%)¶
Organization Hierarchy and Resource Management¶
- π Resource Hierarchy - Understand organization, folders, and project structure
- π Creating and Managing Projects - Project lifecycle management
- π Resource Labels - Tag resources for organization and billing
- π Quotas and Limits - Understand and request quota increases
Billing and Cost Management¶
- π Billing Accounts - Set up and manage billing accounts
- π Cost Allocation - Track costs by project, service, or label
- π Export Billing Data - Export billing data to BigQuery for analysis
- π Cost Breakdown - Understand detailed cost components
Networking Foundations¶
- π VPC Networks - Create and manage Virtual Private Cloud networks
- π Shared VPC - Share network resources across projects
- π VPC Firewall Rules - Control ingress and egress traffic
- π Cloud Router - Dynamic routing for hybrid connectivity
- π Cloud NAT - Enable outbound internet access for private instances
- π Cloud VPN - Secure connectivity to on-premises networks
- π Cloud Interconnect - Dedicated physical connections to Google Cloud
Domain 2: Building CI/CD Pipelines (23%)¶
Pipeline Architecture Patterns¶
- π Continuous Integration - Merge code changes frequently
- π Continuous Delivery - Automate software release process
- π Deployment Strategies - Rolling, blue-green, canary deployments
- π Progressive Delivery - Gradually roll out changes with automated checks
Build Optimization Techniques¶
- π Build Caching - Speed up builds with Kaniko caching
- π Parallel Builds - Execute build steps concurrently
- π Build Timeouts - Set appropriate timeout values
- π Docker Layer Caching - Optimize Dockerfile for better caching
Artifact Management¶
- π Artifact Registry Repositories - Standard, remote, and virtual repository types
- π Cleanup Policies - Automatically delete old artifacts
- π Repository IAM - Fine-grained access control for artifacts
- π Docker Authentication - Authenticate Docker clients to Artifact Registry
Integration with Third-Party Tools¶
- π GitHub Integration - Connect Cloud Build to GitHub repositories
- π GitLab Integration - Trigger builds from GitLab
- π Bitbucket Integration - Connect to Bitbucket repositories
- π Jenkins Integration - Integrate Jenkins with Google Cloud
Domain 3: Applying SRE Practices (23%)¶
Reliability Engineering Fundamentals¶
- π Service Reliability Hierarchy - Build reliable systems layer by layer
- π Monitoring for SRE - Four golden signals: latency, traffic, errors, saturation
- π Release Engineering - Build and deliver software reliably
- π Simplicity - Design simple, maintainable systems
Error Budget Implementation¶
- π Error Budget Calculation - Calculate remaining error budget
- π Error Budget Policies - Define consequences when budget is exhausted
- π Alerting on Budget Consumption - Alert before budget runs out
- π Budget-Based Decision Making - Use budgets to guide engineering decisions
Incident Response Procedures¶
- π Incident Lifecycle - Detection, response, remediation, analysis
- π Incident Roles - Incident commander, communications lead, operations lead
- π Communication During Incidents - Keep stakeholders informed
- π Escalation Procedures - When and how to escalate incidents
Capacity Planning and Management¶
- π Capacity Planning Process - Forecast resource needs
- π Load Testing - Validate capacity under load
- π Traffic Forecasting - Predict future demand
- π Resource Provisioning - Right-size resources for workloads
Domain 4: Service Monitoring Strategies (21%)¶
Monitoring Strategy Design¶
- π Four Golden Signals - Latency, traffic, errors, saturation
- π Black-Box Monitoring - Monitor from user perspective
- π White-Box Monitoring - Monitor internal metrics and logs
- π Synthetic Monitoring - Proactive testing from multiple locations
Alert Design and Management¶
- π Alert Fatigue - Avoid excessive or low-quality alerts
- π Actionable Alerts - Every alert must require human action
- π Alert Thresholds - Set appropriate threshold values
- π Multi-Window Alerts - Use multiple time windows for accuracy
Distributed Tracing¶
- π Trace Sampling - Balance detail with performance impact
- π Trace Context Propagation - Propagate trace context across services
- π Analyzing Traces - Identify performance bottlenecks
- π Trace Integration - Add tracing to custom applications
Log Analysis and Aggregation¶
- π Structured Logging - Log in JSON format for better analysis
- π Log Severity Levels - Use appropriate severity levels
- π Log Correlation - Connect related log entries
- π Log Analysis with BigQuery - Analyze logs at scale
Domain 5: Optimizing Service Performance (16%)¶
Performance Testing Methodologies¶
- π Load Testing Best Practices - Test system under expected load
- π Stress Testing - Identify system breaking points
- π Spike Testing - Handle sudden traffic increases
- π Endurance Testing - Validate long-term stability
Application Performance Optimization¶
- π Code Profiling - Identify CPU and memory hotspots
- π Query Optimization - Optimize database queries
- π Connection Pooling - Reuse database connections
- π Caching Strategies - Cache frequently accessed data
Infrastructure Performance Tuning¶
- π Instance Sizing - Choose appropriate machine types
- π Disk Performance - Optimize persistent disk throughput
- π Network Bandwidth - Understand network egress limits
- π GPU Acceleration - Use GPUs for compute-intensive workloads
Database Performance Optimization¶
- π Cloud SQL Performance - Best practices for managed databases
- π Read Replicas - Offload read traffic to replicas
- π Connection Management - Use connection pools effectively
- π Query Insights - Identify slow queries
Hands-On Lab Scenarios¶
Scenario 1: CI/CD Pipeline Implementation¶
Objective: Build a complete CI/CD pipeline for a microservices application
Steps: 1. Create a Cloud Source Repository or connect to GitHub 2. Configure Cloud Build triggers for automated builds 3. Build Docker images and push to Artifact Registry 4. Implement vulnerability scanning with Container Analysis 5. Create Binary Authorization policies 6. Set up Cloud Deploy delivery pipeline with dev/staging/prod stages 7. Implement canary deployment strategy 8. Configure approval gates for production deployment
Key Resources: - π CI/CD Tutorial - Complete GitOps tutorial - π Cloud Build Samples - Example build configurations
Scenario 2: SLO Implementation and Monitoring¶
Objective: Define and monitor SLOs for a production service
Steps: 1. Identify critical user journeys and success criteria 2. Define SLIs for availability, latency, and throughput 3. Set SLO targets (e.g., 99.9% availability) 4. Create SLOs in Cloud Monitoring 5. Set up burn rate alerts (fast and slow burn) 6. Create dashboards to visualize SLI performance 7. Document error budget policies 8. Simulate an incident and track error budget consumption
Key Resources: - π SLO Tutorial - Step-by-step SLO setup
Scenario 3: GKE Production Deployment¶
Objective: Deploy a production-ready application on GKE
Steps: 1. Create a GKE cluster with appropriate node pools 2. Enable Workload Identity for secure service access 3. Configure horizontal and vertical pod autoscaling 4. Implement network policies for pod-to-pod security 5. Set up Cloud Monitoring and Logging 6. Create SLOs for application availability 7. Implement backup strategy with Backup for GKE 8. Configure maintenance windows 9. Test cluster upgrade procedures
Key Resources: - π GKE Best Practices - Production readiness checklist
Scenario 4: Incident Response Simulation¶
Objective: Practice incident detection, response, and postmortem
Steps: 1. Introduce a synthetic failure (high latency, error rate increase) 2. Detect incident through monitoring alerts 3. Activate incident response team with defined roles 4. Investigate using Cloud Logging and Cloud Trace 5. Implement mitigation (rollback, scale up, etc.) 6. Restore service to normal operation 7. Conduct blameless postmortem 8. Document timeline, root cause, and action items
Key Resources: - π Postmortem Templates - Structured postmortem format
Scenario 5: Terraform Infrastructure Deployment¶
Objective: Manage Google Cloud infrastructure with Terraform
Steps: 1. Set up Terraform with Google Cloud provider 2. Store state files in Cloud Storage with locking 3. Define VPC networks, subnets, and firewall rules 4. Create GKE clusters with Terraform 5. Deploy Cloud SQL instances 6. Implement modules for reusability 7. Use variables and outputs effectively 8. Validate policies with Terraform Validator 9. Implement CI/CD for infrastructure changes
Key Resources: - π Terraform Examples - Sample Terraform configurations
Exam Tips and Strategy¶
Preparation Strategies¶
- Hands-on Practice: Build CI/CD pipelines, deploy to GKE, implement monitoring
- Understand SRE Principles: Deep dive into error budgets, SLOs, and incident response
- Review Documentation: Focus on best practices and architecture patterns
- Practice with Sample Questions: Understand question formats and time management
- Study Real-World Scenarios: Apply concepts to practical situations
- Build a Lab Environment: Create a personal GCP project for experimentation
- Join Study Groups: Collaborate with others preparing for the exam
- Review Exam Guide Regularly: Ensure all topics are covered
Key Focus Areas¶
- CI/CD pipeline implementation with Cloud Build and Cloud Deploy
- SLO/SLI definition and monitoring strategies
- GKE deployment, scaling, and troubleshooting
- Infrastructure as Code with Terraform
- Incident detection, response, and postmortem procedures
- Performance optimization across compute, network, and storage
- Security best practices including IAM, secrets, and encryption
- Understanding trade-offs between different solutions
- Cost optimization and resource efficiency
Common Pitfalls to Avoid¶
- Confusing GKE Standard and Autopilot capabilities
- Misunderstanding the relationship between SLIs, SLOs, and SLAs
- Not considering security implications in CI/CD pipelines
- Overlooking cost optimization opportunities
- Failing to implement proper monitoring and alerting strategies
- Ignoring capacity planning and scalability requirements
- Not understanding when to use different deployment strategies
- Forgetting about compliance and governance requirements
Time Management During Exam¶
- Read Questions Carefully: Understand what is being asked
- Eliminate Wrong Answers: Use process of elimination
- Flag Difficult Questions: Return to them later
- Manage Your Time: Approximately 1 minute per question
- Review Flagged Questions: Use remaining time to review
- Trust Your Knowledge: Don't second-guess yourself excessively
Question Types to Expect¶
- Scenario-Based: Multi-paragraph scenarios requiring analysis
- Best Practices: Choose the recommended approach
- Troubleshooting: Identify root causes and solutions
- Trade-Off Analysis: Compare solutions and choose optimal approach
- Security: Identify security risks and mitigations
- Cost Optimization: Choose most cost-effective solution
Quick Reference Tables¶
Cloud Build vs Cloud Deploy¶
| Feature | Cloud Build | Cloud Deploy |
|---|---|---|
| Primary Purpose | Build and test code | Deploy applications |
| Trigger Source | Code commits, manual | Build completion, manual |
| Target Environments | Any (via build steps) | GKE, Cloud Run |
| Deployment Strategies | Custom via steps | Canary, progressive built-in |
| Approval Gates | Manual via build steps | Native approval support |
GKE Standard vs Autopilot¶
| Feature | GKE Standard | GKE Autopilot |
|---|---|---|
| Node Management | Manual | Fully automated |
| Configuration Flexibility | Full control | Opinionated, secure defaults |
| Pricing Model | Pay for nodes | Pay for pods |
| Cluster Autoscaling | Manual configuration | Automatic |
| Security Hardening | Manual setup | Automatic enforcement |
SLI Types and Examples¶
| SLI Type | Example Metric | Good For |
|---|---|---|
| Availability | % of successful requests | User-facing services |
| Latency | 95th percentile response time | Real-time applications |
| Throughput | Requests per second | High-volume systems |
| Quality | % requests without errors | Data accuracy |
| Durability | % data successfully stored | Storage systems |
Deployment Strategy Comparison¶
| Strategy | Risk Level | Deployment Speed | Rollback Speed | Resource Cost |
|---|---|---|---|---|
| Rolling | Medium | Medium | Medium | Low |
| Blue-Green | Low | Fast | Instant | High (2x) |
| Canary | Very Low | Slow | Fast | Medium |
| Recreate | High | Fast | Slow | Low |
Acronyms and Terminology¶
Common Abbreviations¶
- SLI: Service Level Indicator
- SLO: Service Level Objective
- SLA: Service Level Agreement
- SRE: Site Reliability Engineering
- CI/CD: Continuous Integration/Continuous Delivery
- IAM: Identity and Access Management
- GKE: Google Kubernetes Engine
- VPC: Virtual Private Cloud
- RBAC: Role-Based Access Control
- HPA: Horizontal Pod Autoscaler
- VPA: Vertical Pod Autoscaler
- CMEK: Customer-Managed Encryption Keys
- RTO: Recovery Time Objective
- RPO: Recovery Point Objective
- MTT: Mean Time To (Detect/Respond/Repair)
Key Definitions¶
- Error Budget: Amount of unreliability a service can tolerate
- Toil: Manual, repetitive work that can be automated
- Golden Signals: Four key metrics for monitoring (latency, traffic, errors, saturation)
- Burn Rate: Rate at which error budget is consumed
- Canary Deployment: Gradual rollout to subset of users
- Blue-Green Deployment: Switch traffic between two identical environments
- Observability: Ability to understand system internal state from external outputs
- Attestation: Cryptographic proof that image passed verification
Last Updated: January 2025 Exam Version: Current as of 2025 Validity: Please verify with official Google Cloud certification page for any updates
Document Statistics: - Total Documentation Links: 219 - Total Lines: 700+ - Sections Covered: 10 major domains - Hands-On Scenarios: 5 practical labs - Quick Reference Tables: 4 comparison matrices