ExamGecko
Home Home / Google / Professional Cloud DevOps Engineer

Google Professional Cloud DevOps Engineer Practice Test - Questions Answers, Page 4

Question list
Search
Search

List of questions

Search

Related questions











You are on-call for an infrastructure service that has a large number of dependent systems. You receive an alert indicating that the service is failing to serve most of its requests and all of its dependent systems with hundreds of thousands of users are affected. As part of your Site Reliability Engineering (SRE) incident management protocol, you declare yourself Incident Commander (IC) and pull in two experienced people from your team as Operations Lead (OLJ and Communications Lead (CL). What should you do next?

A.
Look for ways to mitigate user impact and deploy the mitigations to production.
A.
Look for ways to mitigate user impact and deploy the mitigations to production.
Answers
B.
Contact the affected service owners and update them on the status of the incident.
B.
Contact the affected service owners and update them on the status of the incident.
Answers
C.
Establish a communication channel where incident responders and leads can communicate with each other.
C.
Establish a communication channel where incident responders and leads can communicate with each other.
Answers
D.
Start a postmortem, add incident information, circulate the draft internally, and ask internal stakeholders for input.
D.
Start a postmortem, add incident information, circulate the draft internally, and ask internal stakeholders for input.
Answers
Suggested answer: A

Explanation:

https://sre.google/sre-book/managing-incidents/

Your product is currently deployed in three Google Cloud Platform (GCP) zones with your users divided between the zones. You can fail over from one zone to another, but it causes a 10-minute service disruption for the affected users. You typically experience a database failure once per quarter and can detect it within five minutes. You are cataloging the reliability risks of a new real-time chat feature for your product. You catalog the following information for each risk:

* Mean Time to Detect (MUD} in minutes

* Mean Time to Repair (MTTR) in minutes

* Mean Time Between Failure (MTBF) in days

* User Impact Percentage

The chat feature requires a new database system that takes twice as long to successfully fail over between zones. You want to account for the risk of the new database failing in one zone. What would be the values for the risk of database failover with the new system?

A.
MTTD: 5 MTTR: 10 MTBF: 90 Impact: 33%
A.
MTTD: 5 MTTR: 10 MTBF: 90 Impact: 33%
Answers
B.
MTTD:5 MTTR: 20 MTBF: 90 Impact: 33%
B.
MTTD:5 MTTR: 20 MTBF: 90 Impact: 33%
Answers
C.
MTTD:5 MTTR: 10 MTBF: 90 Impact 50%
C.
MTTD:5 MTTR: 10 MTBF: 90 Impact 50%
Answers
D.
MTTD:5 MTTR: 20 MTBF: 90 Impact: 50%
D.
MTTD:5 MTTR: 20 MTBF: 90 Impact: 50%
Answers
Suggested answer: B

Explanation:

https://www.atlassian.com/incident-management/kpis/common-metrics

https://linkedin.github.io/school-of-sre/

You are developing a strategy for monitoring your Google Cloud Platform (GCP) projects in production using Stackdriver Workspaces. One of the requirements is to be able to quickly identify and react to production environment issues without false alerts from development and staging projects. You want to ensure that you adhere to the principle of least privilege when providing relevant team members with access to Stackdriver Workspaces. What should you do?

A.
Grant relevant team members read access to all GCP production projects. Create Stackdriver workspaces inside each project.
A.
Grant relevant team members read access to all GCP production projects. Create Stackdriver workspaces inside each project.
Answers
B.
Grant relevant team members the Project Viewer IAM role on all GCP production projects. Create Slackdriver workspaces inside each project.
B.
Grant relevant team members the Project Viewer IAM role on all GCP production projects. Create Slackdriver workspaces inside each project.
Answers
C.
Choose an existing GCP production project to host the monitoring workspace. Attach the production projects to this workspace. Grant relevant team members read access to the Stackdriver Workspace.
C.
Choose an existing GCP production project to host the monitoring workspace. Attach the production projects to this workspace. Grant relevant team members read access to the Stackdriver Workspace.
Answers
D.
Create a new GCP monitoring project, and create a Stackdriver Workspace inside it. Attach the production projects to this workspace. Grant relevant team members read access to the Stackdriver Workspace.
D.
Create a new GCP monitoring project, and create a Stackdriver Workspace inside it. Attach the production projects to this workspace. Grant relevant team members read access to the Stackdriver Workspace.
Answers
Suggested answer: D

Explanation:

'A Project can host many Projects and appear in many Projects, but it can only be used as the scoping project once. We recommend that you create a new Project for the purpose of having multiple Projects in the same scope.'

You support an application running on GCP and want to configure SMS notifications to your team for the most critical alerts in Stackdriver Monitoring. You have already identified the alerting policies you want to configure this for. What should you do?

A.
Download and configure a third-party integration between Stackdriver Monitoring and an SMS gateway. Ensure that your team members add their SMS/phone numbers to the external tool.
A.
Download and configure a third-party integration between Stackdriver Monitoring and an SMS gateway. Ensure that your team members add their SMS/phone numbers to the external tool.
Answers
B.
Select the Webhook notifications option for each alerting policy, and configure it to use a third-party integration tool. Ensure that your team members add their SMS/phone numbers to the external tool.
B.
Select the Webhook notifications option for each alerting policy, and configure it to use a third-party integration tool. Ensure that your team members add their SMS/phone numbers to the external tool.
Answers
C.
Ensure that your team members set their SMS/phone numbers in their Stackdriver Profile. Select the SMS notification option for each alerting policy and then select the appropriate SMS/phone numbers from the list.
C.
Ensure that your team members set their SMS/phone numbers in their Stackdriver Profile. Select the SMS notification option for each alerting policy and then select the appropriate SMS/phone numbers from the list.
Answers
D.
Configure a Slack notification for each alerting policy. Set up a Slack-to-SMS integration to send SMS messages when Slack messages are received. Ensure that your team members add their SMS/phone numbers to the external integration.
D.
Configure a Slack notification for each alerting policy. Set up a Slack-to-SMS integration to send SMS messages when Slack messages are received. Ensure that your team members add their SMS/phone numbers to the external integration.
Answers
Suggested answer: C

Explanation:

https://cloud.google.com/monitoring/support/notification-options#creating_channels

To configure SMS notifications, do the following:

In the SMS section, click Add new and follow the instructions. Click Save. When you set up your alerting policy, select the SMS notification type and choose a verified phone number from the list.

Your application artifacts are being built and deployed via a CI/CD pipeline. You want the CI/CD pipeline to securely access application secrets. You also want to more easily rotate secrets in case of a security breach. What should you do?

A.
Prompt developers for secrets at build time. Instruct developers to not store secrets at rest.
A.
Prompt developers for secrets at build time. Instruct developers to not store secrets at rest.
Answers
B.
Store secrets in a separate configuration file on Git. Provide select developers with access to the configuration file.
B.
Store secrets in a separate configuration file on Git. Provide select developers with access to the configuration file.
Answers
C.
Store secrets in Cloud Storage encrypted with a key from Cloud KMS. Provide the CI/CD pipeline with access to Cloud KMS via IAM.
C.
Store secrets in Cloud Storage encrypted with a key from Cloud KMS. Provide the CI/CD pipeline with access to Cloud KMS via IAM.
Answers
D.
Encrypt the secrets and store them in the source code repository. Store a decryption key in a separate repository and grant your pipeline access to it
D.
Encrypt the secrets and store them in the source code repository. Store a decryption key in a separate repository and grant your pipeline access to it
Answers
Suggested answer: C

You have a CI/CD pipeline that uses Cloud Build to build new Docker images and push them to Docker Hub. You use Git for code versioning. After making a change in the Cloud Build YAML configuration, you notice that no new artifacts are being built by the pipeline. You need to resolve the issue following Site Reliability Engineering practices. What should you do?

A.
Disable the CI pipeline and revert to manually building and pushing the artifacts.
A.
Disable the CI pipeline and revert to manually building and pushing the artifacts.
Answers
B.
Change the CI pipeline to push the artifacts to Container Registry instead of Docker Hub.
B.
Change the CI pipeline to push the artifacts to Container Registry instead of Docker Hub.
Answers
C.
Upload the configuration YAML file to Cloud Storage and use Error Reporting to identify and fix the issue.
C.
Upload the configuration YAML file to Cloud Storage and use Error Reporting to identify and fix the issue.
Answers
D.
Run a Git compare between the previous and current Cloud Build Configuration files to find and fix the bug.
D.
Run a Git compare between the previous and current Cloud Build Configuration files to find and fix the bug.
Answers
Suggested answer: D

Explanation:

'After making a change in the Cloud Build YAML configuration, you notice that no new artifacts are being built by the pipeline'- means something wrong on the recent change not with the image registry.

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?

A.
Link Stackdriver Logging as a source in Google Data Studio. Filler (he logs on the cache misses.
A.
Link Stackdriver Logging as a source in Google Data Studio. Filler (he logs on the cache misses.
Answers
B.
Configure Stackdriver Profiler to identify and visualize when the cache misses occur based on the logs.
B.
Configure Stackdriver Profiler to identify and visualize when the cache misses occur based on the logs.
Answers
C.
Create a logs-based metric in Stackdriver Logging and a dashboard for that metric in Stackdriver Monitoring.
C.
Create a logs-based metric in Stackdriver Logging and a dashboard for that metric in Stackdriver Monitoring.
Answers
D.
Configure BigOuery as a sink for Stackdriver Logging. Create a scheduled query to filter the cache miss logs and write them to a separate table
D.
Configure BigOuery as a sink for Stackdriver Logging. Create a scheduled query to filter the cache miss logs and write them to a separate table
Answers
Suggested answer: C

Explanation:

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

You are part of an organization that follows SRE practices and principles. You are taking over the management of a new service from the Development Team, and you conduct a Production Readiness Review (PRR). After the PRR analysis phase, you determine that the service cannot currently meet its Service Level Objectives (SLOs). You want to ensure that the service can meet its SLOs in production. What should you do next?

A.
Adjust the SLO targets to be achievable by the service so you can bring it into production.
A.
Adjust the SLO targets to be achievable by the service so you can bring it into production.
Answers
B.
Notify the development team that they will have to provide production support for the service.
B.
Notify the development team that they will have to provide production support for the service.
Answers
C.
Identify recommended reliability improvements to the service to be completed before handover.
C.
Identify recommended reliability improvements to the service to be completed before handover.
Answers
D.
Bring the service into production with no SLOs and build them when you have collected operational data.
D.
Bring the service into production with no SLOs and build them when you have collected operational data.
Answers
Suggested answer: C

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 2 answers

A.
Your application servers' logs
A.
Your application servers' logs
Answers
B.
Instrumentation coded directly in the client
B.
Instrumentation coded directly in the client
Answers
C.
Metrics exported from the application servers
C.
Metrics exported from the application servers
Answers
D.
GKE health checks for your application servers
D.
GKE health checks for your application servers
Answers
E.
A synthetic client that periodically sends simulated user requests
E.
A synthetic client that periodically sends simulated user requests
Answers
Suggested answer: B, E

Your application images are built using Cloud Build and pushed to Google Container Registry (GCR). You want to be able to specify a particular version of your application for deployment based on the release version tagged in source control. What should you do when you push the image?

A.
Reference the image digest in the source control tag.
A.
Reference the image digest in the source control tag.
Answers
B.
Supply the source control tag as a parameter within the image name.
B.
Supply the source control tag as a parameter within the image name.
Answers
C.
Use Cloud Build to include the release version tag in the application image.
C.
Use Cloud Build to include the release version tag in the application image.
Answers
D.
Use GCR digest versioning to match the image to the tag in source control.
D.
Use GCR digest versioning to match the image to the tag in source control.
Answers
Suggested answer: B

Explanation:

https://cloud.google.com/container-registry/docs/pushing-and-pulling

Total 166 questions
Go to page: of 17