GoogleGoogle
PROFESSIONAL-CLOUD-DEVELOPER · Question #258
PROFESSIONAL-CLOUD-DEVELOPER Question #258: Real Exam Question with Answer & Explanation
The correct answer is B: Configure your Cloud Run service to use a Serverless VPC Access connector.. See the full explanation below for the reasoning.
Integrating Google Cloud services with applications
Question
You have deployed a Java application to Cloud Run. Your application requires access to a database hosted on Cloud SQL. Due to regulatory requirements, your connection to the Cloud SQL instance must use its internal IP address. How should you configure the connectivity while following Google-recommended best practices?
Options
- AConfigure your Cloud Run service with a Cloud SQL connection.
- BConfigure your Cloud Run service to use a Serverless VPC Access connector.
- CConfigure your application to use the Cloud SQL Java connector.
- DConfigure your application to connect to an instance of the Cloud SQL Auth proxy.
Topics
#Cloud Run#Cloud SQL#Private Networking#Serverless VPC Access
Community Discussion
No community discussion yet for this question.