nerdexam
Google

PROFESSIONAL-CLOUD-SECURITY-ENGINEER · Question #349

Your organization is implementing a new Python application that will be deployed on Cloud Run. The application needs to connect to a MySQL database that runs on Cloud SQL in a different project in…

The correct answer is B. Ensure that the Cloud SQL instance doesn't have a public IP address. Configure Cloud Run to use. Using Cloud SQL Auth Proxy with Cloud Run provides a secure, managed, and simple way to connect to a Cloud SQL instance without exposing a public IP address. It handles authentication and encryption transparently, reducing management overhead while ensuring secure connectivity…

Submitted by anjalisingh· Apr 18, 2026Configuring access within a cloud solution environment

Question

Your organization is implementing a new Python application that will be deployed on Cloud Run. The application needs to connect to a MySQL database that runs on Cloud SQL in a different project in your Google Cloud organization. You must secure the connection from the application to the Cloud SQL instance while minimizing management overhead. What should you do?

Options

  • AUse a public IP address for the Cloud SQL instance. Integrate the Cloud SQL Python Connector
  • BEnsure that the Cloud SQL instance doesn't have a public IP address. Configure Cloud Run to use
  • CEnsure that the Cloud SQL instance doesn't have a public IP address. Enforce SSL/TLS. Require
  • DEnsure that the Cloud SQL instance doesn't have a public IP address. Configure the application's

How the community answered

(19 responses)
  • A
    5% (1)
  • B
    79% (15)
  • C
    5% (1)
  • D
    11% (2)

Explanation

Using Cloud SQL Auth Proxy with Cloud Run provides a secure, managed, and simple way to connect to a Cloud SQL instance without exposing a public IP address. It handles authentication and encryption transparently, reducing management overhead while ensuring secure connectivity across projects.

Topics

#Cloud Run connectivity#Cloud SQL private IP#Serverless VPC Access#Secure database connectivity

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-SECURITY-ENGINEER Practice