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 Nov 19,2024.
- Exam Code: Professional Cloud DevOps Engineer
- Exam Name: Google Cloud Certified - Professional Cloud DevOps Engineer Exam
- Certification Provider: Google
- Latest update: Nov 19,2024
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.
- B . Contact the affected service owners and update them on the status of the incident.
- C . Establish a communication channel where incident responders and leads can communicate with each other.
- D . Start a postmortem, add incident information, circulate the draft internally, and ask internal stakeholders for input.
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% - B . MTTD:5
MTTR: 20
MTBF: 90
Impact: 33% - C . MTTD:5
MTTR: 10
MTBF: 90
Impact 50% - D . MTTD:5
MTTR: 20
MTBF: 90
Impact: 50%
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.
- B . Grant relevant team members the Project Viewer IAM role on all GCP production projects. Create Slackdriver workspaces inside each project.
- 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.
- 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.
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.
- 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.
- 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.
- 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.
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.
- B . Store secrets in a separate configuration file on Git. Provide select developers with access to the configuration file.
- 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.
- 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
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.
- B . Change the CI pipeline to push the artifacts to Container Registry instead of Docker Hub.
- C . Upload the configuration YAML file to Cloud Storage and use Error Reporting to identify and fix the issue.
- D . Run a Git compare between the previous and current Cloud Build Configuration files to find and fix the bug.
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.
- B . Configure Stackdriver Profiler to identify and visualize when the cache misses occur based on the logs.
- C . Create a logs-based metric in Stackdriver Logging and a dashboard for that metric in Stackdriver Monitoring.
- 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
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.
- B . Notify the development team that they will have to provide production support for the service.
- C . Identify recommended reliability improvements to the service to be completed before handover.
- D . Bring the service into production with no SLOs and build them when you have collected operational data.
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
- B . Instrumentation coded directly in the client
- C . Metrics exported from the application servers
- D . GKE health checks for your application servers
- E . A synthetic client that periodically sends simulated user requests
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.
- B . Supply the source control tag as a parameter within the image name.
- C . Use Cloud Build to include the release version tag in the application image.
- D . Use GCR digest versioning to match the image to the tag in source control.