Google Professional Cloud DevOps Engineer

Google Professional Cloud DevOps Engineer

Get started today

Ultimate access to all questions.


An application running on Compute Engine connects to a Cloud SQL instance for data storage. Following a recent update, users are experiencing database timeout errors despite stable concurrent user counts. As the DevOps engineer, how would you identify the most likely cause of these timeouts?




Explanation:

The most probable cause of database timeout messages after an application update, with a stable number of concurrent active users, is likely related to changes in how the application manages database connections or queries. Option C is the most relevant because an increased number of connections to the Cloud SQL instance, possibly due to inefficient connection handling or query execution in the updated application, could lead to timeouts. Options A and D are less likely because serial port logs (A) are more for system-level issues and Cloud Security Scanner (D) is for identifying security vulnerabilities, not performance issues. Option B, using Stackdriver Profiler, could help identify resource utilization issues but is more general and not as directly related to database timeouts as option C.