You are planning to migrate a MySQL database to the managed Cloud SQL database for Google Cloud. You have Compute Engine virtual machine instances that will connect with this Cloud SQL instance. You do not want to whitelist IPs for the Compute Engine instances to be able to access Cloud SQL. What should you do?
A) Enable private IP for the Cloud SQL instance.
B) Whitelist a project to access Cloud SQL, and add Compute Engine instances in the whitelisted project.
C) Create a role in Cloud SQL that allows access to the database from external instances, and assign the Compute Engine instances to that role.
D) Create a CloudSQL instance on one project. Create Compute engine instances in a different project. Create a VPN between these two projects to allow internal access to CloudSQL.
Correct Answer:
Verified
Q16: You are deploying your application to a
Q17: You are deploying your application to a
Q18: You have deployed an HTTP(s) Load Balancer
Q19: You want to notify on-call engineers about
Q20: Your application takes an input from a
Q22: Your company is planning to migrate their
Q23: You are working on a social media
Q24: Your company has a BigQuery data mart
Q25: You are using Cloud Build to build
Q26: Case Study Company Overview HipLocal is a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents