
Ultimate access to all questions.
You are tasked with developing an Apache Beam pipeline to extract data from a Cloud SQL instance located in Project B, which lacks a public IP address, using JdbcIO. The pipeline will run on Dataflow in Project A. Neither VPC Service Controls nor shared VPC are in use across these projects. How can you ensure the pipeline connects successfully without exposing data to the public internet?
A
Enable Cloud NAT in Project A and disable external IP addresses on the Dataflow worker.
B
Configure VPC Network Peering between Project A and Project B, then add a firewall rule permitting the peered subnet range to access all network instances.
C
Authorize the external IP addresses of the Dataflow worker in the Cloud SQL instance's network settings.
D
Establish VPC Network Peering between Project A and Project B. Deploy a Compute Engine instance in Project B on the peered subnet without an external IP to act as a proxy to the Cloud SQL database.