exam questions

Exam Professional Cloud Database Engineer All Questions

View all questions & answers for the Professional Cloud Database Engineer exam

Exam Professional Cloud Database Engineer topic 1 question 148 discussion

Actual exam question from Google's Professional Cloud Database Engineer
Question #: 148
Topic #: 1
[All Professional Cloud Database Engineer Questions]

You have a non-critical business application running on Google Kubernetes Engine (GKE) in the app-dev VPC. You have created an AlloyDB cluster with Private Service Access (PSA) and no public IP address in the db-dev VPC. You want your application to securely connect to AlloyDB in a cost-effective way. What should you do?

  • A. Set up a high availability VPN between the app-dev and db-dev VPCs. Connect the application directly to AlloyDB.
  • B. Connect by using the private IP address of the AlloyDB cluster directly from the application.
  • C. Connect by using AlloyDB Auth Proxy installed in the GKE cluster.
  • D. Install a SOCKS proxy in a VM in the db-dev VPC. Install AlloyDB Auth Proxy in your GKE cluster, and connect to the AlloyDB cluster through the SOCKS server and port.
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
syffuf
3 weeks, 5 days ago
Selected Answer: C
https://cloud.google.com/alloydb/docs/quickstart/integrate-kubernetes
upvoted 2 times
...
krop
1 month, 1 week ago
Selected Answer: B
Private Service Access (PSA) establishes a private connection between your VPC and the Google-managed service network where AlloyDB resides. This allows resources in your VPC (such as GKE pods) to communicate with AlloyDB using its private IP, without needing public IPs or VPNs
upvoted 1 times
syffuf
3 weeks, 5 days ago
But are different VPCs: PSA as created on db-dev
upvoted 2 times
krop
2 weeks, 6 days ago
To be fair, i think this question is incorrectly described here - You have 1st VPC with GKE and you have Managed Database visible in 2nd VPC with its private IP because of PSA. As you mentioned these two VPCs are not connected at all and communication won't be possible between them. I think i have to admit, option C might be the answer here.
upvoted 1 times
...
nubpirogrammer
3 weeks ago
Can you check questions from 133 to 147 questions as well
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 ...