Exam Information
Free practice questions with explanations
Google Professional-Cloud-DevOps-Engineer Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 12
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Applying site reliability engineering practices
A payments team runs a checkout API on Cloud Run in us-central1. Their SLO is 99.9% of requests succeeding over a rolling 28-day window, and the SLI is measured from the load balancer's request logs. Over the last week they have consumed 85% of their error budget, mostly from a bad release that caused 5xx responses for 40 minutes. The product manager wants to ship a risky pricing feature this sprint. The SRE lead wants a decision rule that is objective and enforceable. Which action best applies error budget policy?
Correct Answer: AExplanationAn error budget policy exists precisely to turn a consumed budget into a concrete change-freeze or reliability-first rule, and the 85 percent consumption over a 28-day window justifies pausing risky launches. Raising the SLO to 99.95 percent simply moves the goalposts and does not reflect user-facing reliability, so it is a common anti-pattern. Excluding application-level 5xx responses contradicts the SLI, which was defined from load balancer logs and therefore counts them. Increasing maximum instances may not fix a bad release, and it does nothing to restore the budget that has already been spent.
-
2 Question 2 Single choice Bootstrapping and maintaining a Google Cloud organization
A healthcare company is building a new analytics platform under an existing organization node. The compliance team requires that all data-bearing resources be created only in the europe-west3 and europe-west4 regions, and that no project can create resources outside them. Several application teams have already been granted Project Creator and Editor roles at the folder level. The platform team wants a preventive control that applies to all current and future projects, without requiring changes to each team's Terraform code. Which approach best meets the requirement?
Correct Answer: BExplanationThe gcp.resourceLocations organization policy is the preventive control designed for data residency, and when set at the organization node it inherits to all folders and projects, including future ones. IAM deny policies govern permissions rather than resource locations, so they cannot express a regional restriction that way. A reactive Cloud Function deletes resources after the fact, which violates the preventive requirement and risks data already being created. VPC Service Controls restricts data exfiltration across perimeters and does not stop resource creation in other regions.
-
3 Question 3 Single choice Building and implementing CI/CD pipelines, including continuous testing, for application, infrastructure, and machine learning workloads
A retail company deploys a containerised recommendation service to GKE using Cloud Deploy with a production target that requires manual approval. The team wants to adopt canary releases that shift 10 percent of traffic to the new revision, evaluate a success metric from Cloud Monitoring for 30 minutes, and then either proceed or roll back automatically. The pipeline must also remain auditable, with an approval record available for compliance review. Which configuration best meets these requirements?
Correct Answer: CExplanationCloud Deploy supports canary strategies with percentage-based traffic splitting and a verify step that can gate promotion, and approvals on target types are recorded for audit. A rolling update does not split a fixed percentage of traffic for evaluation, and readiness probes only confirm pod health. A manual blue/green switch lacks the automated canary progression and the audit trail the team needs. Applying directly from Cloud Build bypasses the managed delivery pipeline and its approval records, so the approval happens outside the deployment system where it cannot be enforced.
-
4 Question 4 Single choice Implementing observability practices and troubleshooting issues
A SaaS company routes all application logs from several projects to a central logging bucket. Costs have risen sharply because a chatty batch service writes millions of DEBUG entries per hour, most of which are never queried. The compliance team requires that all ERROR and above entries from every project be retained for 400 days and be queryable in Logs Explorer. Debug entries from the batch service may be discarded after 3 days. Which change best reduces cost while meeting the requirements?
Correct Answer: CExplanationLog exclusion filters on the _Default sink stop ingestion of matching entries, which removes the cost of storing DEBUG records the business never queries, and bucket retention can be set to 400 days to satisfy compliance. Exporting to Pub/Sub and Cloud Storage does not reduce ingestion charges for the Logging bucket and adds operational overhead. Disabling the Ops Agent would also remove telemetry the team relies on, and it is not the mechanism that controls which severities are stored. Reducing retention to 30 days breaks the explicit 400-day compliance requirement.
-
5 Question 5 Single choice Optimizing performance and cost
A media company runs a stateless video transcoding batch on Compute Engine managed instance groups. The jobs are fault tolerant and can restart from checkpoints, but the workload must finish within a nightly window and the team wants the lowest compute cost. Their baseline capacity is steady for 12 months and is currently covered by on-demand instances, which cost more than the company wants to keep paying. Which combination of purchasing options best optimises cost without violating these constraints? (Choose one.)
Correct Answer: CExplanationCommitted-use discounts give a fixed discount for steady baseline usage, and Spot VMs offer large savings for fault-tolerant, restartable batch work. Sustained-use discounts apply automatically but are smaller than committed-use discounts and do not change the cost of the burst, which stays at on-demand price. Committing to peak capacity for three years wastes money because the peak is not steady. Running everything on Spot VMs with autoscaling disabled removes elasticity and still exposes the workload to preemption, so it does not meet the nightly window reliably.
-
6 Question 6 Single choice Applying site reliability engineering practices
A fintech team operates an order service on GKE Autopilot, exposed through a global external Application Load Balancer. Their availability SLI is the proportion of valid requests returning non-5xx responses. Over the past quarter, incidents have been caused by one specific backend zone failing and by overload during market open. Leadership asks the SRE team to justify whether moving from a 99.9 percent to a 99.99 percent availability target is worthwhile. Which analysis most directly supports that decision?
Correct Answer: CExplanationEach additional nine shrinks the error budget by an order of magnitude, while the engineering and infrastructure cost to achieve it rises steeply, so the decision should weigh that cost against the business impact of downtime. Choosing 99.99 percent simply because it sounds better ignores the opportunity cost that SRE practice explicitly requires you to consider. Latency percentiles measure a different SLI and cannot be substituted for an availability target. A single probe region uptime check does not reflect what real users in other regions experience, so it is a weak SLI.
-
7 Question 7 Single choice Bootstrapping and maintaining a Google Cloud organization
A company uses a Shared VPC host project with two service projects, one for payments and one for reporting. The network team has recently granted the reporting team's service account the Compute Network Admin role on the host project so they can create subnets for a new analytics workload. An audit reveals the reporting service account can now modify firewall rules that protect payments workloads. The security lead asks for the most precise fix that keeps the reporting team able to create subnets in their own designated subnet only. What should be done?
Correct Answer: CExplanationCompute Network User granted on a single subnet allows a service to use that subnet without altering network-wide configuration, and the scope can be narrowed to the exact subnet needed. Adding an IAM condition on the broad Compute Network Admin role does not cleanly prevent firewall edits across the host project, so it is an unreliable control. Creating a separate host project is an architectural change that does not follow from a permissions problem and fragments shared networking. Compute Network Viewer grants read access, which does not address the need for subnet creation and does nothing to remove the excessive modify rights already granted.
-
8 Question 8 Multiple choice Building and implementing CI/CD pipelines, including continuous testing, for application, infrastructure, and machine learning workloads
A team manages a Cloud Run service whose container requires a database password and a third-party API key. Security policy forbids storing either value in the container image, the Cloud Build configuration, or source control. The pipeline must still deploy automatically from Cloud Build on every merge to main. Which TWO actions together meet these requirements? (Choose two.)
Correct Answer: B, DExplanationSecret Manager keeps the values outside the image and source, and the runtime service account needs Secret Accessor on those secrets to read them. Referencing the secrets in the Cloud Run revision injects them at runtime, which is the runtime injection pattern the policy requires. Build-time substitution and build arguments both place secrets into build artifacts or the image, which violates the policy. Committing KMS ciphertext to the repository still stores secret material in source control, so it fails the stated constraint.
-
9 Question 9 Single choice Implementing observability practices and troubleshooting issues
A support team reports intermittent 503 errors from a Cloud Run service, but application logs show no exceptions. The service sits behind an external Application Load Balancer with serverless NEG. The on-call engineer wants to determine whether requests are being rejected before reaching the container and wants the query to be reproducible for the incident record. Which approach is the most effective first step?
Correct Answer: CExplanationLoad balancer request logs record the response code and the backend the load balancer selected, so filtering on 503 shows whether the rejection happened at the edge, and matching the trace identifier to Cloud Run request logs confirms whether the container received the request. VPC Flow Logs capture network flows rather than HTTP status codes, so they cannot identify a 503 origin. Restarting the service discards evidence and is not a diagnostic step. A stderr count metric cannot detect 503s that never reached the container because the container logs no exceptions.
-
10 Question 10 Single choice Applying site reliability engineering practices
A team runs a GKE Standard cluster with a regional node pool hosting a stateful-free internal API. During a planned node pool upgrade, a deployment rollout coincides with a sudden 40 percent spike in traffic and latency SLO breaches begin. The incident commander needs to restore the latency SLI quickly, without waiting for the upgrade or code changes. Which action is the most appropriate immediate mitigation?
Correct Answer: CExplanationPausing the upgrade removes an active source of disruption, and adding capacity through node pool scaling or a higher HPA ceiling directly addresses the traffic spike, which is the standard mitigation sequence in incident response. Continuing the upgrade during a traffic surge compounds reduced capacity, and the data-loss rationale does not apply to a stateless API. Recreating the cluster is slow and destructive during an incident. Lowering the SLO after the fact falsifies the reliability record rather than mitigating user impact.
-
11 Question 11 Single choice Bootstrapping and maintaining a Google Cloud organization
A platform team manages several environments with Terraform, using a Cloud Build pipeline and a shared Terraform state bucket. A recent change to a production VPC was applied by an engineer running Terraform locally, bypassing the pipeline, and it conflicted with the pipeline's next run. The team wants all production infrastructure changes to flow through reviewed, auditable GitOps-style pipelines and wants to prevent direct console or local changes to production going forward. Which combination best achieves this?
Correct Answer: CExplanationLimiting production write permissions to the pipeline service account makes the pipeline the only path to change production, and gating applies on approved pull requests from main creates a reviewable, auditable change history. Announcing changes in chat is a social control that the pipeline cannot enforce. State bucket versioning helps recovery but does not prevent out-of-band changes. Granting Owner to all engineers maximises the risk that the bypass the team wants to eliminate.
-
12 Question 12 Single choice Optimizing performance and cost
A logistics company runs a Cloud Run service that handles bursty traffic from partner integrations. Monitoring shows that most instances sit idle with CPU allocated only during requests, and the monthly bill is dominated by instance time rather than requests. The team has a 50 ms p95 latency requirement for cold-sensitive endpoints and wants to reduce cost without breaking that target. Which change best optimises cost while preserving the latency requirement?
Correct Answer: CExplanationSetting a small minimum instance count on the latency-sensitive service keeps a warm instance available, which avoids cold start latency at a bounded cost, and leaving other services at zero minimum keeps idle cost low. Raising minimum instances to 20 everywhere pays for idle capacity across services that do not need it. Moving to Compute Engine adds operational burden and loses the scale-to-zero benefit that suits bursty traffic. Enabling CPU always allocated on every service increases cost for idle time, which is the cost driver the team is trying to reduce.
These are 12 of the 205 questions in the full Professional-Cloud-DevOps-Engineer pack.
Get All 205 QuestionsGet all 205 questions & answers
Full access options for Google Professional-Cloud-DevOps-Engineer
Self-study
PDF Version
- 205 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 205 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 205 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the Professional-Cloud-DevOps-Engineer Exam (Professional Cloud DevOps Engineer) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.