PROFESSIONAL-CLOUD-DEVELOPER · Question #317
PROFESSIONAL-CLOUD-DEVELOPER Question #317: Real Exam Question with Answer & Explanation
The correct answer is B: Download and install the Cloud SQL Auth Proxy to your local development environment.. https://cloud.google.com/sql/docs/postgres/connect-app-engine-standard
Question
You are using Cloud Run and Cloud SQL for PostgreSQL to develop an application. You want to test your application code locally before deploying new application versions to the development environment that is shared with other developers. You need to set up your Cloud Run local development environment to test your application while keeping all traffic to Cloud SQL instances encrypted and authenticated to Cloud IAM and PostgreSQL. What should you do before starting the local development server?
Options
- AInstall PostgreSQL on your local workstation. Run a local PostgreSQL database on your
- BDownload and install the Cloud SQL Auth Proxy to your local development environment.
- CDeploy a Compute Engine instance, and install HAProxy on the instance. Configure Cloud SQL
- DConfigure your local development server to connect to the private IP address of the Cloud SQL
Explanation
https://cloud.google.com/sql/docs/postgres/connect-app-engine-standard
Topics
Community Discussion
No community discussion yet for this question.