Practice Free Professional Cloud DevOps Engineer Exam Online Questions
Your application’s performance in Google Cloud has degraded since the last release. You suspect that downstream dependencies might be causing some requests to take longer to complete. You need to investigate the issue with your application to determine the cause.
What should you do?
- A . Configure Cloud Trace in your application.
- B . Configure Error Reporting in your application.
- C . Configure Cloud Profiler in your application.
- D . Configure Google Cloud Managed Service for Prometheus in your application.
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.
You need to enforce several constraint templates across your Google Kubernetes Engine (GKE) clusters. The constraints include policy parameters, such as restricting the Kubernetes API. You must ensure that the policy parameters are stored in a GitHub repository and automatically applied when changes occur.
What should you do?
- A . Set up a GitHub action to trigger Cloud Build when there is a parameter change. In Cloud Build, run a gcloud CLI command to apply the change.
- B . When there is a change in GitHub, use a webhook to send a request to Cloud Service Mesh, and apply the change.
- C . Configure Config Sync with the GitHub repository. When there is a change in the repository, use Config Sync to apply the change.
- D . Configure Config Connector with the GitHub repository. When there is a change in the repository, use Config Connector to apply the change.
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.
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: 5MTTR: 10MTBF: 90Impact: 33%
- B . MTTD:5MTTR: 20MTBF: 90Impact: 33%
- C . MTTD:5MTTR: 10MTBF: 90Impact 50%
- D . MTTD:5MTTR: 20MTBF: 90Impact: 50%
You are writing a postmortem for an incident that severely affected users. You want to prevent similar incidents in the future.
Which two of the following sections should you include in the postmortem? (Choose two.)
- A . An explanation of the root cause of the incident
- B . A list of employees responsible for causing the incident
- C . A list of action items to prevent a recurrence of the incident
- D . Your opinion of the incident’s severity compared to past incidents
- E . Copies of the design documents for all the services impacted by the incident
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.
You recently migrated an ecommerce application to Google Cloud. You now need to prepare the application for the upcoming peak traffic season. You want to follow Google-recommended practices.
What should you do first to prepare for the busy season?
- A . Migrate the application to Cloud Run, and use autoscaling.
- B . Load test the application to profile its performance for scaling.
- C . Create a Terraform configuration for the application’s underlying infrastructure to quickly deploy to additional regions.
- D . Pre-provision the additional compute power that was used last season, and expect growth.
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?
- A . Grant the team members the IAM role of logging.config Writer on Cloud IAM.
- B . Configure Access Context Manager to allow only these members to export logs.
- C . Create and grant a custom IAM role with the permissions logging.sinks.list and logging.sink.get.
- D . Create an Organizational Policy in Cloud IAM to allow only these members to create log exports.
You are running a web application deployed to a Compute Engine managed instance group Ops Agent is installed on all instances. You recently noticed suspicious activity from a specific IP address. You need to configure Cloud Monitoring to view the number of requests from that specific IP address with minimal operational overhead.
What should you do?
- A . Configure the Ops Agent with a logging receiver Create a logs-based metric
- B . Create a script to scrape the web server log Export the IP address request metrics to the Cloud Monitoring API
- C . Update the application to export the IP address request metrics to the Cloud Monitoring API
- D . Configure the Ops Agent with a metrics receiver