nerdexam
Google

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.

Integrating Google Cloud Services

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)
  • A
    4% (1)
  • B
    15% (4)
  • C
    8% (2)
  • D
    73% (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

#Cloud Run#Cloud SQL#Database Connectivity#Connection Management

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER Practice