Google Cloud DevOps Interview Prep: 4-Week Plan (2027)
A four-week Google Cloud DevOps interview study plan: org setup, CI/CD, SRE, observability and cost, with a hands-on project and 20 practice questions.
To prepare for a Google Cloud DevOps interview, spend four weeks on the five areas Google uses for its Professional Cloud DevOps Engineer exam: organisation setup, SRE practices, CI/CD, observability, and performance and cost. Build one small project end to end, then practise the 20 questions below out loud. This guide gives the week-by-week plan.
This is a study plan, not a question bank. For questions, use our scenario-based GCP DevOps interview questions, which is the main question page for this topic, and the sibling pages linked at the end.
Key takeaways
- Google's exam page lists five areas: bootstrap and maintain a Google Cloud organization, apply SRE practices, build CI/CD pipelines (including for infrastructure and ML workloads), implement observability and troubleshoot, and optimise performance and cost.
- The exam is two hours, 50 to 60 multiple choice and multiple select questions, $200 plus tax, in English and Japanese, with no prerequisites. Google recommends 3+ years of industry experience including 1+ year on Google Cloud.
- Container Registry shut down on 18 March 2025. Learn Artifact Registry.
- Four weeks at 8 to 10 hours a week is enough for someone who already knows Linux, Git and one CI tool. Add two weeks if Google Cloud is new to you.
- A single working project you can explain beats a long list of services you have only read about.
Before you start: check your baseline
| You can already... | If yes | If no |
|---|---|---|
| Use Linux shell, Git branches and pull requests | Start week 1 | Spend a week on Linux and Git first |
| Write a Dockerfile and explain a Kubernetes Deployment | Start week 1 | Read our Kubernetes architecture guide first |
Create a project, a VM and a bucket with gcloud | Start week 1 | Do the Associate Cloud Engineer basics first |
| Read basic Terraform | Start week 1 | Learn resources, variables and state for two evenings |
The project you will build
One small web service (any language) with a health endpoint, deployed to Cloud Run and to GKE Autopilot, released through Cloud Build and Cloud Deploy, with images in Artifact Registry, secrets in Secret Manager, an SLO in Cloud Monitoring and infrastructure in Terraform. Every interview story you tell can come from this project. Keep a notes file with every error you hit and how you fixed it.
Set a budget alert on the billing account before you create anything, and delete the GKE cluster at the end of each session.
Week 1: organisation, IAM and infrastructure as code
Goal: explain how a company should lay out Google Cloud, and create your environment with code.
- Resource hierarchy: organisation, folders, projects. Why separate projects per environment.
- IAM: roles, principals, service accounts, least privilege, groups instead of users.
- Organisation policies, for example restricting service account key creation.
- Shared VPC versus separate networks.
- Workload Identity Federation for CI systems outside Google Cloud, so you do not store service account keys.
- Terraform with a remote state bucket. Create the dev and prod projects' core resources.
Checkpoint: you can draw the hierarchy for a company with three teams and two environments, and justify each IAM binding.
Week 2: CI/CD and the software supply chain
Goal: a commit to main builds, tests, stores and deploys the service, with a manual approval for production.
- Cloud Build: a
cloudbuild.yamlwith build, test and push steps, triggers from your Git host. - Artifact Registry: Docker repositories, cleanup policies, vulnerability scanning.
- Cloud Deploy: delivery pipeline, targets, Skaffold config, promotion and rollback, canary for Cloud Run or GKE.
- Secret Manager in builds and at runtime.
- Binary Authorization to allow only signed or attested images on GKE.
steps:
- name: 'gcr.io/cloud-builders/docker'
args: ['build', '-t', '${_REGION}-docker.pkg.dev/$PROJECT_ID/app/web:$SHORT_SHA', '.']
- name: 'gcr.io/cloud-builders/docker'
args: ['push', '${_REGION}-docker.pkg.dev/$PROJECT_ID/app/web:$SHORT_SHA']
substitutions:
_REGION: asia-south1
Checkpoint: you can show a failed deploy being rolled back and explain where every credential lives.
Week 3: SRE and observability
Goal: know when your service is unhealthy before users tell you.
- SLIs, SLOs and error budgets. Define an availability SLO for the service in Cloud Monitoring.
- Burn-rate alerts with
select_slo_burn_rate: a fast-burn and a slow-burn policy. - Cloud Logging: log routing, sinks to BigQuery or Cloud Storage, exclusions to control cost, log-based metrics.
- Ops Agent on Compute Engine and Managed Service for Prometheus on GKE.
- Cloud Trace for latency across services.
- Incident response and blameless postmortems. Write one for a failure you cause on purpose.
Our GCP DevOps SRE FAQs page has 32 questions for this week alone.
Week 4: performance, cost, and mock interviews
- Autoscaling on Cloud Run, GKE (Horizontal Pod Autoscaler, cluster autoscaler) and managed instance groups.
- Spot VMs for fault-tolerant work, committed use discounts for steady load, rightsizing recommendations.
- Labels for cost allocation and billing export to BigQuery.
- Two mock interviews: one technical, one scenario-based. Record yourself and listen back.
- Take Google's official sample questions if you plan to sit the exam.
Weekly time plan
| Week | Reading | Hands-on | Practice answers |
|---|---|---|---|
| 1 | 3 hours | 5 hours | 1 hour |
| 2 | 2 hours | 6 hours | 1 hour |
| 3 | 3 hours | 5 hours | 2 hours |
| 4 | 1 hour | 3 hours | 5 hours |
20 questions to practise during the plan
Short answers are below. Practise saying each one in under two minutes, then add an example from your project.
1. How would you structure projects for dev, staging and production?
One project per environment per application or team, grouped under folders, so IAM, quotas and billing are separated and a mistake in dev cannot touch prod. Shared services such as networking can sit in a host project.
2. Why avoid service account keys?
Keys are long-lived secrets that leak through repositories and laptops. Use attached service accounts on Google Cloud resources and Workload Identity Federation for external CI.
3. What does Cloud Deploy add to Cloud Build?
Cloud Build runs build steps. Cloud Deploy manages releases through an ordered set of targets with promotion, approvals, rollback and deployment strategies such as canary.
4. Why Artifact Registry and not Container Registry?
Google shut down Container Registry on 18 March 2025, so you can no longer write images to it. Artifact Registry is the replacement and also stores language packages.
5. How do you keep secrets out of builds?
Store them in Secret Manager, grant the build service account access to only the secrets it needs, and reference them in the build config rather than in source or substitutions.
6. What is Binary Authorization?
A deploy-time control that allows only images that meet a policy, such as being signed by your CI pipeline, to run on GKE or Cloud Run.
7. What is an error budget?
1 minus the SLO. It is the allowed unreliability that the team can spend on releases and experiments.
8. How do you alert on an SLO?
With burn-rate alerting policies: a fast-burn alert over a short window that pages, and a slow-burn alert over a longer window that opens a ticket.
9. How do you reduce logging cost?
Add exclusion filters for noisy, low-value logs, lower verbosity in the app, route long-term logs to cheaper storage, and use log-based metrics instead of keeping every log line.
10. How do you get Prometheus metrics from GKE?
Use Google Cloud Managed Service for Prometheus, which collects Prometheus metrics and lets you query them with PromQL in Cloud Monitoring.
11. How do you choose between Cloud Run and GKE?
Cloud Run suits stateless HTTP services and jobs where you want no cluster to manage. GKE suits workloads needing Kubernetes features, custom networking, sidecars or many tightly coupled services.
12. How do you do a canary release?
Send a small share of traffic to the new version, compare its SLIs with the stable version, then promote or roll back. Cloud Deploy supports canary for GKE and Cloud Run targets.
13. A build is slow. Where do you look?
Step timings in the build log, image layer caching, dependency download time and machine type. Cache dependencies and order Dockerfile layers so code changes do not rebuild everything.
14. Pods are Pending on GKE. What do you check?
Events on the pod (kubectl describe pod) for insufficient CPU or memory, node selectors or taints, quota limits, and whether the cluster autoscaler can add nodes.
15. How do you audit who changed production?
Cloud Audit Logs for admin activity, Cloud Deploy release history for application changes, and Terraform plans in pull requests for infrastructure.
16. How do you cut compute cost without hurting reliability?
Rightsize from recommendations, autoscale to demand, use Spot VMs for interruptible work, and buy committed use discounts only for the steady baseline.
17. What is toil and how did you reduce it in your project?
Manual, repetitive, automatable work. In the project, examples are replacing manual deploys with Cloud Deploy and manual environment setup with Terraform.
18. How would you handle a leaked credential?
Revoke or rotate it immediately, check audit logs for misuse, remove it from history, find how it leaked, and add a control such as secret scanning or an organisation policy.
19. How do you test infrastructure changes?
Run format and validate checks, review the plan in a pull request, apply to dev first, and use policy checks for rules such as "no public buckets".
20. Walk me through your project.
Explain the architecture in one minute, then the pipeline, then one failure and how you detected and fixed it. Interviewers remember the failure story.
Common mistakes
- Reading only. Every topic in the plan has a hands-on task for a reason.
- Memorising old service names. Check product pages; Container Registry is gone, and documentation has moved to docs.cloud.google.com.
- Ignoring cost questions. Senior interviews almost always ask one.
- Answering with lists. Give one clear recommendation and the reason.
Where to go next
After the plan, work through GCP DevOps basics questions, questions for experienced engineers and certification-style questions. To compare Google Cloud tools with AWS and Azure equivalents, read DevOps cloud tools compared. If you need a guided start on Google Cloud, the Google Cloud Associate Cloud Engineer course runs in our Kharadi, Pune classroom and live online.
Frequently asked questions
How long does it take to prepare for a Google Cloud DevOps interview?
About four weeks at 8 to 10 hours a week if you already know Linux, Git, containers and one CI tool. Allow six weeks if Google Cloud is new to you.
What does the Professional Cloud DevOps Engineer exam cover?
Bootstrapping a Google Cloud organization, SRE practices, CI/CD pipelines, observability and troubleshooting, and performance and cost optimisation.
How long is the exam and what does it cost?
Two hours, 50 to 60 multiple choice and multiple select questions, and a $200 registration fee plus tax, according to Google's exam page.
Are there prerequisites for the exam?
No. Google recommends 3+ years of industry experience, including 1+ year designing and managing production systems on Google Cloud.
Should I still learn Container Registry?
No. Google shut it down on 18 March 2025. Learn Artifact Registry.
Which project should I build to prepare?
A small service deployed to Cloud Run and GKE through Cloud Build and Cloud Deploy, with Terraform, Secret Manager and an SLO in Cloud Monitoring.
Is this page a question bank?
No. It is a study plan with 20 practice questions. The scenario-based GCP DevOps page is the main question bank.
Official references
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0