
Answer-first summary for fast verification
Answer: Leave the Authorized Network empty. Use Cloud SQL Auth proxy on all applications.
Using the Cloud SQL Auth proxy is the recommended method for secure connections, especially when dealing with dynamic IP addresses. The Auth proxy provides secure access to your Cloud SQL instance without the need for Authorized Networks or managing IP addresses. It works by encapsulating database traffic and forwarding it through a secure tunnel, using Google's IAM for authentication. Leaving the Authorized Networks empty means you're not allowing any direct connections based on IP addresses, relying entirely on the Auth proxy for secure connectivity. This is a secure and flexible solution, specifically designed for applications with dynamic IPs.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In order to connect various applications that have dynamic public IP addresses to a Cloud SQL instance, you have ensured that users are configured with strong passwords and SSL connections are enforced to your Cloud SQL instance. You intend to use the Cloud SQL public IP while ensuring that the connections remain secure. What steps should you take to achieve this?
A
Add CIDR 0.0.0.0/0 network to Authorized Network. Use Identity and Access Management (IAM) to add users.
B
Add all application networks to Authorized Network and regularly update them.
C
Leave the Authorized Network empty. Use Cloud SQL Auth proxy on all applications.
D
Add CIDR 0.0.0.0/0 network to Authorized Network. Use Cloud SQL Auth proxy on all applications.
No comments yet.