10 exam-style questions with answers and explanations, straight from our 1,031-question bank. Tap an answer to check yourself. When you're ready, take the scored version in the free practice test.
These 10 free CDE questions are organized by exam domain, so you can see how each part of the Professional Cloud DevOps Engineer blueprint is tested. Reveal the answer and explanation under each question.
Domain 1: Bootstrapping and maintaining a Google Cloud organization 20% of exam
Question 1
A platform team grants a group the Viewer role at the folder level. That folder contains three projects, and one of them also has a separate IAM binding giving the same group the Editor role. What effective access does the group have on that one project?
Show answer & explanation
Correct answer: A - Editor, because IAM policies are additive and the union of the roles applies
Question 2
A team manages Google Cloud infrastructure declaratively and wants the platform to continuously reconcile resources back to their desired state, automatically correcting any manual change an engineer makes in the console. Which approach BEST meets this requirement?
Show answer & explanation
Correct answer: C - Use Config Connector to manage the resources as Kubernetes objects
Question 3
A GitHub Actions workflow must deploy to Google Cloud, but company policy applies the organization constraint that disables service account key creation. Which authentication method should the pipeline use?
Show answer & explanation
Correct answer: A - Workload Identity Federation to exchange the runner's OIDC token for short-lived credentials
Question 4
An enterprise runs dozens of GKE clusters across several regions and teams, and wants to manage configuration, policy, and multi-cluster services consistently across all of them as a single logical unit. Which Google Cloud construct is designed for this?
Show answer & explanation
Correct answer: D - A fleet, the grouping used to manage clusters as one unit
Domain 2: Building and implementing CI/CD pipelines, including continuous testing, for application, infrastructure, and machine learning workloads 25% of exam
Question 5
A payments service is shipping a release that changes internal behavior in a way a mixed old-and-new fleet cannot tolerate. The team needs to revert to the previous version instantly and can afford to run a second full environment temporarily. Which deployment strategy fits BEST?
Show answer & explanation
Correct answer: C - Blue/green, cutting all traffic over at once with the old version kept warm
Question 6
A CI/CD pipeline builds a container image, runs it through staging tests, and then deploys to production. What is the Google-recommended practice for what gets deployed to production?
Show answer & explanation
Correct answer: B - Promote the exact same immutable artifact that was tested in staging
Question 7
A security team wants to guarantee that only container images that have passed vulnerability scanning and been signed by the approved build process can be deployed to a GKE cluster, blocking any untrusted image at deploy time. Which service enforces this?
Show answer & explanation
Correct answer: C - Binary Authorization with an enforced attestation policy on the cluster
Question 8
A team wants a managed, opinionated continuous delivery service to promote a release through dev, staging, and production targets, with a required manual approval before the production promotion. Which Google Cloud service provides this natively?
Show answer & explanation
Correct answer: D - Cloud Deploy delivery pipelines with a required approval gate before prod
Question 9
During an automated canary rollout, the new revision begins serving a small percentage of traffic. On what basis should the pipeline decide whether to advance the canary to the next phase or roll it back?
Show answer & explanation
Correct answer: B - Application telemetry such as error rate and latency compared against thresholds
Domain 3: Applying site reliability engineering practices 18% of exam
Question 10
A team states: '99.9% of requests will complete in under 300 ms, measured over a rolling 28-day window.' In SRE terminology, this statement is an example of a(n):
Show answer & explanation
Correct answer: B - Service Level Objective (SLO), the internal target set for the SLI