Google Professional Cloud DevOps Engineer Google Cloud Certified – Professional Cloud DevOps Engineer Exam Online Training
Google Professional Cloud DevOps Engineer Online Training
The questions for Professional Cloud DevOps Engineer were last updated at Feb 10,2025.
- Exam Code: Professional Cloud DevOps Engineer
- Exam Name: Google Cloud Certified - Professional Cloud DevOps Engineer Exam
- Certification Provider: Google
- Latest update: Feb 10,2025
Display the pulled logs in a custom dashboard.
You are performing a semiannual capacity planning exercise for your flagship service. You expect a service user growth rate of 10% month-over-month over the next six months. Your service is fully containerized and runs on Google Cloud Platform (GCP). using a Google Kubernetes Engine (GKE) Standard regional cluster on three zones with cluster autoscaler enabled. You currently consume about 30% of your total deployed CPU capacity, and you require resilience against the failure of a zone. You want to ensure that your users experience minimal negative impact as a result of this growth or as a result of zone failure, while avoiding unnecessary costs.
How should you prepare to handle the predicted growth?
- A . Verity the maximum node pool size, enable a horizontal pod autoscaler, and then perform a load test to verity your expected resource needs.
- B . Because you are deployed on GKE and are using a cluster autoscaler. your GKE cluster will scale automatically, regardless of growth rate.
- C . Because you are at only 30% utilization, you have significant headroom and you won’t need to add any additional capacity for this rate of growth.
- D . Proactively add 60% more node capacity to account for six months of 10% growth rate, and then perform a load test to make sure you have enough capacity.
You are managing an application that exposes an HTTP endpoint without using a load balancer. The latency of the HTTP responses is important for the user experience. You want to understand what HTTP latencies all of your users are experiencing. You use Stackdriver Monitoring.
What should you do?
- A . • In your application, create a metric with a metricKind set to DELTA and a valueType set to
DOUBLE.
• In Stackdriver’s Metrics Explorer, use a Slacked Bar graph to visualize the metric. - B . • In your application, create a metric with a metricKind set to CUMULATIVE and a valueType set to
DOUBLE.
• In Stackdriver’s Metrics Explorer, use a Line graph to visualize the metric. - C . • In your application, create a metric with a metricKind set to gauge and a valueType set to distribution.
• In Stackdriver’s Metrics Explorer, use a Heatmap graph to visualize the metric. - D . • In your application, create a metric with a metricKind. set toMETRlc_KIND_UNSPECIFIEDanda valueType set to INT64.
• In Stackdriver’s Metrics Explorer, use a Stacked Area graph to visualize the metric.
You are responsible for creating and modifying the Terraform templates that define your Infrastructure. Because two new engineers will also be working on the same code, you need to define a process and adopt a tool that will prevent you from overwriting each other’s code. You also want to ensure that you capture all updates in the latest version.
What should you do?
- A . • Store your code in a Git-based version control system.
• Establish a process that allows developers to merge their own changes at the end of each day.
• Package and upload code lo a versioned Cloud Storage bucket as the latest master version. - B . • Store your code in a Git-based version control system.
• Establish a process that includes code reviews by peers and unit testing to ensure integrity and functionality before integration of code.
• Establish a process where the fully integrated code in the repository becomes the latest master version. - C . • Store your code as text files in Google Drive in a defined folder structure that organizes the files.
• At the end of each day. confirm that all changes have been captured in the files within the folder structure.
• Rename the folder structure with a predefined naming convention that increments the version. - D . • Store your code as text files in Google Drive in a defined folder structure that organizes the files.
• At the end of each day, confirm that all changes have been captured in the files within the folder structure and create a new .zip archive with a predefined naming convention.
• Upload the .zip archive to a versioned Cloud Storage bucket and accept it as the latest version.
You are running an experiment to see whether your users like a new feature of a web application. Shortly after deploying the feature as a canary release, you receive a spike in the number of 500 errors sent to users, and your monitoring reports show increased latency. You want to quickly minimize the negative impact on users.
What should you do first?
- A . Roll back the experimental canary release.
- B . Start monitoring latency, traffic, errors, and saturation.
- C . Record data for the postmortem document of the incident.
- D . Trace the origin of 500 errors and the root cause of increased latency.
You need to run a business-critical workload on a fixed set of Compute Engine instances for several months. The workload is stable with the exact amount of resources allocated to it. You want to lower the costs for this workload without any performance implications.
What should you do?
- A . Purchase Committed Use Discounts.
- B . Migrate the instances to a Managed Instance Group.
- C . Convert the instances to preemptible virtual machines.
- D . Create an Unmanaged Instance Group for the instances used to run the workload.
You encountered a major service outage that affected all users of the service for multiple hours. After several hours of incident management, the service returned to normal, and user access was restored. You need to provide an incident summary to relevant stakeholders following the Site Reliability Engineering recommended practices.
What should you do first?
- A . Call individual stakeholders lo explain what happened.
- B . Develop a post-mortem to be distributed to stakeholders.
- C . Send the Incident State Document to all the stakeholders.
- D . Require the engineer responsible to write an apology email to all stakeholders.
Your company follows Site Reliability Engineering practices. You are the person in charge of Communications for a large, ongoing incident affecting your customer-facing applications. There is still no estimated time for a resolution of the outage. You are receiving emails from internal stakeholders who want updates on the outage, as well as emails from customers who want to know what is happening. You want to efficiently provide updates to everyone affected by the outage.
What should you do?
- A . Focus on responding to internal stakeholders at least every 30 minutes. Commit to "next update"
times. - B . Provide periodic updates to all stakeholders in a timely manner. Commit to a "next update" time in all communications.
- C . Delegate the responding to internal stakeholder emails to another member of the Incident Response Team. Focus on providing responses directly to customers.
- D . Provide all internal stakeholder emails to the Incident Commander, and allow them to manage internal communications. Focus on providing responses directly to customers.
Your team is designing a new application for deployment into Google Kubernetes Engine (GKE). You need to set up monitoring to collect and aggregate various application-level metrics in a centralized location. You want to use Google Cloud Platform services while minimizing the amount of work required to set up monitoring.
What should you do?
- A . Publish various metrics from the application directly to the Slackdriver Monitoring API, and then observe these custom metrics in Stackdriver.
- B . Install the Cloud Pub/Sub client libraries, push various metrics from the application to various topics, and then observe the aggregated metrics in Stackdriver.
- C . Install the OpenTelemetry client libraries in the application, configure Stackdriver as the export destination for the metrics, and then observe the application’s metrics in Stackdriver.
- D . Emit all metrics in the form of application-specific log messages, pass these messages from the containers to the Stackdriver logging collector, and then observe metrics in Stackdriver.
Your application services run in Google Kubernetes Engine (GKE). You want to make sure that only images from your centrally-managed Google Container Registry (GCR) image registry in the altostrat-images project can be deployed to the cluster while minimizing development time.
What should you do?
- A . Create a custom builder for Cloud Build that will only push images to gcr.io/altostrat-images.
- B . Use a Binary Authorization policy that includes the whitelist name pattern gcr.io/attostrat-images/.
- C . Add logic to the deployment pipeline to check that all manifests contain only images from gcr.io/altostrat-images.
- D . Add a tag to each image in gcr.io/altostrat-images and check that this tag is present when the image is deployed.