Google Cloud Professional Cloud Database Engineer — Question 8
You are troubleshooting a connection issue with a newly deployed Cloud SQL instance on Google Cloud. While investigating the Cloud SQL Proxy logs, you see the message Error 403: Access Not Configured. What should you do?
Answer options
- A. Check the app.yaml value cloud_sql_instances for a misspelled or incorrect instance connection name.
- B. Check whether your service account has cloudsql.instances.connect permission.
- C. Enable the Cloud SQL Admin API.
- D. Ensure that you are using an external (public) IP address interface.
Correct answer: C
Explanation
The correct answer is C, as enabling the Cloud SQL Admin API is essential for accessing Cloud SQL resources. Options A and B are related to configuration and permissions but do not address the specific issue indicated by the error message. Option D is irrelevant since the error pertains to API access, not the type of IP address used.