professional-cloud-data-engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
An enterprise data engineering team is establishing a private, cross-VPC data ingestion pipeline to transfer sensitive analytical workloads into a managed database. To prevent overlapping IP space issues and strictly isolate tenant networks, the architecture requires exposing the database backend to consumer VPCs using a Private Service Connect (PSC) service attachment behind an internal forwarding rule.
Which configuration must you implement in the producer VPC network to enable secure connectivity and permit traffic from the PSC service attachment to the target backend instance?
Private Service Connect (PSC) allows service producers to expose services privately to consumers across VPC boundaries. When exposing a service via a Service Attachment, the producer VPC requires a dedicated subnetwork specifically allocated with the purpose PRIVATE_SERVICE_CONNECT. This subnetwork acts as a Source Network Address Translation (SNAT) IP pool, translating incoming consumer IP addresses into IP addresses from this designated subnet before packets reach the target instance or internal load balancer.
purpose = "PRIVATE_SERVICE_CONNECT" reserves a pool of internal IP addresses that Google Cloud uses strictly to perform source address translation on incoming consumer requests.This is the standard, architecturally required mechanism in Google Cloud networking for configuring published Private Service Connect services. It eliminates IP routing entanglements while enforcing least-privilege ingress filtering via native VPC firewall rules.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.