# Professional-Cloud-Database-Engineer — Question 424

**Type:** multiple_choice
**Topics:** topic_1

## Question

You are developing a new application on a VM that is on your corporate network. The application will use Java Database Connectivity (JDBC) to connect to Cloud SQL for PostgreSQL. Your Cloud SQL instance is configured with IP address 192.168.3.48, and SSL is disabled. You want to ensure that your application can access your database instance without requiring configuration changes to your database. What should you do?

## Correct Answer

_See scenario._

## Explanation

Option B is the best choice.

By using the internal (private) IP address of the Cloud SQL instance, the traffic will stay within the corporate network and will not traverse the public internet. This will help to ensure that the traffic is secure and cannot be intercepted by unauthorized parties. Additionally, using the internal IP address does not require any additional configuration changes to the database instance.

Option A is not recommended as it requires exposing the database instance's external (public) IP address, which can be less secure and may require additional firewall rules.

Option C is a valid option if SSL is enabled on the Cloud SQL instance, but since SSL is disabled in this scenario, this option is not suitable.

Option D is not recommended as it requires exposing the database instance's external (public) IP address, which can be less secure and may require additional firewall rules.

**Reference:** examtopics_top_comment

---
Source: https://hiexam.net/q/google/Professional-Cloud-Database-Engineer/424  
Practice (tracked): https://hiexam.net/study/Professional-Cloud-Database-Engineer/practice