Google Cloud Professional Cloud DevOps Engineer — Question 20
You support an application deployed on Compute Engine. The application connects to a Cloud SQL instance to store and retrieve data. After an update to the application, users report errors showing database timeout messages. The number of concurrent active users remained stable. You need to find the most probable cause of the database timeout. What should you do?
Answer options
- A. Check the serial port logs of the Compute Engine instance.
- B. Use Stackdriver Profiler to visualize the resources utilization throughout the application.
- C. Determine whether there is an increased number of connections to the Cloud SQL instance.
- D. Use Cloud Security Scanner to see whether your Cloud SQL is under a Distributed Denial of Service (DDoS) attack.
Correct answer: B
Explanation
The correct answer is B because using Stackdriver Profiler allows you to visualize resource utilization, which can help identify if the application is experiencing performance issues that lead to timeouts. Options A, C, and D are less relevant as they do not directly address the application's resource usage and its impact on database connectivity.