Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Data Engineer Exam - Topic 4 Question 109 Discussion

Posted by Elroy on Jul 06, 2025 at 05:33 PM

You need to connect multiple applications with dynamic public IP addresses to a Cloud SQL instance. You configured users with strong passwords and enforced the SSL connection to your Cloud SOL instance. You want to use Cloud SQL public IP and ensure that you have secured connections. What should you do?

Suggested Answer: C

To securely connect multiple applications with dynamic public IP addresses to a Cloud SQL instance using public IP, the Cloud SQL Auth proxy is the best solution. This proxy provides secure, authorized connections to Cloud SQL instances without the need to configure authorized networks or deal with IP whitelisting complexities.

Cloud SQL Auth Proxy:

The Cloud SQL Auth proxy provides secure, encrypted connections to Cloud SQL.

It uses IAM permissions and SSL to authenticate and encrypt the connection, ensuring data security in transit.

By using the proxy, you avoid the need to constantly update authorized networks as the proxy handles dynamic IP addresses seamlessly.

Authorized Network Configuration:

Leaving the authorized network empty means no IP addresses are explicitly whitelisted, relying solely on the Auth proxy for secure connections.

This approach simplifies network management and enhances security by not exposing the Cloud SQL instance to public IP ranges.

Dynamic IP Handling:

Applications with dynamic IP addresses can securely connect through the proxy without the need to modify authorized networks.

The proxy authenticates connections using IAM, making it ideal for environments where application IPs change frequently.

Google Data Engineer Reference:

Using Cloud SQL Auth Proxy

Cloud SQL Security Overview

Setting up the Cloud SQL Auth Proxy

By using the Cloud SQL Auth proxy, you ensure secure, authorized connections for applications with dynamic public IPs without the need for complex network configurations.


Get Premium Professional Data Engineer Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
29 comments · newest first
NO
Noe 10 months ago
I think B is a bad idea, too open!
LE
Lenna 10 months ago
C sounds safer, but is it practical?
JO
Johanna 11 months ago
Totally agree, A keeps it tight!
VA
Vallie 11 months ago
Wait, is 0.0.0.0/0 really that risky?
LE
Leanora 11 months ago
A is the best option for security.
RI
Ricki 11 months ago
I feel like leaving the Authorized Network empty and using the Cloud SQL Auth proxy could be the safest bet, but I need to double-check that.
SA
Sang 11 months ago
Adding CIDR 0.0.0.0/0 seems risky, but I can't recall if it was mentioned as a possible option in our notes.
TA
Tammi 12 months ago
I think we practiced a similar question where using the Cloud SQL Auth proxy was emphasized for security. That might be the right choice here.
NG
Ngoc 12 months ago
I remember we discussed the importance of securing connections, but I'm not sure if adding all application networks is the best approach.
ED
Edelmira 1 year ago
I'm leaning towards Option D - using the Cloud SQL Auth proxy seems like a good way to secure the connections without having to manage individual network authorizations.
LA
Lashawn 1 year ago
Option A sounds like the most secure approach, as it allows me to control access to the Cloud SQL instance by explicitly authorizing each application network.
CH
Cheryl 1 year ago
Hmm, I'm a bit unsure about this one. I'll need to carefully review the details and think through the security implications of each option.
SH
Shalon 1 year ago
This question seems straightforward, but I want to make sure I understand the key requirements correctly before selecting an answer.
HE
Herman 1 year ago
Cloud SQL Auth proxy all the way! Option C is the most elegant solution in my opinion. Keep it simple and secure.
SH
Shay 1 year ago
↳ replying to Herman
I agree, using Cloud SQL Auth proxy is the best way to ensure secure connections.
AL
Alpha 1 year ago
Haha, option B is like letting a herd of elephants into your house. Not a great idea, even with IAM controls.
MA
Magdalene 1 year ago
↳ replying to Alpha
B) Yeah, option B sounds risky. Better to stick with A.
VI
Victor 1 year ago
↳ replying to Alpha
A) Add all application networks to Authorized Network and regularly update them.
MA
Marg 1 year ago
I agree with Fidelia, using Cloud SQL Auth proxy on all applications seems like a secure choice.
FI
Fidelia 1 year ago
I think leaving the Authorized Network empty and using Cloud SQL Auth proxy is the best option.
MA
Maricela 1 year ago
I disagree, I believe we should add CIDR 0.0.0.0/0 network to Authorized Network.
OL
Ollie 1 year ago
Option D seems like a good compromise. Using the Cloud SQL Auth proxy ensures secure connections while still allowing flexibility with the authorized network.
RO
Rosalind 1 year ago
↳ replying to Ollie
I agree, it's important to prioritize security while also maintaining flexibility for the applications to connect.
BR
Brett 1 year ago
↳ replying to Ollie
Option D seems like a good compromise. Using the Cloud SQL Auth proxy ensures secure connections while still allowing flexibility with the authorized network.
KI
Kiley 1 year ago
I think option A is the way to go. It's the most secure approach, and regularly updating the authorized networks is a good practice.
GR
Gregoria 1 year ago
↳ replying to Kiley
Regularly updating them will help maintain secure connections.
WE
Wenona 1 year ago
↳ replying to Kiley
Adding all application networks to Authorized Network is a good practice.
GL
Glory 1 year ago
↳ replying to Kiley
I agree, option A is the most secure choice.
SA
Sage 1 year ago
I think we should add all application networks to Authorized Network.
0/2000 characters

Save Cancel