PROFESSIONAL-CLOUD-DEVELOPER · Question #386
You have a Cloud Run service that connects to a Cloud SQL Enterprise edition database instance using the default Cloud SQL connection. You need to enable more than 100 connections per Cloud Run instan
The correct answer is D. Use Cloud SQL Auth Proxy in a sidecar.. Using the Cloud SQL Auth Proxy in a sidecar allows each Cloud Run instance to multiplex and manage more than 100 concurrent connections to Cloud SQL, overcoming the default connection limit imposed by the built-in Cloud SQL connector.
Question
You have a Cloud Run service that connects to a Cloud SQL Enterprise edition database instance using the default Cloud SQL connection. You need to enable more than 100 connections per Cloud Run instance. What should you do?
Options
- AIncrease the queries per minute quota limit of the Cloud SQL Admin API.
- BIncrease the max_connection flag in Cloud SQL for PostgresSQL.
- CUpgrade to Cloud SQL Enterprise Plus edition.
- DUse Cloud SQL Auth Proxy in a sidecar.
How the community answered
(26 responses)- A4% (1)
- B15% (4)
- C8% (2)
- D73% (19)
Explanation
Using the Cloud SQL Auth Proxy in a sidecar allows each Cloud Run instance to multiplex and manage more than 100 concurrent connections to Cloud SQL, overcoming the default connection limit imposed by the built-in Cloud SQL connector.
Topics
Community Discussion
No community discussion yet for this question.