Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Free practice questions with explanations

Google Professional-Cloud-DevOps-Engineer Dumps 2026 with Free Practice Questions and Answers

11 original Professional Cloud DevOps Engineer exam practice questions with answers and explanations.

Covers Bootstrapping And Maintaining A Google Cloud Organization, Applying Site Reliability Engineering Practices, Building And Implementing CI/CD Pipelines, Including Continuous Testing, For Application, Infrastructure, And Machine Learning Workloads, Implementing Observability Practices And Troubleshooting Issues and 2 more.

Question types: single answer, multiple answers, drag and drop, dropdown and order list. A new question is added every 15 days.

Professional-Cloud-DevOps-Engineer Practice Set Details

Vendor
Google
Exam Code
Professional-Cloud-DevOps-Engineer
Questions On This Page
11
Exam Topics Covered
6 of 5
Question Types
5
Newest Question
New Question
Every 15 days
Full Question Set
205
Certification
Google Cloud Certified
11 questions

Google Professional-Cloud-DevOps-Engineer Exam Questions and Answers by Topic

Bootstrapping and Maintaining a Google Cloud Organization

20% of the exam

3 practice questions on this topicWhat this topic covers

Question 1

Added

Multiple Answers

A company has separate development and production projects owned by different application teams. Both projects must use centrally managed egress controls and reach a shared set of internal services, while production data must remain in an approved region. Network administrators must manage subnets and firewalls, but application teams need to create project resources without gaining network-administration permissions. The organization also needs centralized visibility into logs across both projects. Which two architectural choices best meet these requirements? (Choose two.)

Correct answer: A, C

Shared VPC centralizes subnet and network control in the host project while allowing service projects and their teams to retain application resources without network-administration access. Aggregated sinks can route logs from multiple projects to a centralized logging destination for cross-project visibility. VPC peering does not provide the same centralized subnet administration and granting teams network admin violates separation of duties. A single project removes the requested project isolation. A VPC's global scope does not remove data-location requirements for regional workloads and stored data.

Question 2

Added

Order List

A platform team is introducing a production Cloud Deploy delivery pipeline for a service already built by Cloud Build. Production deployments require an approval gate, and the team wants each release to use the exact container image that passed testing rather than rebuilding it during promotion. The Artifact Registry repository and target clusters are already configured. Arrange the steps in the order they must be performed to create and promote a release safely.

Drag the steps into the correct order, or use the arrows.

  1. Push the tested image to Artifact Registry and record its immutable digest.
  2. Create a Cloud Deploy release that references the stored image digest.
  3. Configure the delivery pipeline and production target with the required approval gate.
  4. Build and test the container image in Cloud Build.
Correct answer:
  1. Configure the delivery pipeline and production target with the required approval gate.
  2. Build and test the container image in Cloud Build.
  3. Push the tested image to Artifact Registry and record its immutable digest.
  4. Create a Cloud Deploy release that references the stored image digest.

The image must exist before a release can reference it, so Cloud Build first builds and tests it, then stores it in Artifact Registry. Using the immutable digest makes the promoted artifact identical to the tested artifact. The pipeline and production target, including the approval gate, need to be configured before creating a release for that delivery pipeline. Rebuilding during promotion could produce a different artifact, and creating a release before its pipeline and image are ready would prevent the intended controlled promotion.

Question 3

Added

Drag And Drop

A company is selecting mechanisms for three separate platform needs: managing Kubernetes resources declaratively from Kubernetes manifests, maintaining reusable Terraform-based landing-zone blueprints, and distributing container images and language packages to build systems. Match each need to the Google Cloud tool that best fits it.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

Reconcile Kubernetes API objects from declarative manifests
Deploy reusable Terraform-based foundation blueprints
Store and distribute container images and language packages
Artifact Registry
Config Connector
Cloud Foundation Toolkit
Correct answer:
  • Reconcile Kubernetes API objects from declarative manifests → Config Connector
  • Deploy reusable Terraform-based foundation blueprints → Cloud Foundation Toolkit
  • Store and distribute container images and language packages → Artifact Registry

Config Connector represents and reconciles supported Google Cloud resources through Kubernetes-style custom resources, making it suitable for declarative management from a Kubernetes control plane. Cloud Foundation Toolkit provides reusable Terraform-based infrastructure blueprints for Google Cloud foundations. Artifact Registry stores and distributes container images and supported language packages. Artifact Registry is not an infrastructure reconciler, and the two infrastructure tools do not serve as the organization's package repository.

Applying Site Reliability Engineering Practices

18% of the exam

2 practice questions on this topicWhat this topic covers

Question 4

Added

Single Answer

A payment API has a 30-day availability SLO of 99.95%. After 20 days, its error budget is almost exhausted because a release increased the rate of failed requests. Product leadership wants to continue shipping weekly, but the SRE team must prevent further reliability degradation while preserving a path to resume normal releases. The service has a tested rollback procedure and canary deployments, and no regulatory requirement mandates a fixed release cadence. What is the best action?

Correct answer: A

An error-budget policy connects the SLO to release risk: when the budget is depleted, the team limits changes that could further harm reliability and prioritizes corrective work. This preserves a defined route back to normal velocity when reliability improves. Freezing every change, including emergency fixes, is unnecessarily absolute. A larger canary does not by itself address an exhausted budget or prevent further risk. Lowering the SLO to fit recent results weakens the reliability commitment rather than improving service behavior.

Question 5

Added

Single Answer

A customer-facing service runs on a regional managed instance group behind a global external Application Load Balancer. A newly deployed release causes elevated errors in one zone, while the other zones remain healthy. Instance autoscaling is already near its quota, and the service owner needs to reduce user impact immediately without changing the release or increasing regional capacity. Which action is best?

Correct answer: B

Setting the affected zone's backend capacity to zero removes its serving capacity, allowing the load balancer to direct requests to healthy zones without requiring more instances or changing the release. Raising the autoscaling target would not drain the failing zone and could reduce capacity elsewhere. A new regional group takes time and conflicts with the immediate response and capacity constraint. Disabling health checks would make the load balancer less able to avoid unhealthy backends, increasing rather than mitigating user impact.

Building and Implementing CI/CD Pipelines, Including Continuous Testing, for Application, Infrastructure, and Machine Learning Workloads

25% of the exam

2 practice questions on this topicWhat this topic covers

Question 6

Added

Multiple Answers

A regulated organization builds container images with Cloud Build and deploys them to GKE. Production builds must not use long-lived service account keys, production deployment permissions must be separate from build permissions, and reviewers must be able to trace which approved artifact was deployed. The organization already uses Artifact Registry and Cloud Deploy. Which two changes best satisfy the requirements? (Choose two.)

Correct answer: B, E

Workload Identity Federation provides short-lived credentials for an external identity without distributing long-lived service account keys, and narrowly scoped Artifact Registry permissions keep build access limited. Cloud Deploy can promote the already-built image by digest through a production target with an approval gate, separating deployment authorization from build permissions and preserving artifact identity. A stored JSON key remains a long-lived credential even when kept in Secret Manager. Cluster-admin for Cloud Build violates least privilege and bypasses the delivery control. Mutable tags can resolve to different images over time, weakening deployment traceability.

Question 7

Added

Single Answer

A machine-learning service is released to a GKE cluster using a canary deployment. The release pipeline currently promotes the canary when CPU utilization remains below a threshold, but users report a rise in prediction failures while CPU remains normal. The team needs an automated promotion signal that reflects the service's user-visible outcome and can be compared between canary and stable versions. What should the team do next?

Correct answer: C

A version-labeled application metric for prediction failures measures the outcome users experience and permits a direct comparison of canary and stable behavior. Gating promotion against the SLO makes the signal relevant to reliability rather than infrastructure load. CPU can remain normal while predictions fail, so a CPU-only comparison is not a suitable success metric. Adding replicas may not correct a defective model or release and does not establish a valid promotion criterion. Container starts indicate process health, not prediction quality.

Implementing Observability Practices and Troubleshooting Issues

25% of the exam

2 practice questions on this topicWhat this topic covers

Question 8

Added

Dropdown

A GKE application writes structured JSON logs to stdout, and the cluster's Ops Agent is configured to collect container logs. The team needs to find requests with a particular trace identifier in Logs Explorer while restricting results to this workload. Complete the Logging query with the correct resource and field names.

Choose the correct value for each blank.

resource.type = "" AND resource.labels.cluster_name = "payments-prod" AND jsonPayload. = "8fd2a"
Correct answer:

resource.type = "k8s_container" AND resource.labels.cluster_name = "payments-prod" AND jsonPayload.trace_id = "8fd2a"

Container logs collected from GKE use the monitored resource type k8s_container, and structured JSON fields are available under jsonPayload using their emitted field names. With the application emitting trace_id, the query can filter that field directly while the cluster label scopes results to the intended workload. k8s_pod is not the resource type used for container log entries. The alternatives for the payload field do not match the stated JSON key, so they would not select the desired requests.

Question 9

Added

Single Answer

An organization must retain Cloud Audit Logs for a fixed seven-year period, query them with SQL, and keep the archive independent of the source projects' ordinary log retention. The exported records must include logs from projects created under several folders, and the team wants to avoid custom export code. What is the best design?

Correct answer: C

An organization-level aggregated sink can collect matching audit logs across descendant projects, including projects added under the covered hierarchy, and route them to BigQuery for SQL analysis. Dataset governance and retention controls can be set independently of source-project log retention. Per-project sinks are difficult to keep complete as projects change and the stated default retention is insufficient. A saved query is not an archival export. Pub/Sub is a delivery mechanism rather than a seven-year queryable archive, and acknowledgments do not provide that retention guarantee.

Optimizing Performance and Cost

12% of the exam

1 practice question on this topicWhat this topic covers

Question 10

Added

Single Answer

A batch analytics service runs on Compute Engine VMs that can be interrupted and restarted from checkpoints. Jobs have flexible start times, but once a job begins the team wants to reduce interruption risk during that run. The current fleet uses on-demand VMs and the workload is a major part of the monthly compute bill. Which change is the most cost-effective while respecting the workload's restart behavior?

Correct answer: B

Spot VMs are discounted but can be preempted, which fits workers that checkpoint and can restart. Keeping a small on-demand component for coordination avoids making essential control tasks dependent on interruptible capacity. Committed-use discounts require a commitment and do not address interruption behavior. Sole-tenant nodes add isolation and cost without solving the stated need. Disabling checkpointing makes interruptions more expensive, and sustained-use discounts are not a substitute for choosing an interruptible capacity model.

Applying SRE Practices

1 practice question on this topic

Question 11

Added

Single Answer

A regional customer-facing API runs on a managed instance group behind a global external Application Load Balancer. During a seasonal surge, the group reaches its configured maximum size and latency breaches the SLO. The service can tolerate a short delay before new capacity is ready, but traffic must not be sent to instances that have not passed startup checks. The team has confirmed that the project has sufficient Compute Engine quota and that the configured maximum is an application-level setting, not a quota limit. Which change is the best next step to reduce recurrence while preserving health-based traffic routing?

Correct answer: D

Raising the managed instance group's maximum removes the confirmed application-level ceiling, allowing autoscaling to add capacity when its configured signals indicate demand. The load balancer's health checks continue to prevent unready instances from serving requests. Increasing backend timeout does not create capacity, and disabling autoscaling sacrifices responsiveness to variable demand. Lowering health-check thresholds does not accelerate instance startup and risks routing traffic before instances are reliably healthy.

More Google Practice Questions

Get the Full Google Professional-Cloud-DevOps-Engineer Dumps as PDF and Practice Test

11 questions are free on this page and the full set has 205. It comes as a PDF and an online practice test, with 90 days of free updates.