PROFESSIONAL-CLOUD-DEVELOPER · Question #373
Your team is responsible for developing multiple microservices. These microservices are deployed in Cloud Run and connected to a Cloud SQL instance. You typically conduct tests in a local environment
Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #373. The question stem and answer options stay visible for context.
Question
Your team is responsible for developing multiple microservices. These microservices are deployed in Cloud Run and connected to a Cloud SQL instance. You typically conduct tests in a local environment prior to deploying new features. However, the external IP was recently removed from your Cloud SQL instance, and you are unable to perform the tests. You need to connect to the database to conduct tests with the most updated data. You want to follow Google- recommended practices. What should you do?
Options
- AExport the data from the database to a Cloud Storage bucket. Create a database on your
- BCreate a Cloud VPN tunnel from your computer to your Google Cloud project, and connect to the
- CAdd your IP as an authorized network on the Cloud SQL instance.
- DCreate a VM in the same VPC as the Cloud SQL instance. Connect to the VM by using Identity-
Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer
You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.