PCDE practice questions and answers
All 55 questions from Full Practice Test 1 for Professional Cloud DevOps Engineer, with the correct answer and a full explanation for each — including why the other options are wrong. Free to read, no signup.
What this set covers
Questions are weighted to match the official PCDE exam guide. The real exam is 50-60 multiple choice and multiple select questions questions in 120 minutes with a pass mark of Not published (pass/fail only; commonly reported ~70% - unofficial).
- Bootstrapping and maintaining a Google Cloud organization12 q · 20%
- Building and implementing CI/CD pipelines, including continuous testing, for application, infrastructure, and machine learning workloads15 q · 25%
- Applying site reliability engineering practices10 q · 18%
- Implementing observability practices and troubleshooting issues12 q · 25%
- Optimizing performance and cost6 q · 12%
Which two practices help maintain least privilege in a growing Google Cloud organisation? (Select TWO.)
- AGrant predefined or custom roles at the narrowest resource scope that works✓
- BUse IAM Recommender findings to remove unused permissions✓
- CGrant the Owner role at the organization node to all engineers
- DUse primitive roles everywhere for simplicity
- EShare one service account across every workload
Correct answer: A, B — Grant predefined or custom roles at the narrowest resource scope that works · Use IAM Recommender findings to remove unused permissions
Scoping roles as narrowly as possible and acting on recommender findings are the two mechanisms that keep permissions tight over time. Organization-wide Owner, blanket primitive roles, and a shared service account all grant far more than any workload needs.
Google Cloud — IAM recommenderA Cloud Run service has a high cold start rate that hurts p99 latency during traffic spikes. Which change addresses this most directly?
- AConfigure a minimum number of instances so warm capacity is always available✓
- BIncrease the request timeout
- CReduce the maximum instance count
- DMove the container image to a different registry
Correct answer: A — Configure a minimum number of instances so warm capacity is always available
Minimum instances keep containers warm so incoming requests do not wait for a cold start. A longer timeout tolerates the delay rather than removing it, reducing maximum instances makes queuing worse, and registry location does not affect steady-state cold starts.
Google Cloud — Cloud Run minimum instancesA Cloud Build pipeline needs a database password during the build. What is the correct way to supply it?
- AStore it in Secret Manager and reference it from the build configuration✓
- BCommit it to the repository in the build configuration file
- CPass it as a plain substitution variable in the trigger
- DPrint it to the build log so it can be reused
Correct answer: A — Store it in Secret Manager and reference it from the build configuration
Secret Manager holds the value encrypted with IAM-controlled access, and Cloud Build can reference it without exposing it in configuration or logs. Committing secrets, passing them as plain substitutions, and printing them to logs all leak the credential.
Google Cloud — Use secrets in Cloud BuildWhich Google Cloud feature gives a discount for a consistent baseline of compute usage over one or three years?
- ACommitted use discounts✓
- BSustained use discounts applied automatically per minute
- CSpot pricing
- DFree tier quotas
Correct answer: A — Committed use discounts
Committed use discounts trade a usage commitment over one or three years for a lower rate, which suits a predictable baseline. Sustained use discounts apply automatically without a commitment, Spot pricing applies to preemptible capacity, and free tier quotas are small allowances.
Google Cloud — Committed use discountsA platform team must give application teams a curated way to create GKE clusters that already comply with company standards. Which approach fits best?
- APublish reviewed Terraform modules and enforce their use through a pipeline with policy checks✓
- BSend each team a document describing the required settings
- CGrant every team the Kubernetes Engine Admin role and trust them
- DCreate clusters manually on request through a ticket queue
Correct answer: A — Publish reviewed Terraform modules and enforce their use through a pipeline with policy checks
Shared modules plus automated policy checks make the compliant path the easy path and prevent drift without a human gate. Documents rely on goodwill, broad admin access removes guardrails, and manual ticket-driven creation does not scale and still drifts.
Google Cloud — Policy as code with TerraformAn on-call team is paged 30 times per shift, mostly for alerts that require no action. What is the correct remedy?
- AReview and remove alerts that are not symptom-based and actionable, and page only on SLO burn✓
- BAdd more people to the on-call rotation
- CIncrease the paging threshold on every alert by a fixed amount
- DRoute all pages to email instead
Correct answer: A — Review and remove alerts that are not symptom-based and actionable, and page only on SLO burn
Alert fatigue is fixed by making each page correspond to user-visible harm that requires human action, which usually means alerting on SLO burn rate rather than every internal condition. More responders spreads the pain, blanket threshold changes are arbitrary, and routing pages to email means real incidents are missed.
Google — Alerting on SLOsA team must correlate a trace with the log entries produced during that request. What should the application do?
- AInclude the trace identifier in each structured log entry✓
- BWrite logs to a separate project
- CIncrease the log verbosity to debug permanently
- DDisable sampling on all traces
Correct answer: A — Include the trace identifier in each structured log entry
Emitting the trace identifier in the log payload lets the platform link logs to the corresponding trace span. A separate project makes correlation harder, permanent debug logging is expensive and noisy, and disabling sampling increases cost without creating the linkage.
Google Cloud — Correlate logs and tracesWhich of the four golden signals measures the number of requests a service is receiving?
- ATraffic✓
- BLatency
- CErrors
- DSaturation
Correct answer: A — Traffic
Traffic is the demand placed on the system, typically requests per second. Latency is how long requests take, errors is the rate of failed requests, and saturation is how full the system's constrained resource is.
Google — Monitoring distributed systemsWhich practice reduces the risk of a schema change breaking a running application during a rolling deployment?
- ABackward-compatible schema changes applied before the code that uses them, using an expand and contract approach✓
- BApplying the schema change and the code change in the same irreversible step
- CDropping unused columns immediately when the new code deploys
- DTaking the application offline for every deployment
Correct answer: A — Backward-compatible schema changes applied before the code that uses them, using an expand and contract approach
Expand and contract keeps old and new code working against the same schema during the rollout window, so a partial deployment never breaks. Coupling the two changes makes rollback impossible, dropping columns immediately breaks any instance still running old code, and downtime defeats the purpose of rolling deployment.
Google Cloud — Database change managementA GKE workload's logs are needed for debugging but the cluster has logging disabled. Which change collects container stdout and stderr into Cloud Logging?
- AEnable Cloud Logging for the cluster so the managed agent collects container output✓
- BSSH to each node and read the container logs manually
- CWrite logs to a local file inside each container
- DEnable Cloud Trace instead
Correct answer: A — Enable Cloud Logging for the cluster so the managed agent collects container output
GKE's managed logging agent forwards container stdout and stderr to Cloud Logging once logging is enabled for the cluster. Reading node logs by hand does not scale, files inside containers are lost when pods restart, and Trace records latency rather than log output.
Google Cloud — GKE loggingA pipeline must guarantee that the artefact deployed to production is the exact one that passed integration tests in staging. Which practice enforces this?
- APromote by immutable image digest rather than by tag, and record the digest with each release✓
- BRebuild from the release branch at deploy time
- CRetag the staging image as production before deploying
- DAllow each environment to pin its own base image version
Correct answer: A — Promote by immutable image digest rather than by tag, and record the digest with each release
A digest identifies exact content, so promoting by digest makes it impossible for production to run different bits from what was tested. Rebuilding can produce a different artefact, retagging changes a mutable pointer without guaranteeing content, and per-environment base images ensure the environments differ.
Google Cloud — Container image digestsWhich two signals indicate a healthy continuous delivery practice according to DORA research? (Select TWO.)
- AHigh deployment frequency✓
- BLow change failure rate✓
- CLong lead time for changes
- DLarge batch sizes released quarterly
- EManual approval at every stage
Correct answer: A, B — High deployment frequency · Low change failure rate
Deploying often and rarely breaking production are two of the four key DORA metrics that correlate with high performance. Long lead times, quarterly big-batch releases, and manual gates everywhere are characteristics of low-performing delivery.
Google Cloud — DORA metricsApplication logs must be retained for seven years at low cost while remaining queryable for the last 30 days. Which design fits?
- AA log sink exporting to Cloud Storage with lifecycle rules, and a 30-day retention on the log bucket✓
- BSeven-year retention on the Cloud Logging bucket
- CDisabling log retention entirely
- DCopying logs to a Compute Engine disk nightly
Correct answer: A — A log sink exporting to Cloud Storage with lifecycle rules, and a 30-day retention on the log bucket
Keeping a short queryable window in Logging while exporting to object storage with lifecycle transitions is the cost-effective pattern for long archives. Seven-year Logging retention is far more expensive, disabling retention loses the data, and a disk copy is unmanaged and does not scale.
Google Cloud — Log sinks and routingA team wants failing tests to stop a release before it reaches production, with the fastest feedback. Where should unit tests run in the pipeline?
- AEarly in the build stage, before any artefact is published✓
- BAfter deployment to production
- COnly during the weekly regression run
- DManually by the release manager before sign-off
Correct answer: A — Early in the build stage, before any artefact is published
Cheap, fast tests belong as early as possible so a broken change fails before any artefact exists or any environment is touched. Testing after production deployment, weekly, or by hand all delay feedback until the cost of failure is much higher.
Google Cloud — Continuous testingA service has an SLO of 99.9% availability over 30 days. What does the error budget represent?
- AThe 0.1% of requests that may fail without breaching the objective✓
- BThe maximum number of engineers allowed to deploy
- CThe compute budget allocated to the service
- DThe number of incidents permitted per quarter
Correct answer: A — The 0.1% of requests that may fail without breaching the objective
The error budget is the allowed unreliability implied by the objective, here 0.1% of requests over the window. It is not a headcount, a spending limit, or a fixed incident count.
Google — SRE error budgetsA design requires that all projects for a business unit inherit the same policies and billing configuration. Which resource hierarchy element should be used?
- AA folder containing the business unit's projects✓
- BA VPC network shared by the projects
- CA single project holding all resources
- DA Cloud Storage bucket per business unit
Correct answer: A — A folder containing the business unit's projects
Folders group projects so IAM and organization policy assignments inherit consistently to everything inside. A shared VPC provides networking, a single project removes isolation, and a bucket is a storage resource with no policy inheritance role.
Google Cloud — Resource hierarchyWhich practice best prepares a team to handle an incident quickly when it occurs?
- ARehearsed, up-to-date runbooks combined with regular disaster testing✓
- BA single expert who knows the system best
- CA long architecture document written once
- DDisabling alerting outside business hours
Correct answer: A — Rehearsed, up-to-date runbooks combined with regular disaster testing
Response speed comes from procedures that have been exercised, so anyone on call can act. Relying on one expert creates a single point of failure, a stale document does not guide response, and disabling alerting means incidents go undetected.
Google — Incident responseA GKE cluster has many nodes running at low utilisation because pods request far more CPU than they use. Which two changes reduce cost? (Select TWO.)
- ARight-size pod resource requests based on observed usage, using Vertical Pod Autoscaler recommendations✓
- BEnable cluster autoscaler so underused nodes are removed✓
- CIncrease every pod's CPU request to be safe
- DDisable the horizontal pod autoscaler
- EAdd a fixed number of extra nodes for headroom
Correct answer: A, B — Right-size pod resource requests based on observed usage, using Vertical Pod Autoscaler recommendations · Enable cluster autoscaler so underused nodes are removed
Requests that reflect real usage let the scheduler pack pods densely, and the cluster autoscaler then removes nodes that are no longer needed. Inflating requests, disabling horizontal autoscaling, and adding fixed headroom all increase the node count and the bill.
Google Cloud — GKE cost optimizationWhich two are valid reasons to separate workloads into different Google Cloud projects? (Select TWO.)
- AIndependent IAM boundaries and blast radius containment✓
- BSeparate quota and billing attribution per workload✓
- CLower network latency between the workloads
- DAutomatic data replication between projects
- EElimination of the need for IAM policies
Correct answer: A, B — Independent IAM boundaries and blast radius containment · Separate quota and billing attribution per workload
Projects are the natural isolation, quota, and billing boundary in Google Cloud. Splitting projects does not reduce latency, does not replicate data, and IAM policies remain required inside every project.
A release must go to 5% of users first, be evaluated against error rate, and only then roll out fully. Which deployment strategy is this?
- ACanary deployment✓
- BRecreate deployment
- CBig bang deployment
- DShadow deployment
Correct answer: A — Canary deployment
Sending a small traffic slice to the new version and gating full rollout on measured health is the canary pattern. Recreate replaces everything at once, big bang is an unstaged cutover, and shadow sends duplicated traffic without serving its responses to users.
Google Cloud — Deployment strategiesWhich two data sources are most useful for determining who deleted a production resource? (Select TWO.)
- ACloud Audit Logs admin activity entries✓
- BCloud Asset Inventory resource history✓
- CCloud Profiler CPU samples
- DCloud CDN cache hit ratios
- EApplication debug logs
Correct answer: A, B — Cloud Audit Logs admin activity entries · Cloud Asset Inventory resource history
Admin activity audit logs record the principal and the API call, and asset inventory history shows the resource state before and after. Profiler samples, CDN metrics, and application debug logs say nothing about who invoked a control plane deletion.
Google Cloud — Cloud Audit LogsA team wants to verify that its service degrades gracefully when a dependency becomes slow, before it happens in production. Which practice applies?
- AControlled fault injection experiments against a defined steady state in a pre-production or carefully scoped environment✓
- BReviewing the dependency's documentation
- CAdding more replicas of the service
- DIncreasing the client timeout to five minutes
Correct answer: A — Controlled fault injection experiments against a defined steady state in a pre-production or carefully scoped environment
Deliberately injecting latency and observing whether the steady state holds is the only option that produces evidence about degradation behaviour. Reading documentation is not a test, extra replicas do not change how a slow dependency is handled, and a longer timeout makes the symptom worse.
Google — Testing for reliabilityA dashboard should show whether a service is meeting its objective and how much budget remains. Which Cloud Monitoring feature provides this directly?
- AService monitoring with SLOs defined against SLIs✓
- BA log-based metric on request count only
- CAn uptime check from one region
- DA group of virtual machine instances
Correct answer: A — Service monitoring with SLOs defined against SLIs
Cloud Monitoring's service monitoring lets you define SLIs and SLOs and displays compliance and remaining error budget. A raw request count metric does not express an objective, a single uptime check is a narrow probe, and instance groups are a compute construct.
Google Cloud — SLO monitoringWhich Google Cloud service stores container images and language packages with vulnerability scanning and IAM controls?
- AArtifact Registry✓
- BCloud Storage
- CFilestore
- DCloud Source Repositories
Correct answer: A — Artifact Registry
Artifact Registry is the managed repository for container images and language packages, with integrated scanning and IAM. Cloud Storage and Filestore store objects and files without registry semantics, and Source Repositories hosts source code.
Google Cloud — Artifact RegistryWhich definition best describes toil in SRE terms?
- AManual, repetitive, automatable work that scales linearly with service growth and adds no enduring value✓
- BAny work that is difficult
- CTime spent designing new architecture
- DTime spent writing postmortems
Correct answer: A — Manual, repetitive, automatable work that scales linearly with service growth and adds no enduring value
Toil is specifically operational work that is manual, repetitive, automatable, and grows with scale without leaving lasting improvement behind. Difficulty alone is not toil, and design work and postmortems produce durable value.
Google — Eliminating toilA team wants each merged pull request to produce an immutable, uniquely identified artefact used unchanged in every environment. Which practice supports this?
- ABuild once, tag the image with the commit SHA, and promote the same digest through environments✓
- BRebuild the image separately for each environment
- CAlways deploy the latest tag
- DLet each environment pull from its own source branch
Correct answer: A — Build once, tag the image with the commit SHA, and promote the same digest through environments
Building once and promoting the identical digest guarantees that what was tested is what runs. Per-environment rebuilds can differ subtly, the latest tag is mutable and untraceable, and per-environment branches mean the environments run different code.
Google Cloud — Immutable artefacts in CI/CDA CI system outside Google Cloud must deploy to Google Cloud without a stored service account key. Which approach is recommended?
- AWorkload Identity Federation with an external identity provider✓
- BA service account key stored in the CI system's secret store
- CA user account password shared with the CI system
- DAn API key with broad scopes
Correct answer: A — Workload Identity Federation with an external identity provider
Workload Identity Federation exchanges the external system's own token for short-lived Google Cloud credentials, so no key ever exists. Stored keys, shared passwords, and broad API keys are all long-lived secrets that can be exfiltrated.
Google Cloud — Workload Identity FederationA team wants to alert when the service is burning its error budget fast enough to exhaust it before the window ends. Which alerting approach should be used?
- AA burn rate alert on the SLO with multiple windows and thresholds✓
- BAn alert on every individual 500 response
- CA static CPU threshold alert
- DA daily summary email of error counts
Correct answer: A — A burn rate alert on the SLO with multiple windows and thresholds
Burn rate alerting compares the current error rate to the budget consumption pace and uses short and long windows to balance precision and detection time. Per-error alerts create noise, CPU thresholds do not reflect user impact, and a daily email is far too slow for an active incident.
Google — Alerting on SLOsWhich service identifies which functions in a running application consume the most CPU over time, with minimal overhead?
- ACloud Profiler✓
- BCloud Trace
- CError Reporting
- DCloud Audit Logs
Correct answer: A — Cloud Profiler
Cloud Profiler continuously samples CPU and heap usage in production and attributes it to functions. Trace measures request latency across services, Error Reporting groups exceptions, and Audit Logs record administrative activity.
Google Cloud — Cloud ProfilerA rollback must be possible within seconds if a new Cloud Run revision misbehaves. Which capability provides this?
- ATraffic splitting between revisions, shifting all traffic back to the previous revision✓
- BRebuilding the previous container image from source
- CDeleting the service and recreating it
- DScaling the service to zero
Correct answer: A — Traffic splitting between revisions, shifting all traffic back to the previous revision
Cloud Run keeps previous revisions, so shifting traffic back is near instantaneous and requires no rebuild. Rebuilding takes minutes, deleting and recreating causes an outage, and scaling to zero stops serving entirely.
Google Cloud — Rollbacks and traffic migration in Cloud RunWhich Google Cloud service orchestrates progressive delivery of an application across development, staging, and production targets with approvals?
- ACloud Deploy✓
- BCloud Scheduler
- CCloud Tasks
- DArtifact Registry
Correct answer: A — Cloud Deploy
Cloud Deploy models a delivery pipeline with ordered targets, promotion, approvals, and rollback. Scheduler runs cron jobs, Tasks manages asynchronous work queues, and Artifact Registry stores build artefacts.
Google Cloud — Cloud Deploy overviewA team needs to find how much time a request spent in each microservice hop. Which Google Cloud service provides this?
- ACloud Trace✓
- BCloud Logging
- CCloud Monitoring uptime checks
- DCloud Profiler
Correct answer: A — Cloud Trace
Cloud Trace collects distributed traces with spans per service hop, which is exactly a per-hop latency breakdown. Logging holds discrete events, uptime checks probe availability from outside, and Profiler samples CPU and memory usage inside a process.
Google Cloud — Cloud TraceAn infrastructure pipeline must show what a Terraform change will do before it is applied, with human review. Which step provides this?
- AA terraform plan stage whose output is posted for review before the apply stage runs✓
- BRunning terraform apply with auto-approve on every commit
- CApplying changes directly in the console and importing them later
- DSkipping state locking to speed up the pipeline
Correct answer: A — A terraform plan stage whose output is posted for review before the apply stage runs
A plan stage produces the exact set of creates, updates, and destroys for reviewers to approve before anything changes. Auto-approve removes the review, console edits create drift, and disabling state locking risks corrupting the state file.
Google Cloud — Terraform best practicesA team must choose an SLI for a request-driven web service. Which is the most appropriate?
- AThe proportion of successful requests served under a defined latency threshold✓
- BThe average CPU utilisation of the fleet
- CThe number of virtual machines running
- DThe size of the container image
Correct answer: A — The proportion of successful requests served under a defined latency threshold
A good SLI measures what users experience, which for a request service is the fraction of requests that succeed quickly enough. CPU, instance counts, and image size are internal implementation details that users never feel directly.
Google — Implementing SLOsAn organisation must block the creation of service account keys entirely, because Workload Identity Federation is now mandatory. Which control achieves this?
- AThe organization policy constraint that disables service account key creation✓
- BRemoving the Editor role from all users
- CA Cloud Monitoring alert when a key is created
- DA label applied to all service accounts
Correct answer: A — The organization policy constraint that disables service account key creation
A boolean organization policy constraint prevents key creation across the hierarchy regardless of IAM grants, which is what mandatory means here. Removing Editor does not cover every role that can create keys, an alert is detective, and labels carry no enforcement.
Google Cloud — Organization policy constraintsA machine learning pipeline must retrain and redeploy a model when new labelled data arrives, with lineage tracking. Which service fits?
- AVertex AI Pipelines✓
- BCloud Scheduler alone
- CCloud Functions triggered by HTTP only
- DBigQuery scheduled queries
Correct answer: A — Vertex AI Pipelines
Vertex AI Pipelines orchestrates ML workflow steps with artefact lineage and metadata tracking, which is what reproducible retraining requires. Scheduler only triggers, an HTTP function has no pipeline semantics, and scheduled queries move data without model lifecycle support.
Google Cloud — Vertex AI PipelinesWhich mechanism creates a Cloud Monitoring metric from a pattern appearing in log entries?
- AA log-based metric✓
- BA log sink to BigQuery
- CA log bucket retention policy
- DAn exclusion filter
Correct answer: A — A log-based metric
Log-based metrics count or extract values from matching log entries and expose them as metrics for charts and alerts. A BigQuery sink exports for analysis, retention policies control storage duration, and exclusion filters discard entries.
Google Cloud — Log-based metricsA team needs to see which projects and services drive Google Cloud spend and forecast next month's cost. Which tool should be used?
- ACloud Billing reports and budgets, with billing data exported to BigQuery for deeper analysis✓
- BCloud Monitoring dashboards of CPU usage
- CCloud Logging queries on application logs
- DCloud Trace latency reports
Correct answer: A — Cloud Billing reports and budgets, with billing data exported to BigQuery for deeper analysis
Billing reports break spend down by project, service, and label, budgets forecast and alert, and BigQuery export supports custom analysis. Monitoring, Logging, and Trace describe system behaviour rather than cost.
Google Cloud — Cloud Billing reportsWhich service provides a central inventory and search of resources across an entire Google Cloud organisation?
- ACloud Asset Inventory✓
- BCloud Logging
- CCloud Trace
- DCloud Scheduler
Correct answer: A — Cloud Asset Inventory
Cloud Asset Inventory keeps a searchable record of resources and IAM policies across the organisation, including historical state. Logging stores log entries, Trace records request latency, and Scheduler runs cron jobs.
Google Cloud — Cloud Asset InventoryWhich mechanism prevents a project from being deleted accidentally while it holds production workloads?
- AA project lien✓
- BA firewall rule denying all egress
- CA label named do-not-delete
- DA Cloud Monitoring uptime check
Correct answer: A — A project lien
A lien blocks project deletion until it is explicitly removed, which is the intended guard against accidental teardown. Firewall rules govern traffic, labels are metadata with no enforcement, and uptime checks monitor availability.
Google Cloud — Prevent project deletion with liensA team wants deployments to GKE to be driven by the desired state stored in a Git repository, with automatic reconciliation of drift. Which approach describes this?
- AGitOps with a controller such as Config Sync continuously reconciling the cluster to the repository✓
- BEngineers running kubectl apply from their laptops after each merge
- CA nightly script that recreates the cluster from scratch
- DManually editing resources in the Cloud Console
Correct answer: A — GitOps with a controller such as Config Sync continuously reconciling the cluster to the repository
GitOps makes the repository the source of truth and a controller continuously reconciles the live cluster to it, so manual drift is corrected automatically. Laptop-driven applies, nightly rebuilds, and console edits all leave the cluster and the repository able to diverge.
Google Cloud — Config SyncA workload running on Compute Engine must call the Cloud Storage API without any long-lived key material. What should be configured?
- AAttach a service account to the instance and grant it the required IAM role✓
- BDownload a service account JSON key and place it on the instance
- CUse a shared user account password
- DMake the bucket publicly readable
Correct answer: A — Attach a service account to the instance and grant it the required IAM role
An attached service account lets the metadata server issue short-lived tokens, so no key file exists to leak or rotate. Downloaded JSON keys are exactly the long-lived credential being avoided, shared passwords destroy attribution, and public buckets expose data to everyone.
Google Cloud — Service accounts for workloadsWhich two characteristics define a blameless postmortem? (Select TWO.)
- AIt focuses on systemic causes rather than individual fault✓
- BIt produces concrete, owned action items with due dates✓
- CIt identifies which engineer should be disciplined
- DIt is kept private from the wider organisation
- EIt is only written for incidents that caused revenue loss
Correct answer: A, B — It focuses on systemic causes rather than individual fault · It produces concrete, owned action items with due dates
Blameless postmortems examine the conditions that allowed the failure and end with tracked remediation. Assigning blame suppresses honest reporting, keeping them private prevents shared learning, and restricting them to revenue-impacting incidents loses most of the learning opportunities.
Google — Postmortem cultureA team has exhausted its error budget halfway through the quarter. Which response is most consistent with SRE practice?
- APause feature releases and prioritise reliability work until the budget recovers✓
- BRaise the SLO target so the budget is no longer exhausted
- CStop measuring the SLI to avoid bad news
- DIncrease deployment frequency to fix issues faster
Correct answer: A — Pause feature releases and prioritise reliability work until the budget recovers
An exhausted error budget is the agreed signal to shift effort from features to reliability. Redefining the target to hide the problem, stopping measurement, and shipping faster without addressing the cause all defeat the purpose of the budget.
Google — Error budget policyWhich two practices ensure that only trusted container images can be deployed to a GKE cluster? (Select TWO.)
- ABinary Authorization with attestations required before deployment✓
- BVulnerability scanning in Artifact Registry with the pipeline gated on findings✓
- CAllowing images from any public registry to speed up builds
- DUsing the latest tag for all deployments
- EDisabling image signature checks to reduce build time
Correct answer: A, B — Binary Authorization with attestations required before deployment · Vulnerability scanning in Artifact Registry with the pipeline gated on findings
Binary Authorization enforces that only attested images run, and registry scanning with a pipeline gate keeps vulnerable images from ever being attested. Pulling from arbitrary public registries, relying on mutable latest tags, and disabling signature checks all weaken supply chain assurance.
Google Cloud — Binary AuthorizationA latency regression appeared after a deployment but only for 2% of requests. Which observability technique will most reliably reveal the cause?
- AExamine tail latency percentiles and sample traces from the slow requests✓
- BLook only at the mean response time
- CCheck total request count
- DReview the number of running pods
Correct answer: A — Examine tail latency percentiles and sample traces from the slow requests
A regression affecting a small fraction of traffic hides in the mean but shows clearly in high percentiles, and traces from those specific slow requests identify the responsible hop. Mean latency, request counts, and pod counts do not isolate a tail problem.
Google — Monitoring distributed systemsA retry storm from clients is amplifying an outage. Which two client-side changes reduce the amplification? (Select TWO.)
- AExponential backoff with jitter between retries✓
- BA cap on total retry attempts and a circuit breaker✓
- CImmediate retries in a tight loop
- DIncreasing the client timeout to several minutes
- ERemoving all error handling
Correct answer: A, B — Exponential backoff with jitter between retries · A cap on total retry attempts and a circuit breaker
Backoff with jitter spreads retry traffic out and a retry cap with a circuit breaker stops clients hammering a failing dependency. Tight retry loops and very long timeouts increase load and hold resources, and removing error handling makes failures worse.
Google — Addressing cascading failuresA company must ensure that no project in the organisation can create resources outside the europe-west1 and europe-west4 regions. Which mechanism enforces this?
- AAn organization policy constraint on resource locations applied at the organization node✓
- BAn IAM role granted to each project owner
- CA firewall rule in the shared VPC
- DA Cloud Monitoring alert on resource creation
Correct answer: A — An organization policy constraint on resource locations applied at the organization node
Organization policy constraints restrict what may be configured and inherit down the resource hierarchy, so a resource location constraint blocks creation elsewhere. IAM controls who may act rather than which regions are allowed, firewall rules govern network traffic, and alerts only notify after the fact.
Google Cloud — Resource location constraintA batch workload runs for two hours nightly and can be restarted if interrupted. Which Compute Engine option minimises cost?
- ASpot VMs✓
- BOn-demand VMs left running continuously
- CThree-year committed use discounts for peak capacity
- DSole-tenant nodes
Correct answer: A — Spot VMs
Interruption-tolerant batch work is the canonical Spot VM case and gives the deepest discount. Leaving on-demand instances running pays for 22 idle hours, long commitments suit steady baseline usage rather than short nightly jobs, and sole-tenant nodes are for isolation and licensing.
Google Cloud — Spot VMsWhich Cloud Build feature allows a build to run inside a customer VPC to reach private resources?
- APrivate pools✓
- BBuild triggers
- CSubstitutions
- DBuild timeouts
Correct answer: A — Private pools
Private pools give Cloud Build workers network access into a peered VPC so builds can reach private endpoints. Triggers start builds, substitutions parameterise them, and timeouts bound how long they may run.
Google Cloud — Cloud Build private poolsWhich Google Cloud service automatically groups and counts application exceptions and notifies on new error types?
- AError Reporting✓
- BCloud Trace
- CCloud Asset Inventory
- DCloud Deploy
Correct answer: A — Error Reporting
Error Reporting aggregates stack traces into distinct error groups, counts occurrences, and can notify when a new group appears. Trace covers latency, Asset Inventory tracks resources, and Cloud Deploy manages releases.
Google Cloud — Error ReportingWhich approach lets multiple service projects share a centrally managed network administered by a networking team?
- AShared VPC with a host project and attached service projects✓
- BVPC Network Peering between every pair of projects
- CA Cloud VPN tunnel per project
- DSeparate default networks in each project
Correct answer: A — Shared VPC with a host project and attached service projects
Shared VPC keeps subnets and firewall rules in a host project under the networking team's control while service projects deploy workloads into them. Full mesh peering scales badly, per-project VPN tunnels are unnecessary overhead, and separate default networks give no shared connectivity or central control.
Google Cloud — Shared VPC overviewWhich two are advantages of structured JSON logging over free-form text logs? (Select TWO.)
- AFields can be queried and filtered directly without regular expressions✓
- BSeverity and trace correlation fields are parsed automatically✓
- CStructured logs use less storage than any text log
- DStructured logs eliminate the need for metrics
- EStructured logs are automatically encrypted while text logs are not
Correct answer: A, B — Fields can be queried and filtered directly without regular expressions · Severity and trace correlation fields are parsed automatically
JSON payloads let you filter on named fields and let the platform pick up severity and trace identifiers for correlation. Structured logs are not inherently smaller, they do not replace metrics for aggregate signals, and encryption at rest applies to both.
Google Cloud — Structured loggingA BigQuery workload's cost is dominated by full-table scans in dashboards refreshed hourly. Which two changes reduce cost? (Select TWO.)
- APartition and cluster the tables so queries scan only the relevant data✓
- BMaterialise the dashboard aggregates into summary tables refreshed on a schedule✓
- CUse SELECT * in every dashboard query
- DIncrease the dashboard refresh frequency to every minute
- EDisable query result caching
Correct answer: A, B — Partition and cluster the tables so queries scan only the relevant data · Materialise the dashboard aggregates into summary tables refreshed on a schedule
Partitioning and clustering cut the bytes each query scans, and precomputed summary tables mean dashboards read a tiny aggregate rather than the raw data. Selecting all columns scans more, refreshing more often multiplies cost, and disabling caching forces repeated scans.
Google Cloud — Control BigQuery costsWhich approach provisions the foundational Google Cloud environment repeatably and keeps it under version control?
- ATerraform configurations stored in a repository and applied through an automated pipeline✓
- BManual configuration through the Cloud Console, documented in a wiki
- Cgcloud commands run ad hoc from engineers' laptops
- DCloud Shell scripts kept in each engineer's home directory
Correct answer: A — Terraform configurations stored in a repository and applied through an automated pipeline
Infrastructure as code applied through a pipeline gives review, history, and reproducibility, which is the whole point of bootstrapping an organisation. Console clicks, ad hoc commands, and personal scripts all produce environments no one can recreate or audit.
Google Cloud — Terraform on Google CloudReady to try it under exam conditions?
Reading answers is not the same as recalling them with a clock running. Take the same 55 questions as a timed mock exam — 120 minutes, no feedback until you submit, then a score broken down by exam domain so you know what to study.
Start the timed PCDE test →