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 321 discussion

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

Your team plans to use AlloyDB as their database backend for an upcoming application release. Your application is currently hosted in a different project and network than the AlloyDB instances. You need to securely connect your application to the AlloyDB instance while keeping the projects isolated. You want to minimize additional operations and follow Google-recommended practices. How should you configure the network for database connectivity?

  • A. Provision a Shared VPC project where both the application project and the AlloyDB project are service projects.
  • B. Use AlloyDB Auth Proxy and configure the application project’s firewall to allow connections to port 5433.
  • C. Provision a service account from the AlloyDB project. Use this service account’s JSON key file as the --credentials-file to connect to the AlloyDB instance.
  • D. Ask the database team to provision AlloyDB databases in the same project and network as the application.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
jlr1973
1 day ago
Selected Answer: A
Shared VPC provides the basic network connectivity by allowing resources in different projects to share a common VPC. However, either PSA or PSC is additionally required to enable access to the AlloyDB service, which resides in Google's internal service network
upvoted 1 times
...
anshad666
3 months ago
Selected Answer: B
he best option for securely connecting your application to the AlloyDB instance while keeping the projects isolated, following Google-recommended practices, and minimizing additional operations is Option B: Use AlloyDB Auth Proxy and configure the application project’s firewall to allow connections to port 5433.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago