Topic 1 Question 361
You are responsible for developing a new ecommerce application that is running on Cloud Run. You need to connect your application to a Cloud SQL database that is in a separate project. This project is on an isolated network dedicated to multiple databases without a public IP. You need to connect your application to this database. What should you do?
Create a Private Service Connect endpoint on your network. Create a Serverless VPC Access connector on your project. Use Cloud SQL Language Connectors to create an internal connection.
Configure VPC Network Peering between both networks. In Cloud Run, create a Cloud SQL connection that uses the internal IP. Use Cloud SQL Language Connectors to interact with the database.
Configure private services access on your project. In Cloud Run, create a Cloud SQL connection. Use Cloud SQL Language Connectors to interact with the database.
Create a subnet on your VPC. Create a Serverless VPC Access connector on your project using the new subnet. In Cloud Run, create a Cloud SQL connection. Use Cloud SQL Language Connectors to interact with the database.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: D
The answer should be D
👍 2jeetajit022025/01/11 - 正解だと思う選択肢: A
VPC Serverless access connector is needed so that Cloud Run can reach the VPC. Without configuring either PSA or PSC, your Cloud Run service will not be able to reach the Cloud SQL instance because there will be no network path between them.
👍 1jlr19732025/01/14 - 正解だと思う選択肢: D
I see D as a more comprehensive solution than A
👍 109bd94b2025/03/06
シャッフルモード