How can you ensure all traffic remains private on Google Cloud when developing an application with PostgreSQL and Cloud Run, while using managed services and adhering to Google-recommended best practices? | Google Professional Cloud Developer Quiz - LeetQuiz
Google Professional Cloud Developer
Get started today
Ultimate access to all questions.
How can you ensure all traffic remains private on Google Cloud when developing an application with PostgreSQL and Cloud Run, while using managed services and adhering to Google-recommended best practices?
Exam-Like
Last updated: December 22, 2025 at 14:04
A
Enable Cloud SQL and Cloud Run in the same project. 2. Configure a private IP address for Cloud SQL. Enable private services access. 3. Create a Serverless VPC Access connector. 4. Configure Cloud Run to use the connector to connect to Cloud SQL.
57.8%
B
Comments
Loading comments...
Install PostgreSQL on a Compute Engine virtual machine (VM), and enable Cloud Run in the same project. 2. Configure a private IP address for the VM. Enable private services access. 3. Create a Serverless VPC Access connector. 4. Configure Cloud Run to use the connector to connect to the VM hosting PostgreSQL.
17.8%
C
Use Cloud SQL and Cloud Run in different projects. 2. Configure a private IP address for Cloud SQL. Enable private services access. 3. Create a Serverless VPC Access connector. 4. Set up a VPN connection between the two projects. Configure Cloud Run to use the connector to connect to Cloud SQL.
11.1%
D
Install PostgreSQL on a Compute Engine VM, and enable Cloud Run in different projects. 2. Configure a private IP address for the VM. Enable private services access. 3. Create a Serverless VPC Access connector. 4. Set up a VPN connection between the two projects. Configure Cloud Run to use the connector to access the VM hosting PostgreSQL