Google Cloud Professional Cloud Architect — Question 245
You are managing several internal applications that are deployed on Compute Engine. Business users inform you that an application has become very slow over the past few days. You want to find the underlying cause in order to solve the problem. What should you do first?
Answer options
- 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.
Correct answer: A
Explanation
The best initial step is to inspect the logs and metrics in Cloud Logging and Cloud Monitoring, as this will provide insights into performance issues and help identify the cause of the slowdown. Simply changing machine types (B), restoring backups (C), or deploying autoscaling (D) may not address the root cause without first analyzing the current performance data.