You are migrating a monolithic application to a set of microservices running on GKE. One of the challenges is managing multiple databases in the most efficient way. You are considering using Cloud SQL. What should you keep in mind for the most efficient utilization?
Choose an answer
Tap an option to check your answer.
Correct answer: Use Cloud SQL Proxy for each microservice to connect to separate databases in a single Cloud SQL instance.
Why this is the answer
*Explanation:* Use Cloud SQL Proxy for each microservice to connect to separate databases in a single Cloud SQL instance. Using separate Cloud SQL instances for each microservice would be costly and hard to manage. Using a single Cloud SQL instance with separate databases may lead to resource contention. Combining Cloud SQL with Cloud Spanner would complicate the architecture. Using Cloud SQL Proxy allows secure and efficient connections to separate databases within a single Cloud SQL instance, which is a more efficient and manageable approach than sharing databases.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed