Google Cloud Professional Cloud Developer — Question 299

Your ecommerce application has a rapidly growing user base, and it is experiencing performance issues due to excessive requests to your backend API. Your team develops and manages this API. The Cloud SQL backend database is struggling to handle the high demand, leading to latency and timeouts. You need to implement a solution that optimizes API performance and improves user experience. What should you do?

Answer options

Correct answer: A

Explanation

Option A is the best choice because using Apigee for API exposure along with Memorystore for Redis caching frequently accessed data will significantly reduce the load on the Cloud SQL database, enhancing performance. The other options either do not effectively address the database overload or rely on different mechanisms that may not optimize performance as well as caching does.