exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 366 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 366
Topic #: 1
[All Professional Cloud Developer Questions]

You are developing an application that needs to connect to a Cloud SQL for PostgreSQL database by using the Cloud SQL Auth Proxy. The Cloud SQL Auth Proxy is hosted in a different Google Cloud VPC network. The Cloud SQL for PostgreSQL instance has public and private IP addresses. You are required to use the private IP for security reasons. When testing the connection to the Cloud SQL instance, you can connect by using the public IP address, but you are unable to connect by using the private IP address. How should you fix this issue?

  • A. Run the Cloud SQL Auth Proxy as a background service.
  • B. Add the --private-ip option when starting the Cloud SQL Auth Proxy.
  • C. Set up VPC Network Peering between your VPC and the VPC where the Cloud SQL instance is deployed.
  • D. Grant yourself the IAM role that provides access to the Cloud SQL instance.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Sai_Vignesh
1 day, 17 hours ago
Selected Answer: C
My best guess is C right now, but I need to study this area more.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...