exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 151 discussion

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

Your company has a support ticketing solution that uses App Engine Standard. The project that contains the App Engine application already has a Virtual Private
Cloud (VPC) network fully connected to the company's on-premises environment through a Cloud VPN tunnel. You want to enable the App Engine application to communicate with a database that is running in the company's on-premises environment. What should you do?

  • A. Configure private Google access for on-premises hosts only.
  • B. Configure private Google access.
  • C. Configure private services access.
  • D. Configure serverless VPC access.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
Roncy
Highly Voted 2 years, 3 months ago
D is right , refer to https://cloud.google.com/vpc/docs/serverless-vpc-access#use_cases
upvoted 42 times
cloudguy2
2 years, 1 month ago
D) is correct. Use case example: Your serverless environment needs to access data from your on-premises database through Cloud VPN.
upvoted 10 times
...
...
Besss
Highly Voted 2 years, 3 months ago
D. Configuring serverless VPC access App Engine can connect to the VPC and then through VPN tunnel to the on-prem DB
upvoted 18 times
...
PKKim
Most Recent 1 month, 1 week ago
The answer is D. The option B is for the other way. The option B is for the on-premise services to be able to use Google API through VPN
upvoted 3 times
...
theBestStudent
1 month, 1 week ago
Selected Answer: D
Answer is D. Here the explanation since I didn't see any good answer: 1- We have a VPC. 2- We have an onpremisses DB. 3- We have App Engine (that runs on a isolated network that does not belong to the VPC). 4- We can connect the VPC to the onpremisses network using Cloud VPN, which is the main purpose of Cloud VPN (let's say to simplify this answer). 5 - Now how we connect the AppEngine that is isolated from the VPC and needs to use "something" to reach out the onpremisses DB directly (no public ip, only private ip)? Here we will have to have somehow access to the VPC and then the VPN and then the on premisses DB. That is the serverless vpc access. 6- So flow can be something like app engine --> serverless vpc access --> cloud VPN ---> on premessises db through private ip.
upvoted 12 times
...
odacir
1 month, 1 week ago
Selected Answer: D
D: Use cases ... Your serverless environment needs to access data from your on-premises database through Cloud VPN. https://cloud.google.com/vpc/docs/serverless-vpc-access#use_cases
upvoted 1 times
...
thewalker
1 month, 2 weeks ago
Selected Answer: D
Read this article: https://cloud.google.com/vpc/docs/serverless-vpc-access That makes me conclude for D.
upvoted 1 times
...
Prakzz
2 months, 4 weeks ago
It's App Engine Standard and VPN cannot be used with Standard version
upvoted 1 times
...
RaviRS
3 months, 3 weeks ago
Selected Answer: D
That's the whole purpose of serverless google access
upvoted 1 times
...
sampon279
6 months, 1 week ago
Selected Answer: D
Private google service and private google access seem to provide same level of access: https://googlecloudarchitect.us/private-service-access-vs-google-private-access/ Based on elimination both can be eliminated. Hence D.
upvoted 1 times
...
natpilot
8 months, 2 weeks ago
D is Right . You can use a Serverless VPC Access connector to let Cloud Run, App Engine standard, and Cloud Functions environments send packets to the internal IPv4 addresses of resources in a VPC network. Serverless VPC Access also supports sending packets to other networks connected to the selected VPC network.
upvoted 3 times
...
JC0926
9 months, 2 weeks ago
Selected Answer: D
Private Google Access (option B) is used to enable VM instances in a VPC network to reach Google APIs and services using an internal IP address, but it does not allow communication to on-premises resources. Private Services Access (option C) allows you to access supported Google Cloud services through private IP addresses rather than public IP addresses, but it does not help in communicating with on-premises resources. Configuring Private Google Access for on-premises hosts only (option A) is not a valid option as this configuration is not available.
upvoted 6 times
...
Mohtasham9
10 months, 1 week ago
C. Configure private services access. To enable an App Engine application to communicate with a database running in the company's on-premises environment over a VPC network that is fully connected to the company's on-premises environment through a Cloud VPN tunnel, the recommended approach is to use Private Service Access (PSA). Therefore, the correct answer is C. Configure private services access. Private Service Access (PSA) allows you to create private connections between your VPC network and services like Cloud SQL, Cloud Storage, and other Google APIs and services. With PSA, you can access these services using their private IP addresses, which are only accessible from within your VPC network, and not over the public internet. This provides better security and reduces the risk of data exfiltration or unauthorized access.
upvoted 1 times
...
SLChief
10 months, 3 weeks ago
D is right. Configuring serverless VPC access is the option for app engine to have Google private access
upvoted 1 times
...
[Removed]
11 months ago
Selected Answer: D
You can use a Serverless VPC Access connector to let Cloud Run, App Engine standard, and Cloud Functions environments send packets to the internal IPv4 addresses of resources in a VPC network. Serverless VPC Access also supports sending packets to other networks connected to the selected VPC network. https://cloud.google.com/vpc/docs/private-access-options
upvoted 1 times
...
jay9114
11 months ago
Upvote if there was no mention of "serverless VPC access" in the training videos and study guides you used to prepare for this exam.
upvoted 9 times
...
GopeshSahu
11 months, 1 week ago
Selected Answer: B
I am surprised 95% selected option D without understanding the use case. Very basic ask AppEngine ->Private Google Access->On-Prem DB Google Private Access to so enable any Services no matter running in VPC to connect to on-prem DB via VPN tunnel. https://cloud.google.com/vpc/docs/private-google-access-hybrid https://cloud.google.com/vpc/docs/configure-private-google-access-hybrid AppEngine -> Serveless-VPV-Access -> Any GCP Resources/Services(with private IPs)
upvoted 3 times
jake_edman
11 months, 1 week ago
I still think it is D - the example you linked to for Private Google Access is to allow on-prem resources to contact Google Services, not the other way round. https://cloud.google.com/vpc/docs/private-google-access-hybrid But the example others link to explicitly says a use case is "Your serverless environment needs to access data from your on-premises database through Cloud VPN https://cloud.google.com/vpc/docs/serverless-vpc-access#use_cases
upvoted 2 times
...
gcppandit
11 months ago
Private Google Access provides access to Google Services via Private IP and this can be used to call the App Engine from On-Prem. Here the usecase is exactly the opposite. Here only option to set up the Serverless VPC access to allow Serverless components to access Private resources (including on-Prem if proper VPN is already setup)
upvoted 3 times
...
...
examch
11 months, 4 weeks ago
Selected Answer: D
D is the correct answer, Serverless VPC Access bookmark_border Serverless VPC Access makes it possible for you to connect directly to your Virtual Private Cloud network from serverless environments such as Cloud Run, App Engine, or Cloud Functions. Configuring Serverless VPC Access allows your serverless environment to send requests to your VPC network using internal DNS and internal IP addresses (as defined by RFC 1918 and RFC 6598). The responses to these requests also use your internal network. There are two main benefits to using Serverless VPC Access: Requests sent to your VPC network are never exposed to the internet. Communication through Serverless VPC Access can have less latency compared to the internet. https://cloud.google.com/vpc/docs/serverless-vpc-access#use_case
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