Practice Free Professional Cloud DevOps Engineer Exam Online Questions
Your team is running microservices in Google Kubernetes Engine (GKE) You want to detect consumption of an error budget to protect customers and define release policies.
What should you do?
- A . Create SLIs from metrics Enable Alert Policies if the services do not pass
- B . Use the metrics from Anthos Service Mesh to measure the health of the microservices
- C . Create a SLO Create an Alert Policy on select_slo_bum_rate
- D . Create a SLO and configure uptime checks for your services Enable Alert Policies if the services do not pass
You support a web application that is hosted on Compute Engine. The application provides a booking service for thousands of users. Shortly after the release of a new feature, your monitoring dashboard shows that all users are experiencing latency at login. You want to mitigate the impact of the incident on the users of your service.
What should you do first?
- A . Roll back the recent release.
- B . Review the Stackdriver monitoring.
- C . Upsize the virtual machines running the login services.
- D . Deploy a new release to see whether it fixes the problem.
You are running an application on Compute Engine and collecting logs through Stack driver. You discover that some personally identifiable information (Pll) is leaking into certain log entry fields. All Pll entries begin with the text user info. You want to capture these log entries in a secure location for later review and prevent them from leaking to Stack driver Logging.
What should you do?
- A . Create a basic log filter matching userinfo, and then configure a log export in the Stackdriver console with Cloud Storage as a sink.
- 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.
- C . Create an advanced log filter matching userinfo, configure a log export in the Stackdriver console with Cloud Storage as a sink, and then configure a tog exclusion with userinfo as a filter.
- D . Use a Fluentd filter plugin with the Stackdriver Agent to remove log entries containing userinfo, create an advanced log filter matching userinfo, and then configure a log export in the Stackdriver console with Cloud Storage as a sink.
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?
- A . 90th percentile C 100ms95th percentile C 250ms
- B . 90th percentile C 120ms95th percentile C 275ms
- C . 90th percentile C 150ms95th percentile C 300ms
- D . 90th percentile C 250ms95th percentile C 400ms
You are developing the deployment and testing strategies for your CI/CD pipeline in Google Cloud
You must be able to
• Reduce the complexity of release deployments and minimize the duration of deployment rollbacks
• Test real production traffic with a gradual increase in the number of affected users
You want to select a deployment and testing strategy that meets your requirements.
What should you do?
- A . Recreate deployment and canary testing
- B . Blue/green deployment and canary testing
- C . Rolling update deployment and A/B testing
- D . Rolling update deployment and shadow testing
As a Site Reliability Engineer, you support an application written in GO that runs on Google Kubernetes Engine (GKE) in production. After releasing a new version Of the application, you notice the application runs for about 15 minutes and then restarts. You decide to add Cloud Profiler to your application and now notice that the heap usage grows constantly until the application restarts.
What should you do?
- A . Add high memory compute nodes to the cluster.
- B . Increase the memory limit in the application deployment.
- C . Add Cloud Trace to the application, and redeploy.
- D . Increase the CPU limit in the application deployment.
Your organization is using Helm to package containerized applications Your applications reference both public and private charts Your security team flagged that using a public Helm repository as a dependency is a risk You want to manage all charts uniformly, with native access control and VPC Service Controls.
What should you do?
- A . Store public and private charts in OCI format by using Artifact Registry
- B . Store public and private charts by using GitHub Enterprise with Google Workspace as the identity provider
- C . Store public and private charts by using Git repository Configure Cloud Build to synchronize contents of the repository into a Cloud Storage bucket Connect Helm to the bucket by using https://[bucket].srorage.googleapis.com/[holnchart] as the Helm repository
- D . Configure a Helm chart repository server to run in Google Kubernetes Engine (GKE) with Cloud Storage bucket as the storage backend
You are the on-call Site Reliability Engineer for a microservice that is deployed to a Google Kubernetes Engine (GKE) Autopilot cluster. Your company runs an online store that publishes order messages to Pub/Sub and a microservice receives these messages and updates stock information in the warehousing system. A sales event caused an increase in orders, and the stock information is not being updated quickly enough. This is causing a large number of orders to be accepted for products that are out of stock.
You check the metrics for the microservice and compare them to typical levels.
You need to ensure that the warehouse system accurately reflects product inventory at the time orders are placed and minimize the impact on customers.
What should you do?
- A . Decrease the acknowledgment deadline on the subscription
- B . Add a virtual queue to the online store that allows typical traffic levels
- C . Increase the number of Pod replicas
- D . Increase the Pod CPU and memory limits
Your company is creating a new cloud-native Google Cloud organization. You expect this Google Cloud organization to first be used by a small number of departments and then expand to be used by a large number of departments. Each department has a large number of applications varying in size. You need to design the VPC network architecture. Your solution must minimize the amount of management required while remaining flexible enough for development teams to quickly adapt to their evolving needs.
What should you do?
- A . Create a separate VPC for each department and connect the VPCs with VPC Network Peering.
- B . Create a separate VPC for each department and use Private Service Connect to connect the VPCs.
- C . Create a separate VPC for each application and use Private Service Connect to connect the VPCs.
- D . Create a separate VPC for each department and connect the VPCs with Cloud VPN.
Your company is creating a new cloud-native Google Cloud organization. You expect this Google Cloud organization to first be used by a small number of departments and then expand to be used by a large number of departments. Each department has a large number of applications varying in size. You need to design the VPC network architecture. Your solution must minimize the amount of management required while remaining flexible enough for development teams to quickly adapt to their evolving needs.
What should you do?
- A . Create a separate VPC for each department and connect the VPCs with VPC Network Peering.
- B . Create a separate VPC for each department and use Private Service Connect to connect the VPCs.
- C . Create a separate VPC for each application and use Private Service Connect to connect the VPCs.
- D . Create a separate VPC for each department and connect the VPCs with Cloud VPN.