Xpert Training Paths

DevOps Engineer Path

Build practical skills for designing, automating, securing, deploying, observing, and operating
reliable software and infrastructure delivery pipelines on Google Cloud.

DevOps
CI/CD
Terraform
GKE
Cloud Run
SRE
Observability
DevSecOps

Learning Journey

Your DevOps Engineering Journey

This path builds the engineering depth needed to design and operate reliable, automated, secure software delivery platforms — not just configure pipelines. The progression applies to teams building on GKE, Cloud Run, or Compute Engine.

01 — Build

Source, Build & Artifacts

Source-control strategy, CI automation, container builds, Artifact Registry, and supply-chain traceability.

02 — Automate

Deliver & Provision

CI/CD with Cloud Deploy, Infrastructure as Code with Terraform, environment management, and controlled deployment strategies.

03 — Operate

Observe & Respond

SRE, SLIs/SLOs, error budgets, observability, incident response, and structured troubleshooting.

04 — Optimize

Improve & Govern

Security, supply-chain controls, performance, FinOps, DORA metrics, and continuous platform improvement.

The Role

What a DevOps Engineer Actually Does

DevOps engineering is not maintaining YAML pipelines. It is the discipline of designing and operating the systems that allow software to be developed, tested, secured, delivered, and operated reliably at scale. The role spans software delivery, infrastructure, reliability, and governance simultaneously.

Delivery Responsibilities
  • Source-control strategy, branching models, and protected-branch policies
  • CI architecture: build triggers, test automation, scan integration
  • CD architecture: release pipelines, approval gates, deployment strategies
  • Artifact management: immutable artifacts, vulnerability scanning, promotion
  • Supply-chain security: provenance, Binary Authorization, SLSA controls
  • Infrastructure as Code: Terraform modules, state, environment separation
  • Kubernetes and Cloud Run delivery: manifests, autoscaling, rollbacks
Operations Responsibilities
  • SLIs, SLOs, and error-budget management
  • Observability design: logs, metrics, traces, synthetic monitors
  • Alerting strategy: meaningful alerts, SLO-based, without alert fatigue
  • Incident detection, response, mitigation, and postmortems
  • Capacity planning, autoscaling, and quota management
  • Secrets and key management through the full delivery lifecycle
  • Performance analysis, right-sizing, and cost optimization
“Delivery speed is valuable only when reliability, security, and recoverability are engineered into the delivery system.”

Automate repeatable work. Measure production behavior. Reduce blast radius. Make rollback easier than recovery.

End-to-end delivery platform flow — every layer has a clear owner and purpose:

DEVELOPER ENVIRONMENT
Developer→Cloud Workstations / IDE / Gemini Code Assist
SOURCE & CI
↓
Git Repository→Pull Request / Code Review
↓
Cloud Build CI
↓
Unit / Integration Tests→Security / Policy Scans
ARTIFACTS & SUPPLY CHAIN
↓
Artifact Registry→Binary Authorization
CONTINUOUS DELIVERY
↓
Cloud Deploy
DEV→QA→ approval →PROD
RUNTIME
GKEorCloud RunorCompute Engine
OBSERVABILITY & RELIABILITY
Cloud Logging · Monitoring · Trace · Prometheus
SLIs / SLOs / Error Budget / Alerts
Incident Response → Postmortem → Improvement Feedback
INFRASTRUCTURE PATH (PARALLEL)
Git→Terraform / Infrastructure Manager→Plan → Policy → Approve → Apply
GOVERNANCE
IAM · Secret Manager · KMS · Org Policy · Audit Logs · App Hub

Disciplines

DevOps, SRE, Platform Engineering & DevSecOps

These disciplines are complementary, not competing. Mature engineering organizations implement all four — typically with overlapping responsibilities and shared tooling. Understanding each prevents confusion about scope.

Discipline Primary Concern Typical Responsibilities Relationship to DevOps
DevOps Fast, repeatable, collaborative software and infrastructure delivery CI/CD, IaC, automation, artifact management, release strategy, developer productivity The foundational discipline; others build on or integrate with it
SRE Reliability engineering: service availability, latency, and toil reduction SLI/SLO/error-budget design, incident response, postmortems, capacity planning, automation of operational work SRE applies software-engineering principles to operations; extends DevOps into reliability engineering
Platform Engineering Internal developer platforms: reusable, self-service paved-road capabilities Golden-path templates, internal developer portals, shared pipelines, standard environments, approved tooling Builds and operates the platform that DevOps teams use; scales DevOps practices across many teams
DevSecOps Security integrated throughout the software delivery lifecycle Pipeline security controls, vulnerability scanning, supply-chain security, Binary Authorization, secrets management, runtime security Extends DevOps to ensure security is a property of the delivery system, not a separate audit gate
DevOps ≠ CI/CD.

CI/CD is one critical capability within DevOps. An organization that has automated builds and deployments but has no SLOs, no production observability, and no rollback strategy has CI/CD — not DevOps. This path covers the full scope.

Prerequisites

What You Need Before Starting

Required Before Starting
  • Google Cloud fundamentals: IAM, projects, resource hierarchy
  • Linux command line: file system, processes, networking tools
  • Git fundamentals: commits, branches, merges, pull requests
  • Docker/container fundamentals: build, run, layers
  • Networking basics: TCP/IP, DNS, load balancing concepts
  • YAML/JSON: writing and reading structured configuration
  • At least one scripting language: Bash, Python, or Go
Can Be Learned During the Path
  • Cloud Build, Cloud Deploy, Artifact Registry
  • Terraform and Infrastructure as Code
  • Helm, Kustomize, Skaffold
  • GKE delivery (not full Kubernetes administration)
  • Cloud Run delivery
  • SRE practices: SLOs, error budgets
  • Binary Authorization, SLSA, supply-chain security
  • Managed Service for Prometheus
  • DORA metrics
  • FinOps practices
Kubernetes expertise is not a prerequisite for this path. Phase 7 covers GKE from a DevOps delivery perspective, not as a Kubernetes administration course. You will deploy to GKE and manage delivery concerns — not manage etcd or control-plane components.

Official Resources

Official Google Cloud DevOps Resources

All external links for this path are centralized here. Within the learning phases, follow the technical instruction rather than navigating to external resources during each phase.

Products and certification details change.

Several products have changed names or been deprecated recently: Container Registry was shut down in March 2025 (use Artifact Registry); Cloud Source Repositories reached end-of-sale; Cloud Debugger was shut down. Always verify current product status and certification details at official Google Cloud sources before building or registering.
01

Professional Cloud DevOps Engineer Certification

Certification overview with recommended experience (3+ years, including 1+ year on Google Cloud), exam format, registration guidance, and learning path links. Verify current exam fee, duration, validity, and format before registering.

View Certification →

02

Professional Cloud DevOps Engineer Exam Guide

The authoritative exam blueprint: five domains with current weightings, subtopics, and tools in scope. The exam guide is the primary preparation reference — all domain content in this article is derived from the latest official guide.

Download Exam Guide →

03

Cloud Build Documentation

Reference for build configuration, triggers, substitutions, service accounts, build caching, private pools, build provenance, and integration with Artifact Registry. The central CI tooling reference for this path.

Cloud Build Docs →

04

Cloud Deploy Documentation

Managed continuous delivery service: delivery pipelines, release management, rollouts, approval gates, canary/blue-green deployments, deployment verification, and integration with Skaffold and Kustomize.

Cloud Deploy Docs →

05

Artifact Registry Documentation

Universal artifact registry supporting container images, Helm charts, npm, Maven, and more. Includes vulnerability scanning (Artifact Analysis), cleanup policies, image tagging strategies, and integration with Binary Authorization.

Artifact Registry Docs →

06

Infrastructure as Code — Terraform on Google Cloud

Google Cloud’s official Terraform guidance including provider documentation, the Cloud Foundation Toolkit (reference modules), Infrastructure Manager (Google’s managed Terraform execution service), and IaC best practices.

Terraform on Google Cloud →

07

Google Cloud Observability

Central hub for Cloud Logging, Cloud Monitoring, Cloud Trace, Error Reporting, Managed Service for Prometheus, and synthetic monitoring. Includes SLO monitoring, alerting policy design, and integration with third-party tools.

Cloud Observability Docs →

08

Google SRE Resources

The Google SRE Book, SRE Workbook, and related resources — the foundational reading for Domain 3 of the certification. Free online. Essential for SLI/SLO design, error-budget policies, toil reduction, and incident management.

Google SRE Resources →

09

DORA Research & State of DevOps

The DORA research program (part of Google Cloud) produces the annual State of DevOps Report and maintains the four key software delivery metrics. Essential for Phase 12 and for understanding how to measure DevOps performance.

DORA.dev →

10

Software Supply-Chain Security — Binary Authorization & SLSA

Binary Authorization enforces a policy that only trusted, verified container images can be deployed. The SLSA framework provides supply-chain security levels. Both are tested in Domain 2 of the exam and covered in Phase 9 of this path.

Binary Authorization Docs →

Technology Map

DevOps Technology Map

The following table describes each technology’s architectural responsibility — not its feature list. Use it to understand when each tool belongs in a delivery system and what it does not do.

Technology Architectural Responsibility Use When Do Not Confuse With
Git SCM Version control and collaboration foundation for code and infrastructure Always — all code, IaC, and configuration should be in Git Cloud Source Repositories (end-of-sale; use GitHub, GitLab, or similar)
Cloud Build CI Managed CI service: execute build steps triggered by Git events; produce artifacts Building, testing, and packaging on Google Cloud Cloud Deploy (CD only; Cloud Build produces the artifact, Cloud Deploy delivers it)
Cloud Deploy CD Managed CD service: pipeline-based release management with approvals and rollback Structured environment promotion with audit trail Cloud Build (CI only); Cloud Deploy does not build artifacts
Artifact Registry Artifacts Universal managed artifact store with scanning, access control, and retention Storing all build outputs: images, Helm charts, packages Container Registry (shut down March 2025); always use Artifact Registry
Terraform IaC Declarative infrastructure provisioning: plan, apply, state management Provisioning and changing cloud infrastructure via version-controlled code Config Connector (Kubernetes-native IaC); Infrastructure Manager (Google’s managed Terraform service)
Infrastructure Manager IaC Google-managed Terraform execution service — runs Terraform without managing runner infrastructure When you want managed Terraform execution on Google Cloud Terraform itself (Infrastructure Manager runs Terraform; it is not a replacement)
Config Connector IaC Kubernetes-native CRDs to manage Google Cloud resources via kubectl and GitOps Teams managing Google Cloud resources from Kubernetes manifests and GitOps pipelines Terraform (different paradigm; both manage cloud resources; choose based on team model)
Helm K8s Config Kubernetes application packaging: templated manifests, versioned charts Packaging and sharing Kubernetes applications with configurable values Kustomize (no templating; patch-based; both can be used with Cloud Deploy)
Kustomize K8s Config Overlay-based Kubernetes configuration without templating Environment-specific patches (DEV/PROD) on a shared base manifest set Helm (template-based); Kustomize is integrated natively in kubectl and Cloud Deploy
Skaffold K8s Dev/CD Handles build-test-deploy workflow for Kubernetes; required by Cloud Deploy Local development iteration + Cloud Deploy pipeline orchestration Cloud Deploy (Skaffold is used by Cloud Deploy; it is not a competing product)
GKE Runtime Managed Kubernetes for containerized workloads requiring orchestration Microservices, stateful workloads, complex scheduling, or GKE Autopilot simplicity Cloud Run (simpler, serverless containers); use the simplest runtime that meets requirements
GKE Enterprise Runtime GKE with fleet management, multi-cluster governance, Cloud Service Mesh, and compliance tooling Large enterprises with multiple GKE clusters, compliance requirements, or hybrid fleets Standard GKE (Enterprise adds governance; Standard GKE for most workloads)
Cloud Run Runtime Serverless containers: automatic scaling, revision management, traffic splitting HTTP-based stateless services, event-driven workloads, minimal operational overhead GKE (more control but more management; Cloud Run is the simpler choice for stateless services)
Secret Manager Secrets Managed secret store: versioned, audited, IAM-controlled access to credentials Storing all secrets: API keys, certificates, database passwords Cloud KMS (KMS manages encryption keys; Secret Manager stores secret values)
Cloud KMS Encryption Managed key management: CMEK, key rotation, HSM-backed keys Customer-managed encryption keys for data at rest; signing artifacts Secret Manager (stores secrets; KMS manages encryption keys)
Binary Authorization Security Policy engine requiring cryptographic attestation before deploying container images Enforcing that only scanned, approved images reach production Vulnerability scanning (scanning finds vulnerabilities; Binary Authorization enforces deployment policy)
Cloud Logging Observability Managed log ingestion, storage, routing, querying (Logs Explorer), and export All structured application and infrastructure log collection Cloud Monitoring (metrics-based alerting); Logging handles log-based data
Cloud Monitoring Observability Metrics collection, dashboards, alerting policies, SLO monitoring Platform metrics, custom metrics, alert policies, SLO-based alerting Managed Service for Prometheus (MSfP is for Prometheus-format metrics; Monitoring is broader)
Cloud Trace Observability Distributed tracing: trace waterfall analysis, latency profiling, span correlation Diagnosing latency issues in multi-service applications Cloud Logging (logs provide events; Trace provides request-path latency)
Managed Service for Prometheus Observability Google-managed Prometheus storage and querying; compatible with existing Prometheus workloads Teams with existing Prometheus exporters or PromQL-based tooling Cloud Monitoring (complementary; MSfP handles Prometheus-format metrics specifically)
App Hub Governance Application-centric view of Google Cloud resources across projects; service topology and SLO aggregation Large organizations needing application-level resource governance across multiple projects Cloud Monitoring (App Hub provides application topology; Monitoring provides metrics)
Gemini Code Assist AI AI-assisted code completion, generation, explanation, and security review in IDEs Accelerating code and IaC authoring; code review assistance A production control: Gemini Code Assist assists engineers; it does not replace review or testing

Phase 1 of 12

Source Control & Delivery Foundations

The delivery platform starts with how code is organized, reviewed, and promoted. A poor source-control strategy creates slow releases, risky deployments, and untraceability in production. A well-designed strategy makes the safe path the easy path.

Repository Strategy

Monorepos (all services in one repository) simplify atomic changes across services, shared tooling, and unified CI configuration — but they require investment in build-system performance to avoid rebuilding everything on every commit. Polyrepos (one repository per service) offer clear ownership and independent deployment cadences — but coordination across services requires more process discipline. Choose based on team structure and coupling patterns, not popularity.

Branch Model and CI/CD Event Mapping

Git Event Triggered CI/CD Action Purpose
push to feature/* Cloud Build: unit tests, lint, static analysis Fast feedback for developers on feature branches
pull request opened/updated Cloud Build: full test suite, security scan, review gates Gate code review with automated quality signals
merge to main Cloud Build: trusted build, push image digest, Cloud Deploy: DEV release Produce a verified, traceable artifact from trusted source
release branch / tag Cloud Build: release validation, Cloud Deploy: QA → UAT pipeline Controlled release flow through pre-production environments
hotfix/* Cloud Build: targeted tests, fast-track production pipeline Emergency fix with appropriate validation, not bypassing all controls
This is one practical model — not the universal correct answer. Trunk-based development with feature flags is equally valid and often preferred by high-frequency deployment teams. Design the branch model based on your team’s deployment frequency, release cadence, and risk tolerance.

Protected Branches and Required Checks

Production code on main and release branches should require: at least one code-reviewer approval, all CI status checks passing, no force pushes, and deletion protection. These are not optional for production delivery — they are the minimum governance model for a deployment pipeline that touches production.

Hands-On — Phase 1
Create a repository with branch protection and CI triggers.
Configure: protected main branch with required approval and status checks, Cloud Build triggers for feature, PR, main merge, and release tag events, and a semantic versioning tag convention. Verify that a merge to main without a passing CI check is blocked.
Phase 2 of 12

Continuous Integration with Cloud Build

Cloud Build executes build steps in containers. Each step is a container image that runs a command. This model makes builds portable, reproducible, and flexible. The engineering challenge is not configuration syntax — it is designing pipelines that provide fast, meaningful feedback without becoming fragile.

Pipeline Architecture Principles

Fail Fast

Run the fastest, highest-signal checks first. A syntax error caught in 30 seconds wastes less developer time than an integration test failure caught after 20 minutes.

Parallel Where Independent

Cloud Build supports parallel steps. Run unit tests, lint, and dependency scans in parallel when they have no shared state. Don’t serialize independent work.

Least-Privilege Service Accounts

The Cloud Build service account must have only the permissions needed for its build steps — not Editor or Owner. Separate service accounts for DEV and PROD builds. The build account should not have production deployment access.

Build Caching

Cache dependency layers (Dockerfile layer cache) and compiled artifacts between builds using Cloud Storage or cached container layer strategies. Slow builds reduce CI feedback quality and increase cost.

Build Provenance

Cloud Build can generate build provenance — a signed, verifiable record of where and how an artifact was built: which source commit, which build configuration, which build service account, and which steps ran. Provenance is foundational for supply-chain security and for satisfying SLSA requirements. Enable it from the start rather than retrofitting.

Hands-On — Phase 2
Build a Cloud Build pipeline for a containerized application
that executes: (1) dependency installation and unit tests, (2) container build, (3) vulnerability scan via Artifact Analysis, (4) push to Artifact Registry using an image digest (not a mutable tag). Verify that the pipeline fails correctly when a unit test fails and when a critical vulnerability is detected.
Phase 3 of 12

Artifact Management & Software Supply Chain

“Build once. Promote the same trusted artifact through environments.”

Rebuilding from source separately for DEV, QA, and PROD means production runs code that was never tested in QA. A different build produces different behavior. Build once, verify once, promote the same digest.

Image Tags vs. Digests

Tags like latest or v1.2.3 are mutable — they can be overwritten to point at a different image without notice. Image digests (sha256:...) are immutable — they identify a specific image content regardless of tag changes. Production deployments must use digests, not tags. Tags can be used for human reference and discovery; digests must be used for deployment and attestation.

SLSA and Supply-Chain Security

The Supply-chain Levels for Software Artifacts (SLSA) framework defines four levels of supply-chain integrity. Level 1 requires build provenance. Level 2 requires a hosted build service that generates signed provenance. Level 3 requires hardened build infrastructure. Progressing through SLSA levels is not merely theoretical — each level closes a specific class of supply-chain attack. Cloud Build with build provenance enabled satisfies SLSA L1/L2 requirements.

Binary Authorization

Binary Authorization enforces a deployment policy: before a container can be deployed to GKE or Cloud Run, it must have one or more cryptographic attestations confirming it passed required checks (vulnerability scan, build provenance, manual approval). A policy violation blocks the deployment. This provides a deterministic enforcement layer that operates regardless of who or what attempts the deployment.

Hands-On — Phase 3
Configure Artifact Registry with image scanning and set up artifact promotion.
Enable Artifact Analysis. Create separate repositories for DEV and PROD. Promote an immutable container digest (not a tag) from DEV to PROD after scan-pass attestation. Verify that an unscanned image or an image with a critical vulnerability is blocked from promotion.
Phase 4 of 12

Infrastructure as Code

Infrastructure changes made manually through the console are untracked, unreviewable, and unrepeatable. Infrastructure as Code (IaC) brings version control, review, testing, and automation to infrastructure — making every change visible, auditable, and revertable.

Terraform Core Concepts

State

Terraform state maps resource definitions to real infrastructure. State must be stored remotely (Cloud Storage) with state locking (using Terraform or a backend that supports it) to prevent concurrent modifications. Never use local state for anything shared.

Modules

Reusable, tested Terraform modules enforce consistent patterns across environments. A module for a GKE cluster should be used by DEV and PROD — with environment-specific variable values, not environment-specific code.

Plan Before Apply

terraform plan shows exactly what will change before any change is made. In CI/CD, plan output should be reviewed and approved before apply runs — especially for production infrastructure.

Drift Detection

When real infrastructure diverges from Terraform state (due to manual changes), plan will show drift. Regular automated plan runs detect drift before it causes deployment problems.

Infrastructure Manager

Infrastructure Manager is Google’s managed Terraform execution service. Rather than running Terraform in a CI/CD runner you manage, Infrastructure Manager executes Terraform on Google Cloud infrastructure, stores state automatically, integrates with IAM for deployment authorization, and provides an audit trail of deployment operations. Use it when you want managed Terraform execution without runner infrastructure overhead.

IaC CI/CD Pipeline

Infrastructure changes should follow the same pull-request → review → CI → approval → apply pattern as application code. A typical IaC pipeline: fmt → validate → security/policy check (e.g., Checkov or Open Policy Agent) → plan → human review of plan output → approval → apply. Automated apply without human plan review should be limited to non-production environments.

Hands-On — Phase 4
Create Terraform modules for a production-grade baseline infrastructure:
VPC with private subnets, a service account with minimal permissions, an Artifact Registry repository, and a Cloud Run or GKE deployment target. Store state in Cloud Storage with locking. Build a Cloud Build pipeline that runs fmt → validate → policy check → plan on every PR, and requires human approval before apply.
Phase 5 of 12

Environment & Configuration Management

DEV, QA, UAT, and PROD are not just naming conventions — they represent progressively hardened, controlled, and access-restricted environments. The architecture decision for environment separation is a security decision as much as an operational one.

Project-Per-Environment

The Google Cloud-recommended pattern for environment isolation is separate projects per environment, organized within a folder hierarchy. This provides hard IAM boundaries — a developer’s credentials for DEV have no access to PROD resources. Billing separation is clear, service quotas are isolated, and network security zones are enforced at project boundaries.

Configuration changes are deployments too.

A ConfigMap change in Kubernetes, an environment variable change in Cloud Run, or a parameter update in Parameter Manager changes application behavior in production. These must follow the same version-control, review, and deployment pipeline that code changes follow.

Kustomize for Environment Separation

Kustomize patches a base manifest set with environment-specific overlays. The base defines the shared structure; DEV and PROD overlays define what differs (replica counts, resource limits, image digests, config references). This avoids duplicating entire manifest sets per environment — a maintainability problem that causes drift when environments diverge silently over time.

Hands-On — Phase 5
Create DEV and PROD configurations from the same base using Kustomize.
The base defines the Deployment and Service. The DEV overlay sets 1 replica and lower resource limits. The PROD overlay sets 3 replicas, higher limits, and a production-specific ConfigMap reference. Verify that the DEV and PROD configurations can both be rendered correctly from a single base without any duplicated manifests.
Phase 6 of 12

Continuous Delivery with Cloud Deploy

Cloud Deploy provides a managed delivery pipeline that enforces environment promotion order, captures an audit trail of every release and rollout, and supports approval gates, deployment verification, and rollback. It uses Skaffold to describe what to build and deploy.

Deployment Strategies

Strategy How It Works Use When Rollback Model
Rolling Gradually replaces old instances with new; controlled by max surge / max unavailable Most production updates with acceptable transition period Revert to previous revision or deployment
Canary Small percentage of traffic routes to new version while majority stays on current High-risk changes where progressive exposure limits blast radius Route 100% traffic back to stable; undeploy canary
Blue/Green Two parallel environments; traffic switches atomically between them Zero-downtime deployments where atomic switch is needed Switch traffic back to previous (blue) environment immediately
Traffic Splitting Explicit percentage allocation across revisions (Cloud Run native) Cloud Run services needing progressive traffic shifts Shift 100% traffic back to previous revision in seconds
Design rollback before deployment, not after failure.

Every deployment strategy should have a rollback model defined before the deployment is authorized. A deployment with no defined rollback path is higher-risk than one with an explicit, tested rollback procedure — regardless of deployment strategy.
Hands-On — Phase 6
Implement a full Cloud Deploy pipeline: DEV → QA → manual approval → PROD.
Use Skaffold for the build-deploy definition. Add a canary phase for the PROD rollout — 10% traffic initially, with promotion to 100% after a deployment verification step passes. Demonstrate rollback from the PROD canary to the previous stable version.

Phase 7 of 12

Kubernetes & GKE Delivery

This phase covers DevOps delivery concerns for GKE — not Kubernetes administration. You are responsible for getting applications deployed reliably to GKE, not for managing the control plane or etcd.

Deployment Readiness

Every container deployed to GKE must declare: a readiness probe (tells Kubernetes when the pod is ready to receive traffic), a liveness probe (tells Kubernetes when to restart the pod), resource requests and limits (required for scheduling and autoscaling), and a non-root user. These are not optional production concerns.

Workload Identity

Workload Identity Federation for GKE allows pods to authenticate to Google Cloud APIs as a Google Cloud service account — without downloading service-account key files. This eliminates one of the largest security risks in Kubernetes deployments: long-lived service-account keys that can be leaked through container images, environment variables, or compromised nodes. Use Workload Identity for every pod that needs Google Cloud API access.

Multi-App Monorepo Pattern

In a monorepo with multiple deployable applications, each application has its own Dockerfile, its own Cloud Build trigger (scoped to that application’s path), its own container image in Artifact Registry, and its own Kubernetes Deployment. Shared libraries are built separately. Cloud Build triggers can be configured to fire only when specific paths change — this prevents rebuilding every service on every commit.

GKE Release Channels

GKE release channels (Rapid, Regular, Stable) manage automatic cluster and node upgrades. Regular is appropriate for most production workloads. Stable provides the most conservative upgrade cadence for compliance-sensitive environments. Enrolling in a release channel removes the need to manually track Kubernetes version end-of-life — an operational burden that causes many organizations to run unsupported cluster versions.

Hands-On — Phase 7
Deploy an application to GKE with production-ready delivery configuration:
readiness and liveness probes, horizontal pod autoscaling, resource requests/limits, Workload Identity for Google Cloud API access, and controlled rolling update strategy (max surge 1, max unavailable 0). Demonstrate a controlled rollout and a rollback using both Cloud Deploy and kubectl rollout undo.
Phase 8 of 12

Serverless DevOps with Cloud Run

Cloud Run is often the right choice for HTTP-based stateless services where infrastructure management should be minimized. The DevOps model differs from GKE — there are no nodes to manage, no container runtime to patch, and autoscaling is fully managed — but delivery, reliability, and cost concerns still require engineering attention.

Revision and Traffic Management

Every Cloud Run deployment creates a new revision. Traffic can be split across revisions — enabling canary deployments and blue/green patterns natively, without a separate load balancer or infrastructure change. Rolling back means shifting traffic to a previous revision: a seconds-level operation that can be scripted, automated in a Cloud Deploy rollback step, or executed manually through the console.

Runtime Comparison

Cloud Run GKE Compute Engine
Operational model Fully managed; no node management Managed cluster; you manage pods and workloads Full VM management
Autoscaling To zero; fast; fully managed HPA + Cluster Autoscaler; configurable MIGs with autoscaling; configurable
Best for Stateless HTTP services, event-driven, minimal ops overhead Complex microservices, stateful workloads, fine-grained orchestration Legacy apps, custom OS config, GPU workloads
DevOps overhead Lowest — no node patching or cluster upgrades Medium — cluster upgrades, node pools, add-ons Highest — full VM lifecycle
Rollback Traffic shift to previous revision (seconds) Rolling rollback or Cloud Deploy rollback MIG version rollback; snapshot restore
Use the simplest runtime that meets the requirements.

A Cloud Run service that can handle the workload does not need to become a GKE workload because GKE is considered more “enterprise.” Match the runtime to the requirements, not to a preference for complexity.
Hands-On — Phase 8
Deploy a Cloud Run service and perform a controlled traffic migration.
Deploy v1. Deploy v2 without routing traffic to it. Shift 10% of traffic to v2, observe metrics, then shift 100%. Demonstrate rollback by shifting all traffic back to v1. Verify the service uses a dedicated service account with least-privilege permissions (not the Compute Engine default service account).
Phase 9 of 12

DevSecOps & Pipeline Security

“CI/CD is a privileged production system. Secure the pipeline like production infrastructure.”

A compromised build pipeline can produce malicious artifacts, exfiltrate secrets, or directly deploy to production. Pipelines with Editor-level service accounts connected to a git repository are a single commit away from a full production compromise.

Pipeline Security Controls

IAM for Pipelines

Cloud Build service accounts need only the permissions to build, scan, and push artifacts. They should not have deployment permissions to production. Cloud Deploy service accounts for PROD should be separate from DEV/QA. Production deployment permissions belong to the CD service account, scoped tightly.

Secrets in Pipelines

Never store secrets in build YAML, environment variables in pipeline config, or source repositories. Access secrets from Secret Manager at runtime, scoped to the specific build service account. Use build-time vs. runtime injection deliberately — not interchangeably.

No Long-Lived Keys

Service-account key files are long-lived credentials that can be leaked, stolen, or remain active long after they should have been rotated. Use Workload Identity Federation instead of service-account keys wherever possible — Cloud Build supports this natively.

Vulnerability Scanning and Dependency Risk

Artifact Analysis (integrated with Artifact Registry) scans container images for known OS and package vulnerabilities. Scanning should block promotion when critical or high vulnerabilities are found. Dependency risk extends beyond OS packages — language-level dependencies (npm, pip, Maven) also require scanning. Integrate dependency scanning into CI, not as a post-deployment afterthought.

Common Pipeline Security Failures

  • Using latest tag in production: unverified, may have changed since it was tested
  • Bypassing artifact scans for “urgent” deployments: creates an exception path attackers know to exploit
  • Rebuilding artifacts in each environment: production runs code that was not the same artifact tested in QA
  • Shared service account across all environments: a compromised DEV pipeline can affect PROD
  • Manual PROD deployments outside the pipeline: no audit trail, no scan, no approval gate
Hands-On — Phase 9
Add supply-chain controls to the Phase 6 pipeline.
Configure Binary Authorization with a policy requiring a vulnerability-scan attestation before GKE or Cloud Run will accept any image. Configure Cloud Build to create the attestation after a successful scan pass. Verify that deploying an image without a valid attestation (or with a critical vulnerability) is rejected at the deployment layer.
Phase 10 of 12

Site Reliability Engineering

SRE is a software-engineering approach to operations. It defines reliability quantitatively, allocates reliability investment through error budgets, and reduces operational burden through automation. The core insight is that reliability has a cost, and the right amount of reliability is a business decision — not an engineering maximum.

SLIs, SLOs, and Error Budgets

Concept Definition Practical Example
SLI Service Level Indicator: a quantitative measurement of service behavior Successful request rate = successful HTTP requests / all valid requests
SLO Service Level Objective: the target value for an SLI over a window 99.9% of valid requests succeed over a rolling 30-day window
SLA Service Level Agreement: the contractual commitment with external consequences 99.5% availability guaranteed with credit provisions for violations (typically less strict than internal SLO)
Error Budget The permitted failure within the SLO window 99.9% SLO over 30 days = 43.2 minutes of permitted downtime
100% reliability is not the correct engineering target.

Pursuing 100% availability means accepting zero deployment risk, zero maintenance windows, and near-infinite cost. An SLO of 99.99% costs significantly more than 99.9%. The correct reliability target is the reliability the business and users need — expressed as an SLO, enforced through an error budget, and balanced against delivery velocity.

Error Budgets as a Policy Tool

When the error budget is healthy, teams have permission to take deployment risk — ship features aggressively, experiment, and move fast. When the error budget is depleted, reliability work becomes the priority: no new risky deployments until reliability recovers. This creates an objective, data-driven conversation between product and engineering about the speed/reliability trade-off — replacing subjective arguments with measurable policy.

Toil

Toil is manual, repetitive, operational work that scales with service growth and produces no lasting improvement. Examples: manually restarting services, manually processing runbook steps that could be automated, manually approving deployments that could have defined criteria. SRE practice targets reducing toil through automation — freeing time for reliability and capability improvements.

Hands-On — Phase 10
Define 3 SLIs and 2 SLOs for the application deployed in Phase 7 or 8.
SLIs should cover availability, latency, and error rate. For each SLO, calculate the error budget in minutes per 30-day window. Configure Cloud Monitoring SLO monitoring for both SLOs with burn-rate alerting (alert when the error budget is being consumed faster than sustainable).
Phase 11 of 12

Observability & Incident Response

Monitoring tells you when known conditions occur. Observability helps investigate unknown conditions.

A dashboard that tracks known error rates is monitoring. The ability to query logs, traces, and metrics to understand a failure you’ve never seen before is observability. Both are required.

The Three Signal Types

Logs

Structured, timestamped events from applications and infrastructure. Cloud Logging collects logs from all Google Cloud services automatically. Use structured JSON logging from applications to enable effective querying. Route logs to BigQuery for long-term analysis. Handle PII/PHI through Sensitive Data Protection processors before logging.

Metrics

Numeric measurements over time: request rates, error rates, latency distributions, resource utilization. Cloud Monitoring collects platform metrics automatically. Custom metrics and Managed Service for Prometheus handle application-level metrics. Use PromQL for Prometheus-compatible metric analysis.

Traces

Distributed request paths across services, annotated with timing for each span. Cloud Trace with OpenTelemetry instrumentation shows which service or call is causing latency. Correlate trace IDs with log entries for full request context during incident investigation. Gemini Cloud Assist can assist with trace analysis.

Alert Design

Alert fatigue is a real operational problem: too many alerts means important signals are ignored. Alert on symptoms that indicate user impact, not on every possible cause. SLO burn-rate alerting (when the error budget is being consumed at a rate that threatens the SLO) is more actionable than alerting on every 5xx response. Require every alert to have a runbook — if you don’t know what to do when an alert fires, the alert produces only noise.

Incident Response Lifecycle

Phase Objective Key Actions
Detect Know that something is wrong as quickly as possible Alert fires, synthetic monitor fails, user report received
Assess Understand scope and severity How many users affected? What services impacted? Error budget status?
Mitigate Reduce user impact quickly; not necessarily fix the root cause Rollback deployment, drain traffic, add capacity, enable feature flag
Communicate Keep stakeholders informed throughout Status page update, team communications, escalation if needed
Recover Restore full service Deploy fix, restore data, verify SLO recovery
Review Learn from the incident Blameless postmortem: what happened, why, what we will change
Improve Prevent recurrence Action items: monitoring improvements, runbook updates, architectural changes
Hands-On — Phase 11
Build a production observability baseline:
a dashboard covering availability, p50/p99 latency, error rate, and resource utilization; a latency alert (p99 > threshold for 5 minutes); an availability SLO burn-rate alert; a log-based metric for application errors; trace inspection for a multi-service call path. Simulate a failing deployment and practice the detect → mitigate → recover cycle.
Phase 12 of 12

Performance, Cost & Continuous Improvement

DORA Metrics

DORA (DevOps Research and Assessment, part of Google Cloud) identifies four key software delivery metrics that predict organizational performance outcomes:

Metric What It Measures Dimension
Deployment Frequency How often code successfully reaches production Speed (throughput)
Lead Time for Changes Time from commit to production deployment Speed (throughput)
Change Failure Rate Percentage of production deployments causing degradation or failure Stability
Time to Restore Service Time to recover from a production incident (often called MTTR) Stability

These metrics work as a balanced set: improving speed without improving stability produces worse outcomes overall. Elite-performing teams deploy frequently (multiple times per day) while maintaining a change failure rate below 5% and restoring service within one hour. Track these metrics from CI/CD pipeline data and incident records — not from subjective assessment.

FinOps for DevOps

Observability and CI/CD infrastructure have costs that are often ignored until the billing surprise arrives. Common cost optimization decisions for DevOps teams: log exclusion filters for high-volume, low-value logs (reduces Cloud Logging ingestion cost); right-sizing Cloud Build machine types per step; Spot VMs for non-latency-sensitive workloads; committed-use discounts for predictable GKE node pools; and Cloud Run min-instances set to the minimum required to meet cold-start SLO — not set to match peak load permanently.

AI-Assisted DevOps

Gemini Code Assist accelerates authoring of Terraform, CI/CD configuration, Kubernetes manifests, and application code. Gemini Cloud Assist provides AI assistance for log analysis, trace interpretation, and metric explanation directly within the Cloud console. Gemini CLI extends these capabilities to the terminal.

AI can accelerate DevOps work. It does not remove engineering controls.

AI-generated Terraform, pipeline configuration, and Kubernetes manifests must still be reviewed, tested in a non-production environment, validated by a security scan, and deployed through the same controlled pipeline as hand-authored infrastructure. AI accelerates the authoring step — it does not skip the validation and deployment steps.
Hands-On — Phase 12
Analyze a production workload and propose four measurable improvements:
one delivery improvement (higher deployment frequency, lower lead time, or reduced change failure rate); one reliability improvement (SLO target or burn-rate improvement); one performance improvement (latency or resource efficiency); one cost improvement (logging cost, right-sizing, or scheduling optimization). Each improvement must have a current baseline value and a target value.

Reference Architecture

Production Enterprise DevOps Reference Architecture

The architecture below reflects a production-grade delivery platform. Not every organization needs every component — the annotations explain which layers are universally required and which are conditional on requirements.

DEVELOPMENT ENVIRONMENT
Developer→Cloud Workstations / Cloud Shell / IDE + Gemini Code Assist
SOURCE CONTROL — REQUIRED
↓
Git Repository (GitHub / GitLab / Bitbucket)
↓ Pull Request + Code Review + Branch Protection
CI — REQUIRED
Cloud Build CI
Unit / Integration Tests→Security / Policy Scan→Container Build
ARTIFACTS & SUPPLY CHAIN — REQUIRED
Artifact Registry→Artifact Analysis (vulnerability scan)→Binary Authorization
INFRASTRUCTURE PATH (PARALLEL)
Git (IaC)→Terraform / Infrastructure Manager→fmt → validate → policy → plan → approval → apply
CONTINUOUS DELIVERY — REQUIRED
Cloud Deploy Pipeline
DEV→ tests →QA→ tests →UAT→ approval →PROD
RUNTIME
GKEorCloud Run— choose the simplest runtime that meets requirements
OBSERVABILITY — REQUIRED
Cloud Logging · Cloud Monitoring · Cloud Trace · Managed Service for Prometheus
SLIs · SLOs · Error Budget · Burn-Rate Alerts
Incident Response → Postmortem → Improvement Backlog
GOVERNANCE
IAM · Secret Manager · Cloud KMS · Org Policy · Audit Logs · App Hub

Every layer in this architecture addresses a specific engineering concern. The development environment reduces feedback latency. Source control provides traceability and change governance. CI provides quality and security validation. Artifact management provides immutability and supply-chain integrity. CD provides controlled, audited promotion. The runtime provides the operational target. Observability provides production insight. Governance provides authorization and compliance. Remove any layer and a specific class of failure becomes harder to detect or prevent.

Capstone

Capstone: Enterprise CI/CD & Reliability Platform

Build a production-grade delivery platform for a containerized application. This is the portfolio artifact — it must demonstrate the complete DevOps engineering discipline, not just pipeline configuration.

Source Control & CI
  • Git repository with branch protection and PR workflow
  • Cloud Build pipeline: unit tests, integration tests, security scan, container build
  • Artifact push to Artifact Registry using image digest
  • Build provenance enabled
Supply Chain
  • Artifact Registry with vulnerability scanning
  • Binary Authorization policy requiring scan attestation
  • Immutable artifact promotion (same digest through all environments)
  • No mutable tags used in deployments
Infrastructure & CD
  • Terraform with remote state, modules, environment separation
  • Cloud Deploy: DEV → QA → PROD with manual approval gate
  • Canary or progressive rollout for PROD
  • Defined and tested rollback procedure
Reliability & Observability
  • Defined SLIs and SLOs with error-budget calculation
  • Cloud Logging, Monitoring, Trace instrumented
  • Dashboard and SLO burn-rate alerting configured
  • Secrets via Secret Manager; no credentials in source

Architecture Defense Questions

  • Why this branching model? How does it scale to 20 teams?
  • Why GKE instead of Cloud Run (or vice versa)? What would change the decision?
  • Why build once and promote? What risk does rebuilding per environment introduce?
  • How does PROD reject an unsigned or unscanned image? Where is that control enforced?
  • Where are secrets injected? At which stage, using which mechanism?
  • How do you roll back a PROD deployment in under 10 minutes?
  • How is infrastructure changed safely? Who approves what?
  • What happens when a unit test fails? What happens when a vulnerability scan fails?
  • How is reliability measured? What happens when the SLO burn rate exceeds the alert threshold?
  • How is this platform scaled to serve multiple application teams?

Study Plan

12-Week Learning Plan

Assumes 10–15 hours per week. Engineers with existing GKE or pipeline experience can accelerate early phases and invest more time in SRE, observability, and security.

Week 1

Source Control & Foundations
  • Git workflows, branch models
  • Monorepo vs polyrepo
  • Protected branches
  • CI/CD event mapping
🔨 Repo with branch protection + CI triggers
✓ Git-to-CI event mapping configured
Week 2

Cloud Build / CI
  • Build configuration
  • Triggers & substitutions
  • Service accounts
  • Caching, parallel steps
  • Build provenance
🔨 Full CI pipeline with tests + vulnerability scan
✓ Working Cloud Build CI with artifact push
Week 3

Artifact & Supply Chain
  • Artifact Registry
  • Image digests vs tags
  • Vulnerability scanning
  • SLSA concepts
  • Binary Authorization
🔨 Immutable artifact promotion + Binary AuthZ policy
✓ Supply-chain controls blocking untrusted images
Week 4

Infrastructure as Code
  • Terraform fundamentals
  • Remote state + locking
  • Modules
  • Infrastructure Manager
  • IaC CI/CD pipeline
🔨 Terraform modules with plan-approve-apply pipeline
✓ Infrastructure managed via version-controlled IaC
Week 5

Environment & Config
  • Project-per-environment
  • Kustomize / Helm
  • Ephemeral environments
  • Config vs code changes
🔨 DEV/PROD configs from shared base (Kustomize)
✓ Environment-specific configs without duplication
Week 6

Cloud Deploy & Releases
  • Delivery pipelines
  • Canary, blue/green, rolling
  • Approval gates
  • Rollback procedures
🔨 DEV→QA→PROD with canary + rollback
✓ Controlled promotion with approval gates
Week 7

GKE Delivery
  • Manifests, Deployments
  • Probes, autoscaling
  • Workload Identity
  • GKE release channels
🔨 GKE deploy with probes, HPA, Workload Identity
✓ Production-ready GKE delivery
Week 8

Cloud Run Delivery
  • Revisions & traffic
  • Service identity
  • Secrets integration
  • Blue/green via revisions
🔨 Cloud Run canary + rollback
✓ Serverless delivery with traffic management
Week 9

DevSecOps
  • Pipeline IAM
  • Secrets management
  • Dependency scanning
  • SLSA levels
  • Common pipeline failures
🔨 Supply-chain hardening exercise
✓ Secure pipeline with least-privilege + controls
Week 10

SRE
  • SLI/SLO/SLA design
  • Error budgets
  • Toil reduction
  • Capacity planning
🔨 3 SLIs, 2 SLOs, error budget + burn-rate alerts
✓ Reliability measured quantitatively
Week 11

Observability & Incidents
  • Logs, metrics, traces
  • Alerting strategy
  • Incident lifecycle
  • Postmortems
🔨 Dashboard + alerts + simulated incident
✓ Observable system + practiced incident flow
Week 12

Performance, Cost & Capstone
  • DORA metrics
  • FinOps
  • Capstone delivery
  • Cert exam readiness
🔨 Full capstone platform + cert gap analysis
✓ Production-ready platform + exam preparation

Certification Alignment

Professional Cloud DevOps Engineer Certification Alignment

Verify exam details before registering.

Domain weightings, exam format, fees, validity, and tool coverage are based on the official exam guide current at publication. Google updates the exam guide; always download the latest version before preparing. Exam fee and format are confirmed at the official certification page.
Domain (current weight) Relevant Phases Coverage Additional Study
1. Bootstrapping & maintaining a Google Cloud organization
~20% · Resource hierarchy, IaC, CI/CD architecture, multi-environment, secure dev environments
Phases 1, 4, 5 Strong — resource hierarchy, Terraform, IaC patterns, environment management, Cloud Workstations/Cloud Shell, and Gemini Code Assist are all covered. Study Shared VPC architecture, data residency configurations, and GKE fleet management. Review Config Connector and kpt for GitOps patterns. Verify current Gemini CLI capabilities.
2. Building and implementing CI/CD pipelines
~25% · CI/CD design, artifact management, deployment strategies, secrets, supply-chain security
Phases 2, 3, 6, 9 Strong — Cloud Build, Cloud Deploy, Artifact Registry, deployment strategies, Binary Authorization, SLSA, Secret Manager, and build provenance are all covered. Study Parameter Manager (alongside Secret Manager). Review CI/CD for ML workloads. Verify current Certificate Manager and Workload Identity Federation integration patterns with Cloud Build.
3. Applying site reliability engineering practices
~18% · SLIs/SLOs, error budgets, service lifecycle, capacity planning, incident mitigation
Phase 10 Strong — SLI/SLO/SLA design, error-budget calculation and policy, toil, capacity planning, autoscaling, and incident mitigation techniques are all covered. Study Cloud Service Mesh SLO definitions specifically. Review Dynamic Workload Scheduler for capacity planning. Read the Google SRE Workbook for hands-on SRE practice patterns.
4. Implementing observability practices and troubleshooting
~25% · Log collection, log management, metrics/dashboards/alerts, traces, troubleshooting
Phase 11 Strong — Cloud Logging, Cloud Monitoring, Cloud Trace, Managed Service for Prometheus, alerting, SLO monitoring, and incident response are all covered. Study Logs Explorer query language in depth. Review Gemini Cloud Assist for AI-powered log and trace analysis. Practice OpenTelemetry instrumentation patterns. Review log PII redaction using Sensitive Data Protection processors.
5. Optimizing performance and cost
~12% · Performance monitoring, FinOps, resource optimization, recommenders
Phase 12 Moderate — DORA metrics, FinOps concepts, Spot VMs, committed-use discounts, and Recommender are covered. Less deep than other domains. Study Active Assist insights and individual recommenders (cost, security, performance, manageability) in detail. Practice right-sizing recommendations for GKE, Cloud Run, and Compute Engine workloads specifically.
This path covers the full certification scope.

The main additional study areas are: low-code configuration tools (Gemini Enterprise tooling), AI-powered observability (Gemini Cloud Assist for logs/traces), ML pipeline CI/CD considerations, and some specific new products (Parameter Manager, Dynamic Workload Scheduler, Cloud Service Mesh SLO definitions). Budget approximately 2–4 weeks of supplementary study after completing this path before sitting the exam.

Common Mistakes

Common DevOps Engineering Mistakes

1
Treating DevOps as CI/CD only

Automated pipelines without SLOs, observability, rollback procedures, or incident management is not DevOps — it is build automation. The full scope includes reliability engineering, governance, and operational excellence.

2
Using Owner or Editor for pipeline service accounts

A Cloud Build service account with Owner permissions means a compromised build pipeline can do anything in the project. Scope pipeline service accounts to exactly what each stage needs: build accounts cannot deploy, deploy accounts cannot modify IAM.

3
Storing secrets in build YAML or source repositories

Secrets in pipeline configuration are visible to anyone with repository access and are logged in build history. All secrets belong in Secret Manager, accessed at runtime by the appropriate service account.

4
Rebuilding artifacts per environment

Building a separate container image for DEV, QA, and PROD means production runs code that was not the exact artifact validated in QA. Build once, produce an immutable digest, promote that digest through all environments.

5
Using latest tags in production deployments

The latest tag is mutable. A deployment using latest today may run a different image than the same deployment yesterday. Production manifests must reference immutable image digests.

6
Making infrastructure changes manually in the console

Manual console changes are untracked, unreviewed, unrepeatable, and create drift between environments. All infrastructure changes must go through version-controlled IaC with a review and approval process.

7
Running Terraform with local state

Local state is not shareable, not lockable, and is lost when the machine is lost. Remote state in Cloud Storage with locking is required for any infrastructure managed by more than one person or automated in a pipeline.

8
Mixing DEV and PROD secrets in the same Secret Manager project

If DEV workloads share a project with PROD secrets, a compromised DEV pipeline or workload can access production credentials. Secrets must be isolated by environment, enforced through project-level IAM boundaries.

9
Deploying without a defined rollback procedure

A rollback procedure designed after a production failure takes longer than one designed before deployment. Every production deployment should have a documented, tested rollback mechanism before it reaches production.

10
Using production as the testing environment

Discovering failures in production rather than QA means users see failures. If QA does not catch failures that reach production, the QA environment does not adequately reflect production — fix the environment, not the process of skipping it.

11
Alerting on every possible metric

Too many alerts produce alert fatigue — oncall engineers stop responding carefully when they receive 50 alerts per day. Alert on symptoms that indicate user impact, not on every possible cause. Every alert must have a runbook.

12
Logging sensitive information in structured logs

Application logs that capture HTTP request bodies, database queries, or response payloads may contain PII, financial data, or health information. Use Sensitive Data Protection log processors to redact or transform sensitive fields before they reach Cloud Logging storage.

13
Operating without SLOs

Without SLOs, every incident feels equally urgent, reliability decisions are subjective, and the speed/reliability trade-off is argued rather than measured. SLOs create an objective framework for prioritizing reliability work against feature development.

14
Targeting 100% reliability without business justification

Five nines of availability costs significantly more than three nines and imposes major constraints on deployment velocity. The correct SLO is the reliability the business and users require — not the highest achievable number.

15
Ignoring CI/CD pipeline security

The pipeline is a privileged system with access to source code, build environment, artifact registry, and often deployment permissions. It must be secured with the same rigor as production infrastructure.

16
Using GKE for workloads that do not need Kubernetes

A stateless HTTP service that scales based on request volume almost always runs better, more cheaply, and with less operational overhead on Cloud Run than on GKE. Match the runtime to the requirements.

17
One giant CI/CD pipeline for all applications

A monolithic pipeline where every code push rebuilds all services is slow, creates unnecessary coupling, and makes failure attribution difficult. Scope pipelines per service or per application domain.

18
Manual production deployments with no audit trail

Manual deployments cannot be tracked, reproduced, or reviewed. Every production change must go through the deployment pipeline, creating an audit trail in Cloud Deploy, Cloud Build, and Cloud Audit Logs.

19
Ignoring observability and logging costs

High-volume debug logs, verbose request logging, and unfiltered log ingestion can generate significant Cloud Logging costs. Implement log exclusion filters, sampling for high-frequency low-signal logs, and log-based retention policies from the start.

20
Automating a broken process

Automating a flawed deployment process makes the wrong thing happen faster. Fix the process — test coverage, rollback procedures, environment parity — before automating it. Speed is not valuable when reliability and quality are not in place.

21
Assuming AI-generated infrastructure code is safe without review

Gemini Code Assist and similar tools can generate syntactically correct Terraform or Kubernetes manifests with security misconfigurations: overly permissive IAM, exposed ports, missing probes, or unencrypted storage. AI-generated infrastructure code must pass the same security review, static analysis, and policy checks as hand-authored code.

Readiness

Final Readiness Checklist

  • Can design a Git branching model and map Git events to CI/CD pipeline triggers
  • Can configure Cloud Build with least-privilege service accounts, parallel steps, caching, and build provenance
  • Can build and push a container image to Artifact Registry using an immutable digest
  • Can enable and interpret Artifact Analysis vulnerability scan results
  • Can configure Binary Authorization to block unattested or vulnerable images from deployment
  • Can explain the SLSA framework levels and what each level protects against
  • Can write Terraform modules for VPC, IAM, Artifact Registry, and a deployment target
  • Can configure remote state storage in Cloud Storage with locking
  • Can run a Terraform IaC pipeline: fmt → validate → policy check → plan → approval → apply
  • Can explain when to use Infrastructure Manager vs. self-managed Terraform execution
  • Can create DEV and PROD Kubernetes configurations from a shared base using Kustomize
  • Can configure a Cloud Deploy delivery pipeline with DEV → QA → PROD promotion and approval gates
  • Can implement a canary deployment strategy using Cloud Deploy and explain the rollback procedure
  • Can deploy an application to GKE with readiness/liveness probes, HPA, and Workload Identity
  • Can configure GKE release channels and explain the trade-offs between Rapid, Regular, and Stable
  • Can deploy a Cloud Run service and perform a traffic split across revisions
  • Can explain when Cloud Run is preferable to GKE and vice versa with concrete criteria
  • Can configure Secret Manager access from Cloud Build, Cloud Run, and GKE workloads
  • Can define three SLIs for a production application with quantitative measurement definitions
  • Can calculate an error budget from an SLO and explain how error-budget policy guides deployment decisions
  • Can configure Cloud Monitoring SLO monitoring with burn-rate alerting
  • Can design a logging strategy including structured logging, log exclusions, and BigQuery export
  • Can create custom metrics and log-based metrics in Cloud Monitoring
  • Can correlate trace IDs with log entries for incident investigation
  • Can describe the incident response lifecycle from detection through postmortem
  • Can identify toil in an operational process and propose an automation that eliminates it
  • Can explain the four DORA metrics and describe how to measure each from CI/CD pipeline data
  • Can identify and apply at least two FinOps optimizations to a production workload with measurable cost impact
  • Can describe how AI-assisted tools (Gemini Code Assist, Gemini Cloud Assist) accelerate DevOps work while requiring the same engineering controls
  • Can design the complete enterprise DevOps reference architecture and explain what each layer prevents

FAQ

Frequently Asked Questions

What is DevOps, really?

DevOps is the organizational and engineering discipline of building, delivering, and operating software reliably, repeatedly, and collaboratively. It is not a job title, a tool, or CI/CD. It encompasses source control strategy, delivery automation, infrastructure management, reliability engineering, security integration, and continuous improvement — with the goal of balancing delivery speed against reliability, security, and operational cost.

Is DevOps the same as CI/CD?

No. CI/CD is one important capability within DevOps — the automated pipeline from code commit to deployment. DevOps additionally covers source-control governance, infrastructure as code, SRE practices, observability, incident response, and continuous improvement. An organization with CI/CD but no SLOs, no observability, and no rollback strategy has automated deployments, not DevOps.

What is the difference between DevOps and SRE?

DevOps focuses on the delivery system: how software is built, tested, packaged, and deployed efficiently. SRE focuses on the reliability of running services: defining SLOs, managing error budgets, reducing toil, and responding to incidents. They are complementary — SRE applies to the same systems that DevOps delivers. Large organizations often have both roles; smaller teams often combine them.

What is the difference between DevOps and Platform Engineering?

Platform Engineering builds and operates the internal developer platform — the shared pipelines, golden-path templates, standard environments, and approved tools that other teams use. DevOps teams use the platform. Platform Engineering creates and maintains it. The distinction matters at scale: a single DevOps team serving 100 engineering teams needs to operate as a Platform Engineering team.

Do I need Kubernetes expertise before starting this path?

No. Phase 7 covers GKE from a DevOps delivery perspective: deploying applications, configuring probes and autoscaling, using Workload Identity, and managing deployments. You do not need deep Kubernetes administration experience. If you want to manage clusters, nodes, etcd, and control-plane components, that requires the CKA certification track — not this path.

Should I learn Jenkins or Cloud Build?

If you are deploying on Google Cloud, Cloud Build is the better choice for new projects: no infrastructure to manage, native integration with Google Cloud services, and tight integration with Cloud Deploy and Artifact Registry. Jenkins remains relevant for organizations with existing Jenkins pipelines or multi-cloud requirements. The certification tests Cloud Build specifically.

Terraform vs. Config Connector — which should I learn?

Both are valid IaC tools. Terraform is broader, widely adopted, and uses a dedicated HCL workflow. Config Connector is Kubernetes-native, uses CRDs and kubectl, and integrates naturally with GitOps patterns on GKE. The certification covers Terraform, Infrastructure Manager, and Config Connector — focus on Terraform first, then understand when Config Connector fits. Infrastructure Manager adds managed Terraform execution on top of standard Terraform.

Cloud Deploy vs. Cloud Build — what is the difference?

Cloud Build runs individual build steps to produce artifacts (CI). Cloud Deploy manages the delivery pipeline that promotes those artifacts through environments (CD). They are complementary: Cloud Build produces the container image; Cloud Deploy delivers it through DEV → QA → PROD with approvals, rollback, and audit trail. Do not conflate CI with CD.

GKE vs. Cloud Run — how do I choose?

Choose Cloud Run when: the service is stateless, HTTP-based, needs to scale to zero, and minimal operational overhead is a priority. Choose GKE when: the workload is stateful, requires complex scheduling, needs advanced networking, or your team has existing Kubernetes investment. The simplest runtime that meets requirements is the correct choice — Cloud Run should be the default for new stateless services unless there is a specific reason GKE is required.

What is an error budget?

An error budget is the permitted failure within an SLO window. If the SLO is 99.9% availability over 30 days, the error budget is 0.1% of 30 days = approximately 43 minutes of permitted downtime. When the error budget is healthy, teams deploy freely. When it is depleted, reliability work takes priority over new features. Error budgets transform the speed/reliability trade-off from a subjective argument into a data-driven policy.

Is this path sufficient for the Professional Cloud DevOps Engineer certification?

This path covers the primary scope of all five exam domains. Two areas require supplementary study: AI-powered observability (Gemini Cloud Assist for log and trace analysis in the console), and some newer products mentioned in the current exam guide (Parameter Manager, Dynamic Workload Scheduler, Cloud Service Mesh SLO integration). Budget 2–4 weeks of additional focused study after completing this path before registering.

How does AI change DevOps engineering?

AI tools accelerate authoring: Terraform modules, pipeline YAML, Kubernetes manifests, and application code are produced faster with AI assistance. Gemini Cloud Assist accelerates log analysis, trace interpretation, and metric diagnosis. However, AI-generated code and configuration must still be reviewed, tested, scanned, and deployed through the same controlled pipeline as hand-authored code. AI removes the blank-page problem — it does not remove engineering judgment or security validation.

Ready to Become a DevOps Engineer?

Move from manual deployments to secure, automated, observable, reliable delivery systems. Build the platform that makes the safe path the easy path for every engineering team.