Professional Cloud DevOps Engineer
Your company’s primary ecommerce application, running on Google Kubernetes Engine (GKE), is experiencing intermittent periods of high response latency. Users have reported that the checkout process is sometimes very slow. You need to identify the root cause of this performance degradation. What should you do?
- A. Increase the number of replicas for the application’s GKE deployment and enable Horizontal Pod Autoscaling.
- B. In Cloud Logging, create a logs-based metric that counts slow requests. Set up a Cloud Monitoring alert to be notified when the count exceeds a certain threshold.
- C. Review the deployment history in Cloud Deploy, and roll back to a previous version of the application to see if the issue is resolved.
- D. Use Cloud Trace to analyze the distributed traces of the checkout process. Examine the trace waterfalls to identify which service or operation is introducing the most latency.