Questions for the GOOGLE PROFESSIONAL CLOUD DEVOPS ENGINEER were updated on : Sep 01 ,2024
You are running an application on Compute Engine and collecting logs through Stackdriver. You discover that some
personally identifiable information (PII) is leaking into certain log entry fields. You want to prevent these fields from being
written in new log entries as quickly as possible. What should you do?
B
Explanation:
Reference https://cloud.google.com/logging/docs/agent/logging/configuration
You support an e-commerce application that runs on a large Google Kubernetes Engine (GKE) cluster deployed on-
premises and on Google Cloud Platform. The application consists of microservices that run in containers. You want to
identify containers that are using the most CPU and memory. What should you do?
B
You use a multiple step Cloud Build pipeline to build and deploy your application to Google Kubernetes Engine (GKE). You
want to integrate with a third-party monitoring platform by performing a HTTP POST of the build information to a webhook.
You want to minimize the development effort. What should you do?
D
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 altostratimages project can be deployed to the
cluster while minimizing development time. What should you do?
D
Your application images are built and pushed to Google Container Registry (GCR). You want to build an automated pipeline
that deploys the application when the image is updated while minimizing the development effort. What should you do?
D
You support the backend of a mobile phone game that runs on a Google Kubernetes Engine (GKE) cluster. The application
is serving HTTP requests from users. You need to implement a solution that will reduce the network cost. What should you
do?
C
Explanation:
Reference: https://cloud.google.com/solutions/prep-kubernetes-engine-for-prod
You support a service with a well-defined Service Level Objective (SLO). Over the previous 6 months, your service has
consistently met its SLO and customer satisfaction has been consistently high. Most of your services operations tasks are
automated and few repetitive tasks occur frequently. You want to optimize the balance between reliability and deployment
velocity while following site reliability engineering best practices. What should you do? (Choose two.)
D E
Explanation:
Reference: https://sre.google/sre-book/service-level-objectives/
You support a high-traffic web application with a microservice architecture. The home page of the application displays
multiple widgets containing content such as the current weather, stock prices, and news headlines. The main serving thread
makes a call to a dedicated microservice for each widget and then lays out the homepage for the user. The microservices
occasionally fail; when that happens, the serving thread serves the homepage with some missing content. Users of the
application are unhappy if this degraded mode occurs too frequently, but they would rather have some content served
instead of no content at all. You want to set a Service Level Objective (SLO) to ensure that the user experience does not
degrade too much. What Service Level Indicator (SLI) should you use to measure this?
D
Explanation:
Reference: https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring
You support a multi-region web service running on Google Kubernetes Engine (GKE) behind a Global HTTP/S Cloud Load
Balancer (CLB). For legacy reasons, user requests first go through a third-party Content Delivery Network (CDN), which then
routes traffic to the CLB. You have already implemented an availability Service Level Indicator (SLI) at the CLB level.
However, you want to increase coverage in case of a potential load balancer misconfiguration, CDN failure, or other global
networking catastrophe. Where should you measure this new SLI? (Choose two.)
C D
You currently store the virtual machine (VM) utilization logs in Stackdriver. You need to provide an easy-to-share interactive
VM utilization dashboard that is updated in real time and contains information aggregated on a quarterly basis. You want to
use Google Cloud Platform solutions. What should you do?
A
You use Spinnaker to deploy your application and have created a canary deployment stage in the pipeline. Your application
has an in-memory cache that loads objects at start time. You want to automate the comparison of the canary version against
the production version. How should you configure the canary analysis?
D
Explanation:
Reference: https://cloud.google.com/solutions/automated-canary-analysis-kubernetes-engine-spinnaker
You need to reduce the cost of virtual machines (VM) for your organization. After reviewing different options, you decide to
leverage preemptible VM instances. Which application is suitable for preemptible
VMs?
D
Explanation:
Reference: https://cloud.google.com/preemptible-vms
Some of your production services are running in Google Kubernetes Engine (GKE) in the eu-west-1 region. Your build
system runs in the us-west-1 region. You want to push the container images from your build system to a scalable registry to
maximize the bandwidth for transferring the images to the cluster. What should you do?
B
Explanation:
Reference: https://cloud.google.com/container-registry/docs/pushing-and-pulling
You are creating and assigning action items in a postmodern for an outage. The outage is over, but you need to address the
root causes. You want to ensure that your team handles the action items quickly and efficiently. How should you assign
owners and collaborators to action items?
A
You are managing the production deployment to a set of Google Kubernetes Engine (GKE) clusters. You want to make sure
only images which are successfully built by your trusted CI/CD pipeline are deployed to production. What should you do?
B
Explanation:
Reference: https://codelabs.developers.google.com/codelabs/cloud-builder-gke-continuous-deploy/index.html#1