QuestionQ249

Ensuring solution and operations excellence

You manage several internal applications deployed on Compute Engine. Business users report that an application has become very slow during the last few days. You want to identify the root cause so that you can resolve the issue. What should you do first?

  • A Inspect the logs and metrics from the instances in Cloud Logging and Cloud Monitoring.
  • B Change the Compute Engine Instances behind the application to a machine type with more CPU and memory.
  • C Restore a backup of the application database from a time before the application became slow.
  • D Deploy the applications on a managed instance group with autoscaling enabled. Add a load balancer in front of the managed instance group, and have the users connect to the IP of the load balancer.
Explanation

Cloud Logging and Cloud Monitoring provide the diagnostic evidence needed to identify whether the slowdown is caused by application errors or resource constraints such as CPU, memory, disk, or network utilization. Compute Engine guidance recommends reviewing performance metrics to diagnose performance issues; scaling resources is warranted only when the metrics show sustained resource pressure.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!