nerdexam
Google

PROFESSIONAL-CLOUD-NETWORK-ENGINEER · Question #104

You are the network administrator responsible for hybrid connectivity at your organization. Your developer team wants to use Cloud SQL in the us-west1 region in your Shared VPC. You configured a…

The correct answer is A. Modify the VPC Network Peering connection used for Cloud SQL, and enable the import and. When you configure Private Services Access (PSA) for Cloud SQL, Google creates a VPC Network Peering connection between your Shared VPC and Google's service producer network. By default, VPC peering does not export or import custom routes, so the IP range reserved for Cloud SQL…

Submitted by krish.m· Apr 18, 2026Configuring network services

Question

You are the network administrator responsible for hybrid connectivity at your organization. Your developer team wants to use Cloud SQL in the us-west1 region in your Shared VPC. You configured a Dedicated Interconnect connection and a Cloud Router in us-west1, and the connectivity between your Shared VPC and on-premises data center is working as expected. You just created the private services access connection required for Cloud SQL using the reserved IP address range and default settings. However, your developers cannot access the Cloud SQL instance from on-premises. You want to resolve the issue. What should you do?

Options

  • AModify the VPC Network Peering connection used for Cloud SQL, and enable the import and
  • BChange the VPC routing mode to global.
  • CCreate an additional Cloud Router in us-west2.
  • DChange the VPC routing mode to global.

How the community answered

(39 responses)
  • A
    77% (30)
  • B
    8% (3)
  • C
    3% (1)
  • D
    13% (5)

Explanation

When you configure Private Services Access (PSA) for Cloud SQL, Google creates a VPC Network Peering connection between your Shared VPC and Google's service producer network. By default, VPC peering does not export or import custom routes, so the IP range reserved for Cloud SQL (in the peered service producer network) is not advertised to your Cloud Router, and therefore not propagated to your on-premises network via the Dedicated Interconnect. The fix is to enable 'Export custom routes' and 'Import custom routes' on the PSA peering connection, which allows the Cloud Router to learn the Cloud SQL IP routes and advertise them to on-premises. Options B and D both suggest changing VPC routing mode to global, which is redundant (and identical choices - likely a typo in the question). Option C (additional Cloud Router in us-west2) is irrelevant since the Cloud SQL instance is in us-west1.

Topics

#Cloud SQL Private Services Access#VPC Network Peering#Hybrid Connectivity#Routing

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-NETWORK-ENGINEER Practice