Google certification · Exam Professional-Cloud-DevOps-Engineer

Professional-Cloud-DevOps-Engineer Mock Exam Page 2

Google Cloud Certified - Professional Cloud DevOps Engineer Exam

Free Professional-Cloud-DevOps-Engineer mock exam questions 11–20, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Free Professional-Cloud-DevOps-Engineer questions

11–20 of 21 free
Question 11 Choose 1

You encounter a large number of outages in the production systems you support. You receive alerts for all the outages that wake you up at night. The alerts are due to unhealthy systems that are automatically restarted within a minute. You want to set up a process that would prevent staff burnout while following Site Reliability Engineering practices. What should you do?

Show answerHide answer

Correct answer: A

Eliminate unactionable alerts.

Question 12 Choose 1

Your company is developing applications that are deployed on Google Kubernetes Engine
(GKE). Each team manages a different application. You need to create the development
and production environments for each team, while minimizing costs. Different teams should
not be able to access other teams’ environments. What should you do?

Show answerHide answer

Correct answer: D

Create a Development and a Production GKE cluster in separate projects. In each
cluster, create a Kubernetes namespace per team, and then configure Kubernetes Rolebased
access control (RBAC) so that each team can only access its own namespace

Question 13 Choose 1

You need to define Service Level Objectives (SLOs) for a high-traffic multi-region web application. Customers expect the application to always be available and have fast response times. Customers are currently happy with the application performance and availability. Based on current measurement, you observe that the 90th percentile of latency is 120ms and the 95th percentile of latency is 275ms over a 28-day window. What latency SLO would you recommend to the team to publish?

Show answerHide answer

Correct answer: B

90th percentile – 120ms
95th percentile – 275ms

Question 14 Choose 1

You support a large service with a well-defined Service Level Objective (SLO). The development team deploys new releases of the service multiple times a week. If a major incident causes the service to miss its SLO, you want the development team to shift its focus from working on features to improving service reliability. What should you do before a major incident occurs?

Show answerHide answer

Correct answer: B

Negotiate with the product team to always prioritize service reliability over releasing new
features.

Question 15 Choose 1

Your company experiences bugs, outages, and slowness in its production systems. Developers use the production environment for new feature development and bug fixes. Configuration and experiments are done in the production environment, causing outages for users. Testers use the production environment for load testing, which often slows the
production systems. You need to redesign the environment to reduce the number of bugs
and outages in production and to enable testers to load test new features. What should you
do?

Show answerHide answer

Correct answer: D

Create a development environment for writing code and a test environment for
configurations, experiments, and load testing.

Question 16 Choose 1

You support an application that stores product information in cached memory. For every
cache miss, an entry is logged in Stackdriver Logging. You want to visualize how often a
cache miss happens over time. What should you do?

Show answerHide answer

Correct answer: C

Create a logs-based metric in Stackdriver Logging and a dashboard for that metric in Stackdriver Monitoring.

Explanation

Explanation: https://cloud.google.com/logging/docs/logs-based-metrics#counter-metric

Question 17 Choose 1

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?

Show answerHide answer

Correct answer: A

Publish various metrics from the application directly to the Slackdriver Monitoring API,
and then observe these custom metrics in Stackdriver.

Explanation

Explanation: https://cloud.google.com/kubernetes-engine/docs/concepts/custom-andexternal-
metrics#custom_metrics
https://github.com/GoogleCloudPlatform/k8s-stackdriver/blob/master/custom-metricsstackdriver-
adapter/README.md
Your application can report a custom metric to Cloud Monitoring. You can configure
Kubernetes to respond to these metrics and scale your workload automatically. For
example, you can scale your application based on metrics such as queries per second,
writes per second, network performance, latency when communicating with a different
application, or other metrics that make sense for your workload.
https://cloud.google.com/kubernetes-engine/docs/concepts/custom-and-external-metrics

Question 18 Choose 1

You manage an application that is writing logs to Stackdriver Logging. You need to give some team members the ability to export logs. What should you do?

Show answerHide answer

Correct answer: A

Grant the team members the IAM role of logging.configWriter on Cloud IAM.

Question 19 Choose 1

You are running an application on Compute Engine and collecting logs through Stackdriver.
You discover that some personally identifiable information (Pll) is leaking into certain log
entry fields. All Pll entries begin with the text userinfo. You want to capture these log entries
in a secure location for later review and prevent them from leaking to Stackdriver Logging.
What should you do?

Show answerHide answer

Correct answer: B

Use a Fluentd filter plugin with the Stackdriver Agent to remove log entries containing userinfo, and then copy the entries to a Cloud Storage bucket.

Explanation

Explanation: https://medium.com/google-cloud/fluentd-filter-plugin-for-google-cloud-dataloss-
prevention-api-42bbb1308e76

Question 20 Choose 1

You are working with a government agency that requires you to archive application logs for
seven years. You need to configure Stackdriver to export and store the logs while
minimizing costs of storage. What should you do?

Show answerHide answer

Correct answer: D

Create a sink in Stackdriver, name it, create a bucket on Cloud Storage for storing
archived logs, and then select the bucket as the log export destination.

Full mock exam

Sit the Professional-Cloud-DevOps-Engineer exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real Professional-Cloud-DevOps-Engineer exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full Professional-Cloud-DevOps-Engineer mock exam
  • 65questions per mock
  • 105 mintime limit
  • 72questions in the bank
  • Newmock on every attempt